Membrane.FramerateConverter (Membrane Framerate Converter plugin v0.2.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 |
Caps | Membrane.Caps.Video.Raw , restrictions:<br /> aligned: true |
Demand unit | :buffers |
Direction | :input |
Mode | :pull |
Name | :input |
:output
Availability | :always |
Caps | Membrane.Caps.Video.Raw , restrictions:<br /> aligned: true |
Direction | :output |
Mode | :pull |
Name | :output |
Link to this section Summary
Types
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