Re: writing m4a problems continued
Re: writing m4a problems continued
- Subject: Re: writing m4a problems continued
- From: john <email@hidden>
- Date: Sat, 7 May 2005 17:48:57 -0400
Hi Doug,
It errors at every call to AudioFileWritePackets(). I do start with packet 0. Also, I have the code setup to increment the packetWritePosition based on the number of packets that have been written, like the CAAudioFile code.
Not sure if this means anything, but the first conversion from AudioConverterFillComplexBuffer() returns 7 bytes, then things pick up to 379 (app.) and continue at about that rate. The error stays the same, regardless.
Thanks!
-- John John,
That looks like an error code from the MP4 audio file component ... hm, a MP4DataInformationAtom has a nil dataReference atom pointer.
When writing .mp4/.m4a, the component requires that you start with packet 0 and write packets sequentially from there. What packet number are you writing when this fails? What packet numbers have you written previously?
Doug
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden