Is there a way to programmatically convert and/or encode to AAC/m4a format in Cocoa without the use of any libraries or programs that don't ship with Mac OS X?
I don't want to use for example, faac or ffmpeg, to do the encoding.
Is there a way to programmatically convert and/or encode to AAC/m4a format in Cocoa without the use of any libraries or programs that don't ship with Mac OS X?
I don't want to use for example, faac or ffmpeg, to do the encoding.
The other way would be Core Audio. A really simple way would be the afconvert command line tool, which you could invoke using NSTask. On the other hand, using Core Audio's API directly may enable you to report progress to the user.