Wednesday, December 9, 2009

Change MP3 bitrate - command line...

Hi All,

Recently I explained how to change - the bitrate of a mp3 file using SoundConverter...

The above one was a UI based. And the below now - would be command oriented...

1. See to it that you have the nightly build or the latest ffmpeg installed.
2. If you are a novice - go for the one - that is available with your default repos.
3. In Lenny - you will have to still install the gstreamer plugin with ffmpeg.
4. The above is a ugly set of ffmpeg and gstreamer 0.10. Google it out...

Now the main command...

ffmpeg -i file.mp3 -ab 64k file_changed.mp3

You can issue 'man ffmpeg' and find out a ton of command options for this amazing tool. Here in above bolded command -ab is for the bit rate change - to 64k.

Try it out yourself and let me know for any doubts...

Cheers :)
Ananth Gouri

1 comment:



  1. I just find a step by step guide on how to Change mp3 Bitrate from http://www.idealshare.net/audio-converter/mp3-bitrate-converter.html

    This guide can helps to change bitrate among all standards like 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256 and 320 kbit/s.

    In fact, it can change bitrate of MP3, WAV, FLAC, WMA, OGG, MP4, AVI, WMV, MKV, MOV etc.

    ReplyDelete