3

Is there any command to extract audio from mp4 video?

KJA
  • 41
  • 1
  • 4
  • 5
    Does `ffmpeg -i INPUT.mp4 -c copy -map a OUTPUT.m4a` work? – guest Mar 05 '20 at 12:36
  • Thanks. It does work. Is there anyway to output mp3 format? – KJA Mar 05 '20 at 12:45
  • 3
    `ffmpeg -i INPUT.mp4 -b:a 256k -map a OUTPUT.mp3` – guest Mar 05 '20 at 12:48
  • @guest Do you know why the output audio file average bitrate is always 128 kbps and if it's possible to preserve the audio bitrate at all? BTW, you could write this as an answer not to leave the queation unanswered, and also earn points. ;-) – Sadi Sep 24 '20 at 17:51

0 Answers0