How to extract Audio from Youtube Flash Video (FLV) in Ubuntu Linux

First you need youtube-dl tool or ‘cclive’ to download the Youtube .FLV file.

Then, download the Youtube stream.
python youtube-dl http://www.youtube.com/watch?v=lee7a55401e

Alternatively, you can use ‘cclive’ to download the youtube stream.
cclive http://www.youtube.com/watch?v=lee7a55401e

After that, use ffmpeg to extract the audio and encode it to MP3
ffmpeg -i lee7a55401e.flv vn -acodec libmp3lame -ab 128000 -ar 44100 lee7a55401e.mp3

Note: You need to install the restricted codecs in order to extract MP3 audio files.

Thanks Mohammad Bahathir Hashim for the tip!

Ubuntu 10.10 (Maverick) installation: 3rd Party Software and Codecs automatic download feature

Ubuntu 10.10 (Maverick Meerkat) has been released! Hopefully some of you have already downloaded the ISO file and installed it on your computer. I’ve yet to install Ubuntu Maverick Meerkat in my computer because I prefer to use the 10.04 Long term support (LTS) release on my file server.

However, I manage to test out the Maverick Meerkat installation on my virtual machine, where I found two things of note. First is that the installer and installation step has been simplified with fewer dialogs and secondly, the installer presents a choice dialog, which enable users to download 3rd party software and codecs to enhance their experience while using Ubuntu. In my opinion, this is probably one of the best decision made by Canonical, which enables new users to download proprietary codecs without distributing it on the installation CD.

ubuntu maverick installation cd

As long as the users are connected to a high speed internet connection, the installer is able to download 3rd party codecs to enable users to enjoy it.