Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got an m4a video file and would like to extract the sound. How can I do that? Running Arch Linux.

share|improve this question
up vote 1 down vote accepted

One simple way to do it is, if you have mplayer:

mplayer video.m4a -ao pcm

the audio will be in a file called `audiodump.wav'

You can encode that to an mp3 with `lame -V2 audiodump.wav'

share|improve this answer

Interesting – typically the .m4a (MP4 Audio) extension is not used for files with video tracks...

This will extract the audio track in its original form (-acodec copy) and discard video (-vn):

ffmpeg -i video.m4a -acodec copy -vn audio.m4a
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .