[FFmpeg-user] latest ffmpeg fails to understand old parameters

j.bakshi at unlimitedmail.org j.bakshi at unlimitedmail.org
Wed Jan 15 06:34:05 CET 2014




Hello list,

Yesterday during update of my debian box, ffmpeg has been 
upgraded to version 2.1.1

And after that it fails to work with the previous switches.
When I execute the following script to convert mpeg to flv


/usr/bin/ffmpeg -y -i $1 -vcodec flv -f flv -r 29.97 \
-vf scale=320:240 -aspect 4:3 -b:a 300k -g 160 -cmp dct  -
subcmp dct  \
-mbd 2 -flags +aic+cbp+mv0+mv4 -trellis 1 -ac 1 -ar 22050 \
-ab 56k $1.flv

I get the following error


   Stream #0:1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16p, 224 
kb/s
[NULL @ 0x12ab9a0] [Eval @ 0x7fff8ab6ca90] Undefined constant 
or missing '(' in 'cbp'
[NULL @ 0x12ab9a0] Unable to parse option value "cbp+mv0+mv4"
[NULL @ 0x12ab9a0] Error setting option flags to value 
+aic+cbp+mv0+mv4.
Output #0, flv, to 'output.mpeg.flv':
    Stream #0:0: Video: flv1, yuv420p, 320x240 [SAR 1:1 DAR 
4:3], q=2-31, 200 kb/s, 90k tbn, 29.97 tbc
    Stream #0:1: Audio: mp3, 22050 Hz, mono, s16p
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video -> flv)
  Stream #0:1 -> #0:1 (mp2 -> libmp3lame)
Error while opening encoder for output stream #0:0 - maybe 
incorrect parameters such as bit_rate, rate, width or height

Guess ffmpeg understands these parameters by new name. Could 
anyone advise please?

Thanks


--------------------------------------
Message sent from the
SOLTECSIS free email services platform.
http://www.soltecsis.com
--------------------------------------




More information about the ffmpeg-user mailing list