[Ffmpeg-devel] [PATCH] set pix_fmt for video grabbing devices
Thu Jan 26 20:38:32 CET 2006
On Thu, 26 Jan 2006 16:42:36 +0100
Luca Abeni <lucabe72 at email.it> wrote:
> when doing some experiments for testing my new v4l2 code, I noticed that
> ffmpeg forgets to set AVFormatParameters::pix_fmt when capturing from a
> v4l card.
> In other words, if you type
> ffmpeg -pix_fmt yuv422 -s 352x288 test.avi
> the "-pix_fmt yuv422" option will have no effect.
> The attached patch fixes the problem.
More information about the ffmpeg-devel