Membrane MPEG-TS Plugin v0.1.0 Membrane.MPEG.TS.Demuxer View Source
Demuxes MPEG TS stream.
After transition into playing state, this element will wait for
Program Association Table and
Program Mapping Table.
Upon succesfful parsing of those tables it will send a message to the pipeline in format
{:mpeg_ts_stream_info, configuration}
, where configuration contains data read from tables.
Configuration sent by element to pipeline should have following shape
%{
program_id => %Membrane.MPEG.TS.ProgramMapTable{
pcr_pid: 256,
program_info: [],
streams: %{
256 => %{stream_type: :H264, stream_type_id: 27},
257 => %{stream_type: :MPEG1_AUDIO, stream_type_id: 3}
}
}
}
Pads
:input
Availability | :always |
Bin? | false |
Caps | :any |
Demand unit | :buffers |
Direction | :input |
Mode | :pull |
Name | :input |
:output
Availability | :on_request |
Bin? | false |
Caps | :any |
Direction | :output |
Mode | :pull |
Name | :output |
Link to this section Summary
Types
This types represents datae structure that is sent by this element to pipeline.
Functions
Returns pads descriptions for Membrane.MPEG.TS.Demuxer
Link to this section Types
Specs
configuration() :: %{ required(Membrane.MPEG.TS.ProgramAssociationTable.program_id_t()) => Membrane.MPEG.TS.ProgramMapTable.t() }
This types represents datae structure that is sent by this element to pipeline.
Link to this section Functions
Specs
membrane_pads() :: [{Membrane.Pad.name_t(), Membrane.Pad.description_t()}]
Returns pads descriptions for Membrane.MPEG.TS.Demuxer