View Source Membrane.CameraCapture (Membrane Camera Capture Plugin v0.1.0)

Membrane Source Element for capturing image from a camera through FFmpeg

element-options

Element options

Passed via struct Membrane.CameraCapture.t/0

  • device

    String.t()

    Default value: "default"
    Name of the device used to capture video

  • framerate

    non_neg_integer()

    Default value: 30
    Framerate of device's output video stream

pads

Pads

output

:output

Availability :always
Caps :any
Demand mode :manual
Demand unit :buffers
Direction :output
Mode :push
Name :output

Link to this section Summary

Types

t()

Struct containing options for Membrane.CameraCapture

Functions

Returns pads descriptions for Membrane.CameraCapture

Returns description of options available for this module

Link to this section Types

@type t() :: %Membrane.CameraCapture{device: String.t(), framerate: non_neg_integer()}

Struct containing options for Membrane.CameraCapture

Link to this section Functions

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

Returns pads descriptions for Membrane.CameraCapture

@spec options() :: keyword()

Returns description of options available for this module