View Source Membrane.BlankVideoGenerator (Membrane Generator plugin v0.10.0)

Element responsible for generating black screen as raw video.

Element options

Passed via struct Membrane.BlankVideoGenerator.t/0

  • duration

    Time.t()

    Required
    Duration of the output

  • stream_format

    RawVideo.t()

    Required
    Video format of the output

Pads

:output

Accepted formats:

%RawVideo{pixel_format: pixel_format, aligned: true} when pixel_format in @supported_pixel_formats
Direction::output
Availability::always
Flow control::manual
Demand unit:nil

Summary

Types

t()

Struct containing options for Membrane.BlankVideoGenerator

Functions

Returns description of options available for this module

Types

@type t() :: %Membrane.BlankVideoGenerator{
  duration: Membrane.Time.t(),
  stream_format: Membrane.RawVideo.t()
}

Struct containing options for Membrane.BlankVideoGenerator

Functions

@spec options() :: keyword()

Returns description of options available for this module