Membrane.MPEG.TS.Demuxer (Membrane MPEG.TS Plugin v2.3.12)

View Source

Demuxes MPEG TS stream.

After transition into playing state, this element will wait for Program Association Table and Program Mapping Table.

Element options

Passed via struct Membrane.MPEG.TS.Demuxer.t/0

  • strict?

    boolean()

    Default value: false

  • wait_rai?

    boolean()

    Default value: true

Pads

:input

Accepted formats:

%Membrane.RemoteStream{}
Direction::input
Availability::always
Flow control::auto

:output

Accepted formats:

%Membrane.RemoteStream{}
Direction::output
Availability::on_request
Flow control::auto

Pad options:

  • pid

    pos_integer() | nil

    Default value: nil
    The PID of the target stream. If specified, all other selection options are ignored

  • stream_type

    atom() | nil

    Default value: nil
    More generic selector than pid, allows to specify the stream type of the target stream, e.g. AAC_ADTS. The first stream that matches the selector will be returned.

  • stream_category

    atom() | nil

    Default value: nil
    Even more generic, select either :video, :audio, :subtitles, :cues, :metadata target streams. The first stream that matches the selector will be returned.

Summary

Types

Options for pad :output

t()

Struct containing options for Membrane.MPEG.TS.Demuxer

Functions

Returns description of options available for this module

Types

output_pad_opts()

@type output_pad_opts() :: [
  pid: pos_integer() | nil,
  stream_type: atom() | nil,
  stream_category: atom() | nil
]

Options for pad :output

t()

@type t() :: %Membrane.MPEG.TS.Demuxer{strict?: boolean(), wait_rai?: boolean()}

Struct containing options for Membrane.MPEG.TS.Demuxer

Functions

options()

@spec options() :: keyword()

Returns description of options available for this module