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

I'm trying to set the proper MIME-type for an AAC file, but this command does not work:

ffmpeg -i rain.mp3 -metadata mime-type="audio/aac" rainmp3toaac.aac

but, actualy audio/x-hx-aac-adts is set.

So, how I can force another MIME-type?

share|improve this question

migrated from Oct 22 '12 at 21:26

This question came from our site for professional and enthusiast programmers.

up vote 1 down vote accepted

I found solution after few day of researching. It's very simple:

ffmpeg -i rain.mp3 -f mp4 rainmp3toaac.aac

and now mime-type is audio/mp4 and that is fine for me.

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.