View Source Membrane.VideoMerger (Membrane Video Merger plugin v0.5.0)

Membrane element that merges multiple raw videos into one.

The element 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 (e.g. when input is read from Membrane.File.Source).

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

Currently, VideoMerger may not be suitable for live merging streams: the element awaits for at least one frame from each of the inputs, and forwards the one with the lowest presentation timestamp.

pads

Pads

input

:input

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

output

:output

Availability :always
Caps Membrane.RawVideo, restrictions:
  aligned: true
Demand mode :manual
Demand unit :buffers
Direction :output
Mode :pull
Name :output

Link to this section Summary

Functions

Returns pads descriptions for Membrane.VideoMerger

Link to this section Functions

Specs

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

Returns pads descriptions for Membrane.VideoMerger