Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: ADTS maximum frame size? (Read 5351 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

ADTS maximum frame size?

Ok, I have a test ADTS .AAC file that plays fine through VLC, but when I try to use a third-party player (sorry, I can't specify which one) I get a nice error informing me that it's found a frame > 2000 bytes in length, and it barfs and dies.

Now, there are 13 bits set aside for framesize, so I'm thinking that this error is a bug in this product.  HOWEVER.. I'm wondering if, perhaps, it's actually a bug in the test .AAC file!

Is there some magic number less than the 8192 that 13 bits will allow that's a limit for ADTS frames?

All info appreciated!

ADTS maximum frame size?

Reply #1
Simply said 6144 bits or 768 bytes per channel per frame (there are some more rules but this is what is comes down to).

ADTS maximum frame size?

Reply #2
Simply said 6144 bits or 768 bytes per channel per frame (there are some more rules but this is what is comes down to).


Argh! That would mean that the authoring app that was used created a file with bad frames in it...

I can see I need to dig a little deeper into all this.