[FFmpeg-user] Trouble encoding h.264

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Mar 22 14:37:24 CET 2012

Langdon <langdon <at> gmail.com> writes:

>     Stream #1:0: Video: rawvideo (Y42B / 0x42323459), yuv422p

Your input is yuv422p, you do not specify another colourspace,

>     Stream #0:0: Video: h264 (H264 / 0x34363248), yuv422p

libx264 was compiled with yuv422p support, 
so ffmpeg encodes to h264 4:2:2 which is not supported 
by most playback applications.

Add -pix_fmt yuv420p.

Carl Eugen

More information about the ffmpeg-user mailing list