Notes on Transport Stream Support


DGMPEGDec supports decoding of transport streams. Following are important things to be aware of when processing transport streams.

File Extensions Enable Stream Processing Transport streams require special parsing. DGIndex needs to know that the input file is a transport stream to parse it correctly. Currently there is no automatic file type detection and so DGIndex uses the file extension to determine the file type. Transport streams must therefore use one of the following extensions to be properly recognized as transport streams: .ts .tp .trp .m2t. Sometimes you will see a transport stream with a .mpg extension. It must be renamed to one of the extensions listed to be handled properly.

You Must Set Your PIDs The process is simple. First load the transport stream file. Then select 'Stream/Detect PIDs: PAT/PMT' from the menu. Determine your desired video and audio PIDs (there may be multiple programs). Then select 'Stream/Set PIDs' from the menu and enter your chosen PIDs. Hit OK.

Rarely, a stream will not contain full, correct PAT/PMT tables, which specify the PIDs and how they are associated with programs. In such cases, you can use the 'Detect PIDs: Raw' menu option to get a listing of the PIDs in the stream and then make educated guesses, or random attempts, at choosing which audio PID goes with which video PID. Common encountered pairs of associated video/audio PIDs are 11/14, 21/24, and 31/34.

Audio Only Transport Streams If your stream has audio only and you want to demultiplex it, then you must set your video PID to 0.


Copyright (c) 2004 Donald A. Graft, All Rights Reserved