[Ffmpeg-devel] Raw YUV video
Thu Feb 23 07:00:50 CET 2006
What is the different between yuv420p and yuv420? what is the 'p'
stand for? Are there any reference on pixel format spec?
If i want to use RGB pix_fmt , how could i set in ffmpeg?
Dan Maas wrote:
>> How could i use ffmpeg to product raw yuv video from/to mpeg video?
>>does the "-vcodec rawvideo" setting product yuv420 frame or RGB? Also
>>how could i set ffmpeg to use raw file format?
>ffmpeg recognizes the file extension ".yuv" as raw YUV (8-bit planar
>Y'CbCr). You shouldn't need to specify "rawvideo", just give it a
>filename with the ".yuv" extension.
>If you are using .yuv as input, then you'll need to specify the frame
>size and pixel format (e.g. -s 720x576 -pix_fmt yuv420p). If you are
>using .yuv as output, the format will match the input codec as closely
>as possible. (e.g., MPEG-2 will produce yuv420p, NTSC DV25 will
>produce yuv411p, etc).
>ffmpeg-devel mailing list
>ffmpeg-devel at mplayerhq.hu
Direct: (852) 2952 7125
More information about the ffmpeg-devel