[FFmpeg-user] How to correct Windows cmd line to fix - "Incompatible pixel format 'bgra' for codec 'mpeg2video', auto-selecting format 'yuv420p' " ?

Stefano Sabatini stefano.sabatini-lala at poste.it
Thu Jun 9 00:14:08 CEST 2011


On date Wednesday 2011-06-08 10:14:57 -0400, M el encoded:
> How to correct this Windows Command Line...
> 
> C:\Documents and Settings\All Users\Documents\My
> Videos\Originals>c:\utilities\ffmpeg\ffmpeg -i video1.avi -vcodec
> mpeg2video -b 400k -s 620x480 -aspect 4:3 -acodec mp2 -ab 128k -ar
> 22050 -f mpegts video1.mpg
> 
> To avoid this error message?
> 
> "Incompatible pixel format 'bgra' for codec 'mpeg2video',
> auto-selecting format 'yuv420p'

It's not an error, it's an informatio, it's telling that it's
converting the input pixel format, to match one of the formats
accepted by the mpeg2video encoder.

> Thanks for any help.
-- 
ffmpeg-user random tip #4
ffmpeg -i FILE
prints information about the container format and the streams in a file.


More information about the ffmpeg-user mailing list