[FFmpeg-user] Help with extracting audio from MP4

Peter peter777 at users.sourceforge.net
Fri Jan 20 04:06:05 EET 2017


On Thursday, 19 January 2017 5:39:57 PM AEDT terje wrote:
> I used this code once:
> 
> ffmpeg -i infile.mp4 -q:a 1 -map a audio.mp3
> 
> "-q:a 1" resulted in 210-220 kbs
> "-q:a 2" some lower  bitrate

Thanks, I used ..

ffmpeg -i 16187821_363927127308754_4400528164682465280_n.mp4 -q:a 1 -map a 
audio.mp3

and the output is 64 kb/s . This is the audio specs within the mp4:

Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 66 
kb/s (default)

Playing the audio now, it is very clear and good.  :)

Thanks for your help,

Peter




More information about the ffmpeg-user mailing list