2

I need to convert my mp3 from constant or variable bitrate to average bitrate. how can I do this?
I've used

-b 250k -minratre 50kb -maxrate 260kb

But it goes constant bitrate when I run the command.

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
kmthrong kmthrongi
  • 145
  • 1
  • 5
  • 13

2 Answers2

4

You can use the -abr libmp3lame option:

ffmpeg -i input -c:a libmp3lame -abr 1 -b:a 128k output.mp3
llogan
  • 121,796
  • 28
  • 232
  • 243
1

-q:a 0 will set bitrate to average 220-260kbps

if you use -b (probably need to use -b:a) then it will be constant.

See here: ffmpeg.org

rll
  • 5,509
  • 3
  • 31
  • 46
Max Deepfield
  • 349
  • 1
  • 7