transport stream - extracting information
问题 I have entire mux with four channels dumped in a single *.ts file. I'm demultiplexing that and I can't find any info on how to extract the resolution, framerate, codec, language, channels, etc... Should I read macroblocks, or do something else? Thnx. 回答1: Here is the listing of where to look for the information: Number of programs, their description etc. : PAT and PMT. The number of Audio and languages and additional information : SDT, BAT etc. Codec - refer to PES header - stream_id and look