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

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

Pads

input

:input

Availability :on_request
Caps Membrane.RawVideo, restrictions:
  aligned: true
Demand unit :buffers
Direction :input
Mode :pull
Name :input

Options:

  • stream

    Stream.t()

    Required
    A stream to cut and merge

output

:output

Availability :always
Caps Membrane.RawVideo, restrictions:
  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

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

Options for pad :input

Link to this section Functions

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

Returns pads descriptions for Membrane.VideoCutAndMerge