Ripping audio from YouTube videos

Do you know that you can extract sound from a flash video file in ubuntu/debian using just one command? You can. First, you must download the video file from YouTube (described here). Then, you must install mplayer:

sudo apt-get install mplayer

Then, it's simply a matter of playing the video file with mplayer, while instructing mplayer to dump the audio to a file:

mplayer -dumpaudio movie_file.flv -dumpfile resulting_sound_file.mp3

Easy peasy! :-)


Written by Jannich Brendle søn 28 februar 2010 In How to

tags: command linehowtoubuntuxubuntuyoutube

Related posts

social