Posted By

bcmoney on 01/24/14


audio ffmpeg extract

Versions (?)

Extract Audio from Video in FFMPEG

 / Published in: Bash


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.