Get Audio from a video file

Tagged with: , , , , ,

Get Audio from a video file


mplayer -dumpaudio -quiet VIDEO_FILE

One Response to “Get Audio from a video file

  • 1
    Rahul Pisharody
    June 12th, 2009 06:57

    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

Leave a Reply