[FFmpeg-user] Format of YUV files

Peter Vince peter_vince at yahoo.co.uk
Fri Apr 4 11:29:25 CEST 2014

Terrific - thanks Carl!


----- Original Message -----
From: Carl Eugen Hoyos <cehoyos at ag.or.at>
To: ffmpeg-user at ffmpeg.org
Sent: Friday, 4 April 2014, 0:19
Subject: Re: [FFmpeg-user] Format of YUV files

Peter Vince <peter_vince <at> yahoo.co.uk> writes:

> Are there any sample files anywhere?

$ ffmpeg -i singleimage -f image2 -pix_fmt yuv420p out.Y
$ ffmpeg -i videostream -f image2 -pix_fmt yuv420p out%4d.Y

You can use other pix_fmts like yuv422p.

Carl Eugen

ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org

More information about the ffmpeg-user mailing list