[Ffmpeg-devel] failed to convert YUV to avi

Michel Bardiaux mbardiaux
Mon Aug 1 17:00:08 CEST 2005


Alex wrote:
> Could you tell me what's wrong?
> 
> Thanks.
> 
> 
> ffmpeg -i PI.yuv -s 176x144  abc.avi              
>  ffmpeg version CVS, build 4759, Copyright (c) 2000-2004 Fabrice Bellard
>   configuration:  --enable-faac --enable-amr_nb --enable-shared
> --disable-ffplay --disable-ffserver --enable-mp3lame --enable-a52
> --enable-gpl
>   built on Jul 20 2005 12:20:30, gcc: 3.3.5 (Debian 1:3.3.5-13)
> picture size invalid (0x0)
> PI.yuv: could not find codec parameters
> 

Since it describes the input file, the -s must be *before* the -i.

-- 
Michel Bardiaux
R&D Director
MediaXim S.A.  Bd. du Souverain, 191  B-1160 Bruxelles
Tel : +32 2 790.29.41





More information about the ffmpeg-devel mailing list