View Source Membrane.VP8.Encoder (Membrane VPx plugin v0.1.0)

Element that encodes a VP8 stream

Element options

Passed via struct Membrane.VP8.Encoder.t/0

  • encoding_deadline

    Membrane.Time.t() | :auto

    Default value: :auto
    Determines how long should it take the encoder to encode a frame. The longer the encoding takes the better the quality will be. If set to 0 the encoder will take as long as it needs to produce the best frame possible. Note that this is a soft limit, there is no guarantee that the encoding process will never exceed it. If set to :auto the deadline will be calculated based on the framerate provided by incoming stream format. If the framerate is nil a fixed deadline of 10ms will be set.

Pads

:input

Accepted formats:

Membrane.RawVideo
Direction::input
Availability::always
Flow control::auto

:output

Accepted formats:

VP8
Direction::output
Availability::always
Flow control::auto

Summary

Types

t()

Struct containing options for Membrane.VP8.Encoder

Functions

Returns description of options available for this module

Types

@type t() :: %Membrane.VP8.Encoder{encoding_deadline: Membrane.Time.t() | :auto}

Struct containing options for Membrane.VP8.Encoder

Functions

@spec options() :: keyword()

Returns description of options available for this module