[Ffmpeg-devel] [PATCH] set pix_fmt for video grabbing devices

Michael Niedermayer michaelni
Thu Jan 26 18:11:51 CET 2006


Hi

On Thu, Jan 26, 2006 at 04:42:36PM +0100, Luca Abeni wrote:
> Hello,
> 
> 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.

looks ok

[...]

-- 
Michael





More information about the ffmpeg-devel mailing list