View Source Membrane.FLV.Muxer (Membrane FLV Plugin v0.3.0)
Element for muxing AAC and H264 streams into FLV format.
Input pads are dynamic, but you nend to connect them before transitioning to state playing
.
Due to limitations of the FLV format, only one audio and one video stream can be muxed and they both need to have a stream_id of 0. Therefore, please make sure you only use the following pads:
Pad.ref(:audio, 0)
Pad.ref(:video, 0)
pads
Pads
video
:video
Availability | :on_request |
Caps | Membrane.MP4.Payload |
Demand mode | :manual |
Demand unit | :buffers |
Direction | :input |
Mode | :pull |
Name | :video |
audio
:audio
Availability | :on_request |
Caps | Membrane.AAC , restrictions:encapsulation: :none |
Demand mode | :manual |
Demand unit | :buffers |
Direction | :input |
Mode | :pull |
Name | :audio |
output
:output
Availability | :always |
Caps | Membrane.RemoteStream , restrictions:content_format: Membrane.FLV |
Demand mode | :manual |
Demand unit | :buffers |
Direction | :output |
Mode | :pull |
Name | :output |
Link to this section Summary
Functions
Returns pads descriptions for Membrane.FLV.Muxer
Link to this section Functions
@spec membrane_pads() :: [{Membrane.Pad.name_t(), Membrane.Pad.description_t()}]
Returns pads descriptions for Membrane.FLV.Muxer