Transport stream or program stream

Discussion in 'Amateur Video Production' started by georgess, Sep 15, 2003.

  1. georgess

    georgess Guest


    I store satellite MPG DVB data to my hard disk using a program called
    mytheatre. I know the satellite data is transport stream format., but
    I'm wondering if the data on the disk is program stream formant

    Anyone know of a utility to tell the difference?

    "The MPEG2 System specification defines two system stream formats: the
    MPEG2 Transport Stream (MTS) and the MPEG2 Program Stream (MPS). The
    MTS is tailored for communicating or storing one or more programs of
    MPEG2 compressed data and also other data in relatively error-prone
    environments. The MPS is tailored for relatively error-free
    environments. "


    georgess, Sep 15, 2003
    1. Advertisements

  2. georgess

    Pond Scum Guest

    Try downloading the demo of a program called "Manzanita MPEGID".

    There's also "BBINFO" from BBTools:

    I believe TMPGEnc's MPEG Tools will not demux a transport stream, so you
    could just try that. If it works, you must have a program stream.

    Pond Scum, Sep 16, 2003
    1. Advertisements

  3. If you can play it with a mpg player it is in mpg format.
    Normally the MPEG2 is extracted from the ts along with the relevant audio PID.

    I only know of one case that really records TS, I am using it (Linux).
    This way I can record 4 sat channels (pic + sound) from the same transponder
    at the same time.
    After that, to be able to play back, you need to demux the TS (I do it in real time).
    This I use ts2pes for.
    I can also record TS in 1 video PID and say 7 audio PIDs.
    Then in the demux select a language PID.
    Perhaps things like 'tivo' do the same?
    I really like the ts format, store all recordings from satellite in ts on a normal
    data disk.
    No authoring required.
    See my page
    for the Linux software to do this with a SkyStar1 DVB-s card.

    If you have only one movie / disk (recording I should say :) ), you can write
    the .ts as a dvd image.
    Then playback in Linux:
    cat /dev/dvd | ts2pes VPID APID | mplayer -vop pp=0x20000 -fs -
    the most efficient way that I can think of!
    Because the sectors will be sequential, and the stream is not broken in small
    pieces (like in dvd-authoring, WTF did they do that?) the playback is extremely
    smooth on the PC.
    Perhaps some of these DVD recorders already do something like this internally.
    Jan Panteltje, Sep 16, 2003
  4. georgess

    georgess Guest

    georgess, Sep 16, 2003
  5. georgess

    georgess Guest

    I've yet to look at my home data with bbinfo (just tried it on an
    ordinary mpeg file on a different computer, and it identified sopme
    random mpg as a program stream)

    But... the moonlight video decoder does work with transport streams,
    so once you have identified the decoder as the one to use, you cannot
    tell if it is transport or program stream. I'm using w2k.

    I'll confirm once I try it

    georgess, Sep 16, 2003
  6. This is what happens here if I use bbdmux on a .TS stream:
    panteltje:/big/video/in/ts# bbdmux potential-for-peace-epi127-5pids.ts
    bbDMUX - version 1.5, by Brent Beyeler ()
    compiled for speed, by Apachez

    Scanning for stream id's, press control-c to quit ...

    File potential-for-peace-epi127-5pids.ts is not an MPEG Program Stream

    This is an old version of bbdmux (Linux) maybe later versions will recognize .ts, dunno.
    Try it...
    I have an other program 'streamtype' (it is in the dvb-0.9.3 driver (Linux) ):
    panteltje:/big/video/in/ts# streamtype potential-for-peace-epi127-5pids.ts
    Reading potential-for-peace-epi127-5pids.ts
    SIZE: 720x576
    ASPECT: 4:3
    PROFILE: Main
    LEVEL: Main
    CHROMA: 4:2:0

    Jan Panteltje, Sep 16, 2003
  7. georgess

    georgess Guest

    The command
    bbinfo sirens.mpg 1

    has this output on an ordinary mpeg file

    bbINFO - version 1.9, by Brent Beyeler ()
    speed increases by, Apachez and Christian Vogelgsang

    File sirens.mpg is an MPEG-2 Program Stream

    PACK #0, pack_start_code = 000001BA, SCR = 2546412.158741 ms
    georgess, Sep 16, 2003
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.