IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
CoreAudio AAC missing packet table
chrisballinger
post Jul 26 2011, 06:54
Post #1





Group: Members
Posts: 2
Joined: 16-October 10
Member No.: 84652



Hi, I've been developing the iPhone version of Cop Recorder but we have 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.

"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."CAF specificiation

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!
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 28th August 2014 - 08:32