• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: writing m4a problems continued
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >writing m4a problems continued (From: john <email@hidden>)
 >Re: writing m4a problems continued (From: Doug Wyatt <email@hidden>)

  • Prev by Date: Working with Input and output Device
  • Next by Date: Using AUAudioFilePlayer without its UI
  • Previous by thread: Re: writing m4a problems continued
  • Next by thread: Re: writing m4a problems continued, II
  • Index(es):
    • Date
    • Thread