Membrane AAC plugin v0.5.0 Membrane.AAC.Parser View Source

Parser for Advanced Audio Codec.

Supports both plain and ADTS-encapsulated output (configured by out_encapsulation), but currently accepts only ADTS AAC input.

Adds sample rate based timestamp to metadata if absent.

Element options

Passed via struct Membrane.AAC.Parser.t/0

  • samples_per_frame

    Default value: 1024 Count of audio samples in each AAC frame

  • out_encapsulation

    Default value: :ADTS Determines whether output AAC frames should be prepended with ADTS headers

Pads

:input

Availability:always
Bin?false
Caps:any
Demand unit:bytes
Direction:input
Mode:pull
Name:input

:output

Availability:always
Bin?false
Capssamples_per_frame: 1024, restrictions:<br />&nbsp;&nbsp;Membrane.AAC
Direction:output
Mode:pull
Name:output

Link to this section Summary

Types

t()

Struct containing options for Membrane.AAC.Parser

Functions

Returns pads descriptions for Membrane.AAC.Parser

Returns description of options available for this module

Link to this section Types

Specs

t() :: %Membrane.AAC.Parser{
  out_encapsulation: Membrane.AAC.encapsulation_t(),
  samples_per_frame: Membrane.AAC.samples_per_frame_t()
}

Struct containing options for Membrane.AAC.Parser

Specs

timestamp_t() :: Ratio.t() | Membrane.Time.t()

Link to this section Functions

Specs

membrane_pads() :: [{Membrane.Pad.name_t(), Membrane.Pad.description_t()}]

Returns pads descriptions for Membrane.AAC.Parser

Specs

options() :: keyword()

Returns description of options available for this module