neuron2
16th May 2004, 07:34
I got bored today and decided to write a PID detector. It's a command line utility with the following usage:
>table filename
Obviously, use it on transport streams that carry PAT/PMT.
The zip file includes source code, from which you can see that PID detection is no trivial matter. This will be integrated into DVD2AVIdg.
http://neuron2.net/fixd2v/table101.zip
Feedback will be appreciated.
Here is sample output:
G:\tmp\Zep>table abc.3.video.3.audio.streams.tp
------------------------------------------------
Table 1.0.1 -- PAT/PMT Parser by Donald A. Graft
------------------------------------------------
Program 1
PCR on PID 0x11
Video on PID 0x11
AC3 Audio on PID 0x14
Other on PID 0x1a
Program 2
PCR on PID 0x21
Video on PID 0x21
AC3 Audio on PID 0x24
Program 3
PCR on PID 0x31
Video on PID 0x31
AC3 Audio on PID 0x34
>table filename
Obviously, use it on transport streams that carry PAT/PMT.
The zip file includes source code, from which you can see that PID detection is no trivial matter. This will be integrated into DVD2AVIdg.
http://neuron2.net/fixd2v/table101.zip
Feedback will be appreciated.
Here is sample output:
G:\tmp\Zep>table abc.3.video.3.audio.streams.tp
------------------------------------------------
Table 1.0.1 -- PAT/PMT Parser by Donald A. Graft
------------------------------------------------
Program 1
PCR on PID 0x11
Video on PID 0x11
AC3 Audio on PID 0x14
Other on PID 0x1a
Program 2
PCR on PID 0x21
Video on PID 0x21
AC3 Audio on PID 0x24
Program 3
PCR on PID 0x31
Video on PID 0x31
AC3 Audio on PID 0x34