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

2020-04-26 Thread David Manouchehri
Thanks for catching that bug! I tested rawvideo again this time, and it works as expected with this new patch. From d125fea410dea1c2d4bd791a7472a72822de54a3 Mon Sep 17 00:00:00 2001 From: David Manouchehri Date: Sat, 4 Nov 2017 16:32:41 -0400 Subject: [PATCH] avdevice/v4l2enc: Allow writing non-ra

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

2020-04-26 Thread Mark Thompson
On 26/04/2020 19:08, David Manouchehri wrote: > 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 > /de

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

2020-04-26 Thread David Manouchehri
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_vaap