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.

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 stackoverflow.com Oct 22 '12 at 21:26

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

add comment

1 Answer 1

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
add comment

Your Answer

 
discard

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.