# tsparse

Parses MPEG2 transport streams

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──MpegTSBase
                        ╰──tsparse

## Factory details

Authors: – Alessandro Decina <alessandro>, Zaheer Abbas Merali <zaheerabbas at merali dot org></zaheerabbas></alessandro>

Classification: – `Codec/Parser`

Rank – none

Plugin – mpegtsdemux

Package – GStreamer Bad Plug-ins

## Pad Templates

### `program_%u`

    video/mpegts:
       systemstream: true

Presence – request

Direction – src

Object type – GstPad

### `sink`

    video/mpegts:
       systemstream: true

Presence – always

Direction – sink

Object type – GstPad

### `src`

    video/mpegts:
       systemstream: true

Presence – always

Direction – src

Object type – GstPad

## Properties

### alignment

    “alignment” guint

Number of packets per buffer (padded with dummy packets on EOS) (0 = auto)

Flags : Read / Write

Default value : 0

### pcr-pid

    “pcr-pid” gint

Set the PID to use for PCR values (-1 for auto)

Flags : Read / Write

Default value : -1

### set-timestamps

    “set-timestamps” gboolean

If set, timestamps will be set on the output buffers using PCRs and smoothed over the smoothing-latency period

Flags : Read / Write

Default value : false

### smoothing-latency

    “smoothing-latency” guint

Additional latency in microseconds for smoothing jitter in input timestamps on live capture

Flags : Read / Write

Default value : 0

### split-on-rai

    “split-on-rai” gboolean

If set, buffers sized smaller than the alignment will be sent so that RAI packets are at the start of a new buffer

Flags : Read / Write

Default value : false

The results of the search are