[FFmpeg-user] flv encoder ignores the bit rate?

Makc makc.the.great at gmail.com
Mon Aug 20 21:34:45 CEST 2012


Hi,

so for some reason ffmpeg ignores my fat bit rate here. I tried a lot
of combinations already, but could not force ffmpeg to encode flv at
high rate. For example:

./ffmpeg -i ScreenFlow.mov -f flv -b 100000k -minrate 90000k -g 1
~/Documents/output.flv

This command output is:

...
Output #0, flv, to '/Users/makc/Documents/output.flv':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    creation_time   : 2012-08-20 18:40:10
    encoder         : Lavf53.32.100
    Stream #0:0(eng): Video: flv1 ([2][0][0][0] / 0x0002), yuv420p,
878x694, q=2-31, 100000 kb/s, 1k tbn, 30 tbc
    Metadata:
      creation_time   : 2012-08-20 18:40:10
      handler_name    : ?Apple Alias Data Handler
Stream mapping:
  Stream #0:0 -> #0:0 (qtrle -> flv)
Press [q] to stop, [?] for help
frame=   47 fps=  0 q=1.6 size=    5211kB time=00:00:01.56 bitrate=27243.6kbits
frame=   94 fps= 94 q=1.6 size=   10710kB time=00:00:03.13 bitrate=28003.1kbits
frame=  137 fps= 91 q=1.6 size=   15759kB time=00:00:04.56 bitrate=28266.9kbits
frame=  177 fps= 88 q=1.6 size=   20413kB time=00:00:05.90 bitrate=28343.4kbits
frame=  224 fps= 89 q=1.6 size=   25896kB time=00:00:07.46 bitrate=28410.1kbits
frame=  272 fps= 90 q=1.6 size=   31498kB time=00:00:09.06 bitrate=28458.4kbits
frame=  273 fps= 90 q=1.6 Lsize=   31615kB time=00:00:09.10 bitrate=28460.1kbits
...

so it acknowledges 100 megabits:
    Stream #0:0(eng): Video: flv1 ([2][0][0][0] / 0x0002), yuv420p,
878x694, q=2-31, 100000 kb/s,
but encodes at 30:
frame=  224 fps= 89 q=1.6 size=   25896kB time=00:00:07.46 bitrate=28410.1kbits
:(

Why?

Apparently my problem is not a common one (google returns nothing
useful) so I must be doing something wrong, right?


More information about the ffmpeg-user mailing list