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

Roberto Togni r_togni
Thu Jan 26 20:38:32 CET 2006

On Thu, 26 Jan 2006 16:42:36 +0100
Luca Abeni <lucabe72 at email.it> 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.

Applied, thanks


More information about the ffmpeg-devel mailing list