Opened 6 months ago
Last modified 5 months ago
#10060 new defect
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 , 6 months ago
|Component:||undetermined → avcodec|
|Keywords:||h264 added; H.264 Raspberry Pi Pi4 Docker Frigate Container hwaccel removed|
|Priority:||important → normal|
comment:2 by , 6 months ago
comment:3 by , 6 months ago
comment:4 by , 6 months ago
comment:5 by , 5 months ago
I am also experiencing this issue.
comment:6 by , 5 months ago
Just updated the kernel to 5.15.76-v8+ and also experience this with ffmpeg 4.3.5 on a Raspberry PI 4
Also experiencing this issue.