Posted By

bcmoney on 01/24/14


Tagged

audio ffmpeg extract


Versions (?)

Extract Audio from Video in FFMPEG


 / Published in: Bash
 

URL: http://peppoj.net/2010/09/how-to-extract-audio-from-video-using-ffmpeg/

FFMPEG's relevant parameters for extracting Audio from a Video:

-i “input file”
-vn “skip the video part”
-ac “audio channels”
-ar “audio rate”
-ab “audio bit-rate“
-f “file format to use”
(the end if the string) “output file”

Encodes the Audio as a high quality MP3 with 320kbit (constant) rate and 44100hz sampling rate which is CD-quality.

  1. ffmpeg -i "myfile.format" -vn -ac 2 -ar 44100 -ab 320k -f mp3 output.mp3

Report this snippet  

You need to login to post a comment.