Membrane.VideoCutAndMerge (Membrane Video Merger plugin v0.3.0) View Source

Membrane Bin that cuts and merges multiple raw videos into one.

The bin expects each frame to be received in a separate buffer, so the parser (Membrane.Element.RawVideo.Parser) may be required in a pipeline before the merger bin (e.g. when input is read from Membrane.File.Source).

The element expects to receive frames in order from each input.

The bin consists of single Membrane.VideoMerger and mutliple Membrane.VideoCutter. Number of elements is constant: cutters are created at initialization, one for each stream.

Pads

:input

Availability:on_request
CapsMembrane.Caps.Video.Raw, restrictions:<br />&nbsp;&nbsp;aligned: true
Demand unit:buffers
Direction:input
Mode:pull
Name:input

Options:

  • stream

    Stream.t()

    Required
    A stream to cut and merge

:output

Availability:always
CapsMembrane.Caps.Video.Raw, restrictions:<br />&nbsp;&nbsp;aligned: true
Demand unit:buffers
Direction:output
Mode:pull
Name:output

Link to this section Summary

Types

Options for pad :input

Functions

Returns pads descriptions for Membrane.VideoCutAndMerge

Link to this section Types

Specs

input_pad_opts_t() :: [{:stream, Membrane.VideoCutAndMerge.Stream.t()}]

Options for pad :input

Link to this section Functions

Specs

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

Returns pads descriptions for Membrane.VideoCutAndMerge