raspberrypi / bookworm-feedback

13 stars 1 forks source link

ffmpeg: support live-streaming hardware accelerated H.264 #285

Open marcusb opened 4 months ago

marcusb commented 4 months ago

On the Raspberry Pi 4, the v4l2-m2m accelerated H.264 encoder cannot be used in "live streaming" mode with ffmpeg, since it doesn't include SPS/PPS headers inline. Clients joining a stream after it has started can therefore not decode it.

This patch for ffmpeg fixes it: https://github.com/RPi-Distro/ffmpeg/pull/10