Extracting Audio (MP3) from FLV Video

While using lUbuntuLinux machine, I found myself needing to “extract” or pull out the audio from a video in FLV format. The video happens to be a YouTube video. For the purposes of this demo, I’m going to use the video (which I made) that I wanted an audio version of, my tutorial on Making a Persistent Boot USB Flash Drive.

Here’s a Mac-friendly tutorial (it uses iExtract) that I haven’t tried and probably won’t for awhile since I’m on a linux machine.

But, how to accomplish extracting the audio from an FLV or video file?

Extracting audio is pretty easy these days…although you can do it at the command line using ffmpeg (free), there’s now a GUI program called FFMultiConverter for getting the job done:

FF Multi Converter is a simple graphical application which converts audio, video, image, and document files between all popular formats, using and combining other programs. It uses ffmpeg for audio/video files, unoconv for document files, and the PythonMagick library for image file conversions.

In truth, I found the program incredibly easy to use.

Step 1 – Setup LubuntuLinux with the right software

sudo add-apt-repository ppa:ffmulticonverter/stable

Note: You might find this tutorial helpful.

Step 2 – Update

sudo apt-get update

Step 3 – Install FF MultiConverter and YouTube-DL

sudo apt-get install ffmulticonverter youtube-dl

Step 1 – Get the Video using YouTube-dl at the command line.
Obviously, there are lots of ways to download a video from YouTube. If you use Firefox with Download Helper (Get the Firefox add-on), it’s a cinch and you never have to go to the command line…you can save the video OR the MP3 if you have conversion enabled, so Download Helper is the way to go).

With Download Helper, you click on the balloons (red, yellow,blue)….

Then you get a list of video formats to download:

The benefit of the command line, though, is that you can download multiple videos linked in a videos.txt file (read about the process here).

YouTube-dl is a python (whatever that is) script that you can run and as such, will work on Windows and Mac, not just GNU/Linux operating systems.

To get the video, you would just type:

youtube-dl https://www.youtube.com/watch?v=uYEM3Akb79s

Step 2 – Extract audio as MP3 from the FLV video
Once you have the video saved on your computer, simply run the FFMultiConverter:

Note that you can convert all similar files with the same extension (FLV) to MP3 and you have the option of deleting the original FLV file. That can save some time!

Step 3 – Play your MP3 file.
This is the easiest and most obvious step…play your MP3.

Everything posted on Miguel Guhlin’s blogs/wikis are his personal opinion and do not necessarily represent the views of his employer(s) or its clients. Read Full Disclosure

var _gaq = _gaq || []; _gaq.push([‘_setAccount’, ‘UA-3445626-5’]); _gaq.push([‘_setDomainName’, ‘mguhlin.org’]); _gaq.push([‘_trackPageview’]); (function() { var ga = document.createElement(‘script’); ga.type = ‘text/javascript’; ga.async = true; ga.src = (‘https:’ == document.location.protocol ? ‘https://ssl’ : ‘http://www’) + ‘.google-analytics.com/ga.js’; var s = document.getElementsByTagName(‘script’)[0]; s.parentNode.insertBefore(ga, s); })();

2 thoughts on “Extracting Audio (MP3) from FLV Video

  1. Matthias Heil November 23, 2012 at 3:47 am Reply

    …or just use http://www.zamzar.com !-)

  2. Miguel Guhlin November 23, 2012 at 3:54 am Reply

    @Matthias, Zamzar.com no longer allows that! You can see the message Zamzar now issues:http://www.zamzar.com/url/error/:-)Miguel

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

%d bloggers like this: