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

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 multiple Membrane.VideoCutter. Number of elements is constant: cutters are created at initialization, one for each stream.

Pads

:input

Accepted formats:

%RawVideo{aligned: true}
Direction::input
Availability::on_request

Pad options:

  • stream

    Stream.t()

    Required
    A stream to cut and merge

:output

Accepted formats:

%RawVideo{aligned: true}
Direction::output
Availability::always

Summary

Types

Options for pad :input

Types

@type input_pad_opts() :: [{:stream, Membrane.VideoCutAndMerge.Stream.t()}]

Options for pad :input