Intro
This program deals with Transport Stream files. Basically, Transport Stream means one or more streams (usually, MPEG-2 files) multiplexed into a single stream. That's what the HDTV is using (the digital television).
The concept:
A Transport Stream consists of fixed length packets. There can be more sizes but the standard one is 188 bytes. A packet can contain info from a Program Stream, can be a null packet, a Program Association Table or a Conditional Access Table. The PID is the field deciding the packet.
Mainly, the TS packets transport data from Program Streams at a fixed bit rate which must be greater than the sum of Program Streams bit rate. For example, if a standard MPEG-2 is encoded at a few Mbits per second, the Transport Stream usually has bigger bit rate values.
To better understand the composition of a Transport Stream, take a look at the picture below:

The program:
TS_Analyzer reads each packet from the input stream and analyzed it. You can view the packets as a graphical display of fields, or use the "write to file" option to list individual packets info or statistics.
I know that a Transport Stream is not so easy to find as a MPEG-2 file, so I've included a sample at the downloads section above. If you'll play this sample with Media Player, you'll hear about 1s of sound, and if you have the appropriate codec, you'll also see an image. It's a small part (4000 packs) of a larger transport stream (about 400,000 packs) but can give you an idea about the concept. Another player you can use is DVD2AVI.
If you would like to try a real transport stream, download mp2tsmpdex.exe from here. This is a Transport Stream Demo producer that will give you a 10s transport stream that can be analyzed by my program.
To use the program, just read the readme file included.
Main window:

This is how the program looks when you start it.
Browse window:

This is the browse window used to change the current directory.
Analyzer window:

That's how the analyzer window looks.
Output text file "tsinfo.txt":
That's what you'll see in the output text file after processing a Transport Stream:

Output text file "ts_stats.txt":
These are statistics about your input Transport Stream:

Author notes:
I don't really know of how much interest this subject really is. It's not a very known one and might not be the thing you're looking for. Still, the HDTV standard uses it and some VPN networks also. It's fun to see how digital TV signal is formed, and surely this is not an obsolete subject.
For impressions regarding this program or discussions related to this subject, feel free to contact me by e-mail (ro_angel_bv@hotmail.com or ro_angel_bv@fastmail.fm).
| You must Sign In to use this message board. |
|
|
 |
|
|
 |
|
 |
How can we get the frame information(I, B or P)from PES without decoding the video? Can you help please?
regards, Sudhanshu Gupta
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
 |
|
|
 |
|
 |
How get Macro-Block DCT Coefficients of an MPEG-2 TS without decoding and re-encoding in C++?
I want to get Video Pixels of MEPG-2 TS. Can you help me?
|
| Sign In·View Thread·PermaLink | 1.00/5 |
|
|
|
 |
 | great  mars_mars | 16:45 14 Nov '06 |
|
|
 |
 | Thanks!  Radha Krishna. S. | 21:43 27 Feb '06 |
|
 |
Hey, Thanks a bunch for the app. I was looking for an app that will help me analyze transport streams, and this one fit the bill very well.
Thanks again, Radha.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Very neat app, what i'd love would be some bitrate info on the selected stream, ie Average for the entire stream & Min/Max bitrates
|
| Sign In·View Thread·PermaLink | 1.80/5 |
|
|
|
 |
|
 |
Thank you very much for your source code. It was very easy to read and helpful for me to understand the whole picture of ISO 13818. However, I think you make a mistake in your program. I found that you only check has_PCR is valid while the AF flag was off in your file "info.cs". I am not sure wether I am correct or not, pls give me some advice. Since I am just a newbie to both C# and MPEG field. FIY, check the packet 1150 at byte[3]bit 2-- It was off, while its byte[5]bit 3 is on ; you claimed this as has PCR, but actually it didn't even has the Adaption field.
|
| Sign In·View Thread·PermaLink | 1.67/5 |
|
|
|
 |
 | newbi  Anonymous | 9:54 23 Jun '05 |
|
 |
file name ....the.edge.1080i.oar.nfn.0001.ts how or what program do i use to unarchive theses files (.ts)? got win zip or winrar what else is there please help....
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Very good,
I have use the other software to recorded the ts file. but only can use moonlight decoder playback. I want know how to playback the Transport Stream file . Could you help me , thanks.
|
| Sign In·View Thread·PermaLink | 1.25/5 |
|
|
|
 |
|
 |
I was using the "Nero ShowTime" player.....no problem at all.....but how do I burn the file to a disc???
|
| Sign In·View Thread·PermaLink | 2.33/5 |
|
|
|
 |
|
 |
One interesting and useful applicaton for HDTV transport streams is a D-VHS VCR emulator to run under windows XP. If you are not familiar with D-VHS VCR's like the JVC HM-DH40000U here is a short run down on their operation. The D-VHS VCR can connect to a HDTV set top box like the Samsung SIR-T165 with a firewire connection. The HDTV set top box is able to control the VCR using firewire. It is possible to power up/down the VCR as well as control play, pause, fast forward, fast reverse and record functions from the set top box remote. A useful application would be a program that connects to a HDTV set top box via firewire and emulates a D-VHS VCR. The emulator would simply record the transport stream to the HDD for recording and play back the transport stream file from the HDD for playback.
tom ...
|
| Sign In·View Thread·PermaLink | 1.70/5 |
|
|
|
 |
|
|