View Source Membrane.FLV.Muxer (Membrane FLV Plugin v0.7.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

Accepted formats:

Membrane.MP4.Payload
Direction::input
Availability::on_request
Flow control::manual
Demand unit::buffers

audio

:audio

Accepted formats:

%AAC{encapsulation: :none}
Direction::input
Availability::on_request
Flow control::manual
Demand unit::buffers

output

:output

Accepted formats:

%Membrane.RemoteStream{content_format: FLV}
Direction::output
Availability::always
Flow control::manual
Demand unit:nil