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: Detecting codec in a stream (Read 2257 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Detecting codec in a stream

Reply #1
I guess VLC parses the frame length number and sees if it matches the next sync mark?

Detecting codec in a stream

Reply #2
The first four bytes of an ADTS AAC frame header look exactly like an MPEG-1/2 "Layer 4" frame.  So it's quite easy to detect the difference.