Membrane.FLV.Muxer (Membrane FLV Plugin v0.1.1) View Source

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

:video

Availability:on_request
CapsMembrane.MP4.Payload
Demand unit:buffers
Direction:input
Mode:pull
Name:video

:audio

Availability:on_request
CapsMembrane.AAC, restrictions:<br />&nbsp;&nbsp;encapsulation: :none
Demand unit:buffers
Direction:input
Mode:pull
Name:audio

:output

Availability:always
CapsMembrane.RemoteStream, restrictions:<br />&nbsp;&nbsp;content_format: Membrane.FLV
Direction:output
Mode:pull
Name:output

Link to this section Summary

Functions

Returns pads descriptions for Membrane.FLV.Muxer

Link to this section Functions

Specs

membrane_pads() :: [{Membrane.Pad.name_t(), Membrane.Pad.description_t()}]

Returns pads descriptions for Membrane.FLV.Muxer