Click here to Skip to main content
15,665,319 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi every one,
I tried to decode MTS file as mpeg2 transport stream to extract audio information like audio codec, audio channel but I can't.
From here:, I read each byte and get all packet data such as: PID, Adaptation field, payload data but I still cannot find out audio information.
I can do with Mpeg program stream because it has some packet contains audio information but it doesn't work on Mpeg transport stream
I know some open source like: can extract all but, it's too big and i don't want to use it.
So anyone know about that, please help me?
Sergey Alexandrovich Kryukov 16-Sep-13 10:22am    
Well, you can use the source code of ffmpeg or libav to see how it works. I don't think you can find better source of information in the form of the code, even though this code is notoriously complex and even hard to build...

1 solution

I tried but the codes is very big :(, but thank you
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900