Posted in Command Line, Linux Get Audio from a video file Binny V A June 11, 2009 1 Comment on Get Audio from a video file Get Audio from a video file mplayer -dumpaudio -quiet VIDEO_FILE Author: Binny V AA philosopher programmer who specializes in backend development and stoicism.
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 Reply
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