I tried your command shown (tested on Windows / commandline):
ffmpeg -i input.mp3 -codec:a libmp3lame -qscale:a 5 output.mp3
Result : it works for me. However, -qscale:a 5 allows FFmpeg to decide the average bitrate for you. With one (320k) MP3 file, I got it, giving a close conversion of 134kbps . This is expected because:
lame option Average kbit/s Bitrate range kbit/s ffmpeg option -V 5 130 120-150 -q:a 5
Solution :
Instead of internal mp3 frames occupying different bitrates (which vary to fit the "current" perceived sound, for example: think the "silent" parts using a lower bit / byte speed compared to the "occupied" audio parts), so itβs just set a constant bitrate of 128 kbps as needed.
I would just set it to 128 kbps constant manually and explicitly with:
ffmpeg -i input.mp3 -codec:a libmp3lame -b:a 128k output.mp3
source share