[FFmpeg-devel] [PATCH] avdevice/v4l2enc: Allow writing non-rawvideos to v4l2

David Manouchehri david.manouchehri at riseup.net
Sun Apr 26 21:08:03 EEST 2020


This patch allows you to output non-rawvideos to V4L2, which can be quite
helpful at times when you'd like to offer a compressed source (see example
usage below).

ffmpeg -vaapi_device /dev/dri/renderD129 -f v4l2 -input_format yuyv422 -i
/dev/video2 -f v4l2 -vf 'format=nv12,hwupload' -c:v h264_vaapi /dev/video4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-avdevice-v4l2enc-Allow-writing-h264-to-v4l2.patch
Type: text/x-patch
Size: 1472 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200426/10f99723/attachment.bin>


More information about the ffmpeg-devel mailing list