PDA

View Full Version : Difference between MPEG2 TS and PS streams ?


Renkin
23rd June 2006, 15:31
I already looked for this info, including here, and it looks like no one can totally agree about the stream's features...

TS stand for Transport Stream and is DVD compliant. This is the kind of stream you get when ripping ( remember those video ts folders ? )

PS stand for Program Stream and is DVD compliant too, according to the VLC FAQ about streaming.

So, what's the deal ? Is there a "more DVD compliant" one, or a "more online streaming" ?
I'm using the Digital Rapids encoder named Streamz... It's full of preset with those 2 MPEG 2 codecs but i can see the difference...
Thanks for your help !

neuron2
23rd June 2006, 15:52
Transport streams are NOT DVD compliant and the "ts" has nothing to do with the "TS" in VIDEO_TS (which is short for "title set").

I refer you here for the authoritative treatment of the differences between transport and program streams:

http://neuron2.net/library/mpeg2/iso13818-1.pdf

Renkin
23rd June 2006, 16:41
Thanks for this file ! The authors sure look trustable this time.

I got my answer but i don't know what a "program of coded data" is when they say that a a TS stream can store of communicate one or more program data.
Is a "program of coded data" another kind of stream, or a way to organize data ?

neuron2
23rd June 2006, 17:47
Generically, a "program" is a set of streams that make up a coordinated content. For example, you tune to channel 11 and watch the Nova "program". That program has video and audio streams that go together. So, a transport stream can contain multiple progams in this sense. If you use DGIndex to view the PAT/PMT tables of a transport stream, it will show you all the programs and their elementary streams.

A "program stream" on the other hand can contain only one program in this sense.

So yes, a "program of coded data" is a way to refer to the package of elementary streams making up one program's content.

Renkin
24th June 2006, 15:16
I got it all this time.
Thanks for the explanation and your answers :D