Download a Youtube video and rip the audio

MPlayer-Logo.png

Suppose you want the audio track from a YouTube video.
This is how you do that.

Linux command to download a flv YouTube video

youtube-dl http://YOUTUBE.URL.FROM.BROWSER.ADDRESSLINE

Now rip the audio from the flv file

mplayer -dumpaudio file.flv -dumpfile file.mp3

Damn...I like Linux :)