Convert Aiff to MP3 with ffmpeg on ubuntu

April 3, 2010

To do this you need to have some packages installed:

sudo apt-get install ffmpeg libavcodec-unstripped-52

after that, you can do this command to convert:

ffmpeg -i inputfile.aif -f mp3 -acodec libmp3lame -ab 192000 -ar 44100 outputfile.mp3

– you can use any kind of input file, it doesn’t have to be an aif file.
– to see what formats and codecs are supported do this:
ffmpeg -formats

that’s it 🙂



3 Responses to “Convert Aiff to MP3 with ffmpeg on ubuntu”

  1. […] lately, and you could already read about that in my previous posts about capturing your screen and converting aiff to mp3 using […]

  2. burn cd Says:

    Rather amusing answer

  3. Etienne Says:

    I wanted to convert an mp3 to an aif for a custom iPhone ringtone. Here is how I did it:

    ffmpeg -i in.mp3 -f aiff -ab 192000 -ar 44100 out.aif


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: