• 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
CoreAudio (CAF/AAC) missing packet table
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CoreAudio (CAF/AAC) missing packet table


  • Subject: CoreAudio (CAF/AAC) missing packet table
  • From: Chris Ballinger <email@hidden>
  • Date: Thu, 05 Jan 2012 02:25:30 -0500

Hi, I've been getting some corrupted .caf (Core Audio container) files that are missing a valid packet table. I assume this is because we aren't properly stopping the recording when a device is multitasking, but I haven't been able to isolate the bug and we have a few corrupted recordings now. I'd like to salvage as many recordings as we can, because the only thing we seem to be missing is the packet table.

ffmpeg reports the following:
[caf @ 0x7fbee284ac00] Missing packet table. It is required when block size or frame size are variable.

The CAF specificiation states:
"Variable bit rate, constant number of frames per packet (such as AAC and variable-bit-rate MP3): mBytesPerPacket is zero, mFramesPerPacket is nonzero.
The Packet Table chunk data section contains single-number entries that describe the size, in bytes, of each packet in the Audio Data chunk."

Valid CAF file containing AAC
Corrupted CAF file missing packet table at end of file

Do you guys have any ideas? It seems that these are CBR AAC files so hopefully there might be a way to generate the packet table afterwards?

Thanks!

 _______________________________________________
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

  • Follow-Ups:
    • Re: CoreAudio (CAF/AAC) missing packet table
      • From: kamaldeep tumkur <email@hidden>
    • CAPlayThrough sample code problem
      • From: Daniel Tapie <email@hidden>
  • Prev by Date: Re: AUGraph and output callback
  • Next by Date: CAPlayThrough sample code problem
  • Previous by thread: OpenAl leak -OALSource::AddPlaybackMessage(unsigned long, OALBuffer*, unsigned long)
  • Next by thread: CAPlayThrough sample code problem
  • Index(es):
    • Date
    • Thread