View Source Membrane.FFmpeg.SWResample.Converter (Membrane FFmpeg SWResample plugin v0.16.0)
This element performs audio conversion/resampling/channel mixing, using SWResample module of FFmpeg library.
element-options
Element options
Passed via struct Membrane.FFmpeg.SWResample.Converter.t/0
input_stream_format
RawAudio.t() | nil
Default value:
nil
Stream format for the input pad. If set to nil (default value), stream format is assumed to be received through the pad. If explicitly set to some stream format, it cannot be changed by stream format received through the pad.output_stream_format
RawAudio.t()
Required
Audio stream format for output pad
pads
Pads
input
:input
Accepted formats |
|
Availability | :always |
Demand mode | :auto |
Demand unit | :bytes |
Direction | :input |
Mode | :pull |
Name | :input |
Accepted formats |
|
Availability | :always |
Demand mode | :auto |
Direction | :output |
Mode | :pull |
Name | :output |
Link to this section Summary
Types
Struct containing options for Membrane.FFmpeg.SWResample.Converter
Link to this section Types
@type t() :: %Membrane.FFmpeg.SWResample.Converter{ input_stream_format: Membrane.RawAudio.t() | nil, output_stream_format: Membrane.RawAudio.t() }
Struct containing options for Membrane.FFmpeg.SWResample.Converter
Link to this section Functions
@spec options() :: keyword()
Returns description of options available for this module