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

Element for demuxing FLV streams into audio and video streams. FLV format supports only one video and audio stream. They are optional however, FLV without either audio or video is also possible.

When a new FLV stream is detected, you will be notified with Membrane.FLV.Demuxer.new_stream_notification().

If you want to pre-link the pipeline and skip handling notifications, make sure use the following output pads:

  • Pad.ref(:audio, 0) for audio stream
  • Pad.ref(:video, 0) for video stream

    Pads

:input

Availability:always
CapsMembrane.RemoteStream, restrictions:<br />&nbsp;&nbsp;content_format: Membrane.FLV,<br />&nbsp;&nbsp;type: :bytestream
Demand unit:buffers
Direction:input
Mode:pull
Name:input

:video

Availability:on_request
CapsMembrane.H264.RemoteStream, restrictions:<br />&nbsp;&nbsp;stream_format: :byte_stream
Direction:output
Mode:pull
Name:video

:audio

Availability:on_request
CapsMembrane.RemoteStream,<br />Membrane.AAC.RemoteStream
Direction:output
Mode:pull
Name:audio

Link to this section Summary

Types

List of formats supported by the demuxer.

Type of notification that is sent when a new FLV stream is detected.

Functions

Returns pads descriptions for Membrane.FLV.Demuxer

Link to this section Types

Specs

codec_t() :: Membrane.FLV.audio_codec_t() | :H264

List of formats supported by the demuxer.

For video, only H264 is supported Audio codecs other than AAC might not work correctly, although they won't throw any errors.

Link to this type

new_stream_notification_t()

View Source

Specs

new_stream_notification_t() :: {:new_stream, Membrane.Pad.ref_t(), codec_t()}

Type of notification that is sent when a new FLV stream is detected.

Link to this section Functions

Specs

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

Returns pads descriptions for Membrane.FLV.Demuxer