View Source Membrane.FramerateConverter (Membrane Framerate Converter plugin v0.8.0)
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 pts
fields.
element-options
Element options
Passed via struct Membrane.FramerateConverter.t/0
framerate
{pos_integer(), pos_integer()}
Default value:
{30, 1}
Target framerate.
pads
Pads
input
:input
Accepted formats:
%RawVideo{aligned: true}
Direction: | :input |
Availability: | :always |
Flow control: | :auto |
output
:output
Accepted formats:
%RawVideo{aligned: true}
Direction: | :output |
Availability: | :always |
Flow control: | :auto |
Link to this section Summary
Types
Struct containing options for Membrane.FramerateConverter
Link to this section Types
@type t() :: %Membrane.FramerateConverter{framerate: {pos_integer(), pos_integer()}}
Struct containing options for Membrane.FramerateConverter
Link to this section Functions
@spec options() :: keyword()
Returns description of options available for this module