View Source Membrane.VideoCompositor.Scene (Membrane Video Compositor plugin v0.7.0)

Structure representing a top level specification of what is Video Compositor supposed to render.

Summary

Types

t()

Specify how output frame should look like.

Types

@type t() :: %Membrane.VideoCompositor.Scene{
  video_configs: %{
    required(Membrane.Pad.ref()) => Membrane.VideoCompositor.VideoConfig.t()
  }
}

Specify how output frame should look like.

If input pad isn't specified in video_configs it won't be used in composition.

Functions

@spec empty() :: t()
@spec pads(t()) :: MapSet.t()
Link to this function

validate(scene, input_pads, check_empty? \\ true)

View Source
@spec validate(t(), MapSet.t(), boolean()) :: :ok