AV1 Decoder based on dav1d library.
Element options
Passed via struct Membrane.AV1.Decoder.t/0
n_threadsn_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_delaymax_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 ofceil(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
Types
@type max_frame_delay() :: pos_integer() | :auto
@type n_threads() :: pos_integer() | :auto
@type t() :: %Membrane.AV1.Decoder{ max_frame_delay: max_frame_delay(), n_threads: n_threads() }
Struct containing options for Membrane.AV1.Decoder
Functions
@spec options() :: keyword()
Returns description of options available for this module