Membrane.MPEGTS.Muxer.Engine (Membrane MPEG-TS Plugin v0.5.0)
View SourceA module with functionalities allowing for muxing stream into the MPEG-TS container.
Summary
Functions
Creates a new muxer instance and returns initial payload with container metadata.
Adds a frame to a given track and returns next part of the container payload.
Adds a new track to the muxer and returns track metadata.
Types
@type t() :: %{ ts: Membrane.MPEGTS.Muxer.TS.t(), tracks_pids: [{track(), pos_integer()}], next_es_pid: pos_integer() }
@type track() :: :audio | :video
Functions
Creates a new muxer instance and returns initial payload with container metadata.
@spec put_frame(binary(), track(), non_neg_integer(), non_neg_integer(), t()) :: {binary(), t()}
Adds a frame to a given track and returns next part of the container payload.
Adds a new track to the muxer and returns track metadata.