View Source Membrane.AAC.FDK.Encoder (Membrane AAC FDK plugin v0.18.9)

Element encoding raw audio into AAC format

Element options

Passed via struct Membrane.AAC.FDK.Encoder.t/0

Pads

:input

Accepted formats:

%RawAudio{sample_format: :s16le, sample_rate: rate} when rate in @allowed_sample_rates
Direction::input
Availability::always
Flow control::auto

:output

Accepted formats:

%AAC{encapsulation: :ADTS}
Direction::output
Availability::always
Flow control::auto

Summary

Functions

Returns description of options available for this module

Types

@type allowed_aots() :: :mpeg4_lc | :mpeg4_he | :mpeg4_he_v2 | :mpeg2_lc | :mpeg2_he
Link to this type

allowed_bitrate_modes()

View Source
@type allowed_bitrate_modes() :: 0 | 1 | 2 | 3 | 4 | 5
Link to this type

allowed_sample_rates()

View Source
@type allowed_sample_rates() ::
  96000
  | 88200
  | 64000
  | 48000
  | 44100
  | 32000
  | 24000
  | 22050
  | 16000
  | 12000
  | 11025
  | 8000
@type t() :: %Membrane.AAC.FDK.Encoder{
  aot: allowed_aots(),
  bitrate: pos_integer() | nil,
  bitrate_mode: allowed_bitrate_modes()
}

Struct containing options for Membrane.AAC.FDK.Encoder

Functions

@spec options() :: keyword()

Returns description of options available for this module