[FFmpeg-user] Format of YUV files

Carl Eugen Hoyos cehoyos at ag.or.at
Sat Apr 5 13:25:38 CEST 2014

Carl Eugen Hoyos <cehoyos <at> ag.or.at> writes:

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

The option "-f image2" should not be necessary anymore with 
current FFmpeg git head.
(The option "-pix_fmt" is only necessary if you 
want to change it wrt to the colour space of the 
input file.)

Carl Eugen

More information about the ffmpeg-user mailing list