[FFmpeg-user] About the command -vcodec

Carl Eugen Hoyos cehoyos at ag.or.at
Sun Sep 15 21:14:08 CEST 2013

Werner Robitza <werner.robitza <at> gmail.com> writes:

> On Sun, Sep 15, 2013 at 5:59 PM, 陈立 wrote:
> > How did ffmpeg decode it with the parameter "rawvideo"?
> Not knowing too much about the internals, I'll keep this 
> abstract and say:
> * it just reads the file byte-by-byte
> * it parses the Y, U and V components from there. You 
> can see how the bytes in a YUV file can be composed 
> here: http://fourcc.org/yuv.php

While your explanation is very helpful (obviously much 
better than what I would have written) please note 
that fourcc.org is strongly avi-related (and may be 
outdated in some details) while FFmpeg supports many 
other containers among them nut which supports all 
(?) pix_fmts present in FFmpeg.

Carl Eugen

More information about the ffmpeg-user mailing list