accelerated decoding not working on Raspberry Pi with newer kernels
|Reported by:||Jeremy Herbison||Owned by:|
|Blocking:||Reproduced by developer:||no|
|Analyzed by developer:||no|
Summary of the bug:
As of kernel 5.15.61+, HW accelerated decoding of H.264 via the h264_v4l2m2m option no longer returns frames (software decoding works fine) There is a patch at https://github.com/jc-kynesim/rpi-ffmpeg/commits/test/4.3.4/rpi_main but it doesn't target the latest versions, and the author appears to be AWOL after having promised to submit it upstream.
This issue was identified on the Frigate project, as running Frigate on a Raspberry Pi 4 is quite a common use case. I've confirmed the patched 4.3.4 version resolves the issue, but a proper fix requires this to be merged upstream.
Change History (6)
comment:1 by , 13 months ago
|Component:||undetermined → avcodec|
|Keywords:||h264 added; H.264 Raspberry Pi Pi4 Docker Frigate Container hwaccel removed|
|Priority:||important → normal|