Get Audio from a video file
mplayer -dumpaudio -quiet VIDEO_FILE
This entry was posted
on Thursday, June 11th, 2009 at 11:41 pm and is filed under Command Line, Linux.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
On a related note, you can use ffmpeg to the same effect. Here’s the text snippet that will do the job fine :
ffmpeg -i VIDEO_FILE -acodec libmp3lame OUTPUT.MP3
That command will extract audio stream from the input file, convert it into mp3 and dump it into OUTPUT.MP3. You can change te codec to produce output in different formats
Mail (will not be published) (required)
I am Binny V A, a freelance Web Developer on the LAMP Platform. Open Source Geek.
Follow me(@binnyva) on Twitter