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

Element encoding raw audio into AAC format

element-options

Element options

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

pads

Pads

input

:input

Accepted formats:

%RawAudio{sample_format: :s16le, channels: channels, sample_rate: rate}
when channels in @allowed_channels and rate in @allowed_sample_rates
Direction::input
Availability::always
Flow control::auto
Demand unit::bytes

output

:output

Accepted formats:

_any
Direction::output
Availability::always
Flow control::auto
Demand unit:nil

Link to this section Summary

Functions

Returns description of options available for this module

Link to this section 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
@type allowed_channels() :: 1 | 2
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

Link to this section Functions

@spec options() :: keyword()

Returns description of options available for this module