Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there a command line tool for Windows to extract audio aac from mp4 ?

share|improve this question

5 Answers 5

up vote 0 down vote accepted

Yup Neal is right , FFmpeg can do it

Here is a list of commands that might come useful for you


Go here for instructions


share|improve this answer

mp4box can also do this.

To demux/extract aac from mp4 (assuming audio is the 2nd track):

mp4box -raw 2 video.mp4

This will automatically create output file "video_track2.aac"

If you wanted control over the output filename, you would do

mp4box -raw 2 video.mp4 -out audio.aac

If you wanted to remux back into mp4 container (i.e. for iTunes) you could do:

mp4box -single 2 video.mp4 -out audio.m4a

note: gpac 0.5.0 has a bug that forces output filename to always end in .mp4, so if you wanted to use above command line you would need gpac 0.5.1

You could then put this in a batch script to operate over all the files in a directory:

for %%f in ("*.mp4") do (

mp4box -single 2 "%%f" -out "%%~nf.m4a"


(batch script inspired by videohelp and stackoverflow)

Download links:

share|improve this answer

I think that FFmpeg should be able to do it, there are probably Windows binaries floating about the internet, or you could build your own.

Edit: Here's some locations of Windows downloads.

share|improve this answer

Super can do it also.

SUPER © "The Player" surpasses any known player by supporting just any Multimedia file format. SUPER © plays files that cannot be played with WMP or even other libavcodec-based players like MPC and VLC. SUPER © also plays and saves Internet Media Streams of different protocols ( mms:// rtsp:// http://)

SUPER © "The Encoder" is the fastest and simplest tool to encode full length movies to any other format without any time or function limitation.

share|improve this answer

Here’s the actual commands to use since all the provided links don’t actually give them, and anyway: links rot and die so should always be replaced with actual answers on stackexchange.

avconv -i input.mp4 -vn -c:a copy output.m4a
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.