[FFmpeg-user] Make ffmpeg use of VDPAU

Tobias Kilb tobiaskilb at gmail.com
Wed Apr 8 15:44:01 EEST 2020


I struggled a little bit about hw accelerated decoding of a raw h264
stream from an raspberry pi. I now have the solution, if someone is
interested in building a network webcam:

ffmpeg -f h264 -hwaccel vdpau -i tcp://goldeneye:5000 -f v4l2 -pix_fmt
yuv420p /dev/video0

It reads a raw h264 stream from a tcp server and hw decodes the data
to a v4l2loopback device.


More information about the ffmpeg-user mailing list