Hey crew!
I'm having an issue with FFMPEG.
I'm trying to force a lowish bitrate while converting an uncompressed AVI into an FLV. Obviously I want the FLV to be as small as possible for the web.
Here is my command string:
You'll notice I have the -b down to 50k! With this, I'm getting a reported video bitrate of 662K! WTF?Code:ffmpeg -i test.avi -b 50k -qmax 5 -r 25 -s 440x360 -ab 56k -ar 22050 -acodec libmp3lame -f flv test.flv
Is there any way I can FORCE the bitrate to a certain value? I'm aiming for around 200K. I'm open to multi passes.
Thanks everyone!
+ Reply to Thread
Results 1 to 5 of 5
-
-
Ok, I think I get it... Can you explain how the -qmin and -qmax work in a little more detail? I figured a value of 1 would be poor, and the max value (51?) would be high... I guess I'm not fully understanding how this setting works.
-
It's really the opposite. 51 would give you the lowest quality and 1 would give the highest. -qmin just tells ffmpeg to use a quantizer of at least X (whatever you specify). -qmax just says don't go above Y. I am not that intimate with details on quantization (perhaps jagabo or manono or poisondeathray will drop by
), but basically the various compression methods used by the different codec are trying to approximate the signal with some finite range of values in order to improve compression. If you are really interested, you can start with wiki's quantization page and work your way out from there.
Look here for documentation on ffmpeg options.
Similar Threads
-
FFmpeg's Bitrate Tolerance Option...
By raymng in forum Video ConversionReplies: 1Last Post: 13th Mar 2012, 09:08 -
FFMPEG Bitrate specification
By adhawkins in forum Video ConversionReplies: 4Last Post: 3rd Aug 2011, 11:33 -
changing audio bitrate with ffmpeg
By wallywalters in forum Video ConversionReplies: 4Last Post: 11th Feb 2011, 04:45 -
FFmpeg bitrate problem
By ajitpals in forum Video ConversionReplies: 0Last Post: 1st May 2010, 02:02 -
ffmpeg bitrate
By heruvim in forum Newbie / General discussionsReplies: 1Last Post: 8th Dec 2009, 07:10