# tsdemux

Demuxes MPEG2 transport streams

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──MpegTSBase
                        ╰──tsdemux

## Factory details

Authors: – Zaheer Abbas Merali <zaheerabbas at merali dot org>, Edward Hervey <edward.hervey></edward.hervey></zaheerabbas>

Classification: – `Codec/Demuxer`

Rank – primary

Plugin – mpegtsdemux

Package – GStreamer Bad Plug-ins

## Pad Templates

### `audio_%01x_%05x`

    audio/mpeg:
        mpegversion: 1
    audio/mpeg:
        mpegversion: { (int)2, (int)4 }
      stream-format: adts
    audio/mpeg:
        mpegversion: 4
      stream-format: loas
    audio/x-lpcm:
              width: { (int)16, (int)20, (int)24 }
               rate: { (int)48000, (int)96000 }
           channels: [ 1, 8 ]
      dynamic_range: [ 0, 255 ]
           emphasis: { (boolean)false, (boolean)true }
               mute: { (boolean)false, (boolean)true }
    audio/x-ac3:
    audio/x-eac3:
    audio/x-ac4:
    audio/x-dts:
    audio/x-opus:
    audio/x-private-ts-lpcm:

Presence – sometimes

Direction – src

Object type – GstPad

### `private_%01x_%05x`

    ANY

Presence – sometimes

Direction – src

Object type – GstPad

### `sink`

    video/mpegts:
       systemstream: true

Presence – always

Direction – sink

Object type – GstPad

### `subpicture_%01x_%05x`

    subpicture/x-pgs:
    subpicture/x-dvd:
    subpicture/x-dvb:

Presence – sometimes

Direction – src

Object type – GstPad

### `video_%01x_%05x`

    video/mpeg:
        mpegversion: { (int)1, (int)2, (int)4 }
       systemstream: false
    video/x-h264:
      stream-format: byte-stream
    video/x-h265:
      stream-format: byte-stream
    video/x-dirac:
    video/x-cavs:
    video/x-wmv:
         wmvversion: 3
             format: WVC1
    image/x-jpc:

Presence – sometimes

Direction – src

Object type – GstPad

## Properties

### emit-stats

    “emit-stats” gboolean

Emit messages for every pcr/opcr/pts/dts

Flags : Read / Write

Default value : false

### latency

    “latency” gint

Latency to add for smooth demuxing (in ms)

Flags : Read / Write

Default value : 700

### program-number

    “program-number” gint

Program Number to demux for (-1 to ignore)

Flags : Read / Write

Default value : -1

### send-scte35-events

    “send-scte35-events” gboolean

Whether SCTE 35 sections should be forwarded as events.

When forwarding those, potential splice times are converted to running time, and can be used by a downstream muxer to reinject the sections.

Flags : Read / Write

Default value : false

Since : 1.20

The results of the search are