Re: Writing AAC, MP3, or other compressed audio files
Re: Writing AAC, MP3, or other compressed audio files
- Subject: Re: Writing AAC, MP3, or other compressed audio files
- From: john <email@hidden>
- Date: Thu, 4 Mar 2004 18:55:35 -0500
Hi Corwin,
As far as AAC, AudioFile and AudioConverter support the format, however
the AudioFile API apparently supports only the ADTS file format which
isn't what users would typically expect (mp4).
An easy way to support mp4 is to use the QuickTime APIs. Check out the
ConvertMovieSndTrack and qtmoviefromprocs sample code from Apple's
website for this.
A harder way to support mp4 would be to convert the audio to AAC using
the AudioConverter and then write your own mp4 file.
-- John
Hi-
I'm a little new to this, so please forgive me if I'm asking a really
silly question.
I have some simple uncompressed sound data which I'd like to write to
AAC. I can find API for converting frames, which is cool, but I can't
find API to actually write a header and make it a valid file. Is there
any sample code that shows me how to convert sound data to a
compressed format and then write out a compressed file with
representing that data?
Thanks!
Corwin
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.