Opened 2 years ago
Last modified 23 months ago
#10060 new defect
accelerated decoding not working on Raspberry Pi with newer kernels
Reported by: | Jeremy Herbison | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avcodec |
Version: | unspecified | Keywords: | h264 v4l2m2m |
Cc: | erahhal | Blocked By: | |
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
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 , 2 years ago
Component: | undetermined → avcodec |
---|---|
Keywords: | h264 added; H.264 Raspberry Pi Pi4 Docker Frigate Container hwaccel removed |
Priority: | important → normal |
comment:2 by , 2 years ago
Keywords: | v4l2m2m added |
---|
comment:3 by , 2 years ago
comment:4 by , 2 years ago
Cc: | added |
---|
comment:6 by , 23 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.