Membrane.VideoCutAndMerge (Membrane Video Merger plugin v0.1.2) 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 |
Caps | Membrane.Caps.Video.Raw , restrictions:<br /> 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 |
Caps | Membrane.Caps.Video.Raw , restrictions:<br /> 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