Membrane.AV1.Decoder (Membrane AV1 plugin v0.2.0)

Copy Markdown View Source

AV1 Decoder based on dav1d library.

Element options

Passed via struct Membrane.AV1.Decoder.t/0

  • n_threads

    n_threads()

    Default value: :auto
    Number of n_threads that the decoder will use. If set to :auto, then the number of logical cores in the host system will be assumed.

  • max_frame_delay

    max_frame_delay()

    Default value: :auto
    Determines the maximum amount of frames that the decoder will buffer, and in turn delay the output by that amount. If the decoder should operate in low latency mode, this option should be set to 1. If set to :auto, then value of ceil(sqrt(n_threads)) will be assumed.

Pads

:input

Accepted formats:

%AV1{alignment: :tu}
Direction::input
Availability::always
Flow control::auto

:output

Accepted formats:

%RawVideo{aligned: true}
Direction::output
Availability::always
Flow control::auto

Summary

Functions

Returns description of options available for this module

Types

max_frame_delay()

@type max_frame_delay() :: pos_integer() | :auto

n_threads()

@type n_threads() :: pos_integer() | :auto

t()

@type t() :: %Membrane.AV1.Decoder{
  max_frame_delay: max_frame_delay(),
  n_threads: n_threads()
}

Struct containing options for Membrane.AV1.Decoder

Functions

options()

@spec options() :: keyword()

Returns description of options available for this module