Membrane.FramerateConverter (Membrane Framerate Converter plugin v0.1.0) View Source

Element converts video to target constant frame rate, by dropping and duplicating frames as necessary. Input video may have constant or variable frame rate. Element expects each frame to be received in separate buffer. Additionally, presentation timestamps must be passed in each buffer's metadata.

Element options

Passed via struct Membrane.FramerateConverter.t/0

  • framerate

    {pos_integer(), pos_integer()}

    Default value: {30, 1}
    Target framerate.

Pads

:input

Availability:always
CapsMembrane.Caps.Video.Raw, restrictions:<br />&nbsp;&nbsp;aligned: true
Demand unit:buffers
Direction:input
Mode:pull
Name:input

:output

Availability:always
CapsMembrane.Caps.Video.Raw, restrictions:<br />&nbsp;&nbsp;aligned: true
Direction:output
Mode:pull
Name:output

Link to this section Summary

Types

t()

Struct containing options for Membrane.FramerateConverter

Functions

Returns pads descriptions for Membrane.FramerateConverter

Returns description of options available for this module

Link to this section Types

Specs

t() :: %Membrane.FramerateConverter{framerate: {pos_integer(), pos_integer()}}

Struct containing options for Membrane.FramerateConverter

Link to this section Functions

Specs

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

Returns pads descriptions for Membrane.FramerateConverter

Specs

options() :: keyword()

Returns description of options available for this module