View Source Membrane.AAC.Parser (Membrane AAC plugin v0.12.1)
Parser for Advanced Audio Codec.
Supports both plain and ADTS-encapsulated output (configured by out_encapsulation
).
Input with encapsulation :none
is supported, but correct AAC caps need to be supplied with the stream.
Adds sample rate based timestamp to metadata if absent.
element-options
Element options
Passed via struct Membrane.AAC.Parser.t/0
samples_per_frame
AAC.samples_per_frame_t()
Default value:
1024
Count of audio samples in each AAC frameout_encapsulation
AAC.encapsulation_t()
Default value:
:ADTS
Determines whether output AAC frames should be prefixed with ADTS headersin_encapsulation
AAC.encapsulation_t()
Default value:
:ADTS
pads
Pads
input
:input
Availability | :always |
Caps | :any |
Demand mode | :manual |
Demand unit | :buffers |
Direction | :input |
Mode | :pull |
Name | :input |
output
:output
Availability | :always |
Caps | Membrane.AAC |
Demand mode | :manual |
Demand unit | :buffers |
Direction | :output |
Mode | :pull |
Name | :output |
Link to this section Summary
Functions
Returns pads descriptions for Membrane.AAC.Parser
Returns description of options available for this module
Link to this section Types
@type t() :: %Membrane.AAC.Parser{ in_encapsulation: Membrane.AAC.encapsulation_t(), out_encapsulation: Membrane.AAC.encapsulation_t(), samples_per_frame: Membrane.AAC.samples_per_frame_t() }
Struct containing options for Membrane.AAC.Parser
@type timestamp_t() :: Ratio.t() | Membrane.Time.t()
Link to this section Functions
@spec membrane_pads() :: [{Membrane.Pad.name_t(), Membrane.Pad.description_t()}]
Returns pads descriptions for Membrane.AAC.Parser
@spec options() :: keyword()
Returns description of options available for this module