Showing posts with label ffmpeg change bitrate of mp3. Show all posts
Showing posts with label ffmpeg change bitrate of mp3. Show all posts

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