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