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: How to debug AAC in .TS? (Read 2150 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

How to debug AAC in .TS?

I'm working on an streaming app for Android and have hit a problem that makes the playback crash. The log output ("E/SoftAAC2(6140): Not enough audio data for the complete frame. Got 254 bytes, frame size according to the ADTS header is 322 bytes.") suggests that the encoding is not done as it should. I have the .ts stream segments but I don't know how to validate if the frame is indeed not as long as the header says.

How do I "debug" a .ts file in a way that I can read the ADTS header and also measure to frame length? What tools should I use? Wireshark didn't help much.

Prethanks!

/BE