Convert Video to Audio (mp3) in Linux Mint 14

I just came across a scenario where I needed to strip the audio out of a YouTube video file I had created in a Google Hangouts on Air recorded last night for The Unique Geek podcast. I found this post and it did exactly what I needed. Basically, I used the tool avconv via terminal but needed to install the codec necessary to convert to .mp3. The command to install the codec is this:

sudo apt-get install libavcodec-extra-53

I then used the following command to complete the conversion:

avconv -i video.mp4 -ab 192000 audio.mp3

2 thoughts on “Convert Video to Audio (mp3) in Linux Mint 14

  1. srini July 5, 2014 / 11:07 am

    Works great!!! Thanks!!!

  2. Victor February 21, 2017 / 7:04 am

    It converts audio to video too!

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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