[FFmpeg-user] Transcoding (dvvideo -> libx264) --> not video, only gray

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Apr 13 09:54:08 CEST 2012

Iban Garcia <ibantxo28 <at> gmail.com> writes:

> But all tests from dvvideo to libx264 makes all frames in gray 
> (all pixels are gray in each frame)

Using ffplay (or ffmpeg -i kkk.mp4 out.avi) or another application?

> x264 0.122.x
> built on Apr 12 2012, gcc: 4.5.1 20101208 [gcc-4_5-branch revision 167585]
> configuration: --bit-depth=8 --chroma-format=all

Since you did not restrict the x264 chroma formats, ...

> Incompatible pixel format 'yuv411p' for codec 'libx264', 
> auto-selecting format 'yuv422p'

... yuv422p was chosen.
Add -pix_fmt yuv420p to your command line.

Carl Eugen

More information about the ffmpeg-user mailing list