[Ffmpeg-devel] failed to convert YUV to avi

Måns Rullgård mru
Mon Aug 1 17:06:37 CEST 2005

Alex said:
> 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

The order of the command line arguments is wrong.  For raw video, a size (-s)
needs to be supplied before the -i argument.  Size arguments after the input
file request scaling of the video.

M?ns Rullg?rd
mru at inprovide.com

More information about the ffmpeg-devel mailing list