containersaacm4a

What is the easiest way to wrap a raw .aac file into a .m4a container


This question is overflow from the following question:

How do I programmatically convert mp3 to an itunes-playable aac/m4a file?

Anyway, I learned how to create an aac file and then i found out that an aac is not just an m4a file with a different file extension. In fact, I need to somehow wrap the aac into an m4a container. Ideally I'd be able to simply make a call to the command line.


Solution

  • mp4box if you want a dedicated tool; its probably the easiest way to go. ffmpeg can do the job too.