Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
ffmpeg.exe -i s.mp3 -f aac -

This is the command I run but it doesn't recognize the format AAC.

Requested output format 'aac' is not a suitable output format pipe:: 
Invalid argument

However when I run:

ffmpeg.exe -i s.mp3 -f ogg -

This works.

Also, outputting to a file like this works:

ffmpeg.exe -i s.mp3 o.aac

Any ideas what I'm doing wrong?

share|improve this question
up vote 7 down vote accepted

When you run this command:

ffmpeg.exe -i s.mp3 o.aac

you may notice the following line in the output:

Output #0, adts, to 'o.aac':

Here, ffmpeg is telling you that it is using the format called adts to generate an .aac file. Use -f adts instead of -f aac:

ffmpeg.exe -i s.mp3 -f adts -
share|improve this answer
+1, this is likely the correct answer. – allquixotic Feb 20 '13 at 20:13
How did I ever miss that.. Thanks! – ad0ke2 Feb 20 '13 at 22:04

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.