[FFmpeg-user] Option video_size

Tom snthdiueoa at gmail.com
Sun Sep 11 20:14:32 CEST 2011


Hi,

So I changed "-s" to "--video_size" and got this error now:

$ ffmpeg --video_size 720x576 -i media.flv --video_size 640x512 -b
8000K -an -r 25
 -vframes 30 media/640x480x25/build%d.jpg

ffmpeg version git-Sat Sep 10 05:24:39 2011 +0200-b10ba11, Copyright
(c) 2000-2011 the FFmpeg developers
  built on Sep 10 2011 08:00:13 with gcc 4.2.4 (Ubuntu 4.2.4-1ubuntu4)
  configuration: --enable-gpl --enable-version3 --enable-nonfree
--enable-postproc --enable-libfaac --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora
--enable-libvorbis --enable-libxvid --enable-x11grab --enable-pthreads
  libavutil    51. 16. 0 / 51. 16. 0
  libavcodec   53. 13. 0 / 53. 13. 0
  libavformat  53. 12. 0 / 53. 12. 0
  libavdevice  53.  3. 0 / 53.  3. 0
  libavfilter   2. 39. 0 /  2. 39. 0
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  51.  2. 0 / 51.  2. 0
Unrecognized option '-video_size'
Failed to set value '720x576' for option '-video_size'

So first a complaint about not knowing "-video_size", and then a
complaint about it being a wrong value.
What am i doing wrong?

Cheers,
  Tom

On Sun, Sep 11, 2011 at 11:57 AM, Etienne Buira
<etienne.buira.lists at free.fr> wrote:
> On Sun, Sep 11, 2011 at 11:36:06AM +0200, Tom wrote:
>> Hi,
>>
>> I'm running the latest ffmpeg (built this weekend from git), and got
>> this error when trying to transform an flv to a set of jpegs:
>>
>> $ ffmpeg -s 720x576 -i media.flv -s 640x512 -b 8000K -an -r 25
>> -vframes 30 media/640x480x25/build%d.jpg
>>
>> ffmpeg version git-Sat Sep 10 05:24:39 2011 +0200-b10ba11, Copyright
>> (c) 2000-2011 the FFmpeg developers
>>   built on Sep 10 2011 08:00:13 with gcc 4.2.4 (Ubuntu 4.2.4-1ubuntu4)
>>   configuration: --enable-gpl --enable-version3 --enable-nonfree
>> --enable-postproc --enable-libfaac --enable-libopencore-amrnb
>> --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora
>> --enable-libvorbis --enable-libxvid --enable-x11grab --enable-pthreads
>>   libavutil    51. 16. 0 / 51. 16. 0
>>   libavcodec   53. 13. 0 / 53. 13. 0
>>   libavformat  53. 12. 0 / 53. 12. 0
>>   libavdevice  53.  3. 0 / 53.  3. 0
>>   libavfilter   2. 39. 0 /  2. 39. 0
>>   libswscale    2.  1. 0 /  2.  1. 0
>>   libpostproc  51.  2. 0 / 51.  2. 0
>> Option video_size not found.
>>
>>
>> I've googled, but option video_size is apparently quite unknown on the
>> documentation page..
>>
>> Can someone help?
>
> Hi.
>
> It's a string describing frame size (instead of -s before -i). And true,
> not in doc, but present in ffmpeg -h.
>
> Regards.
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list