Membrane Element: Lame v0.1.0 Membrane.Element.Lame.Encoder View Source

Element encoding raw audio into MPEG-1, layer 3 format

Link to this section Summary

Types

t()

Struct containing options for Membrane.Element.Lame.Encoder

  • bitrate: Bitrate in kbit/sec
  • quality: Quality of the encoded audio

Functions

Returns all known sink pads for Membrane.Element.Lame.Encoder

Returns all known source pads for Membrane.Element.Lame.Encoder

Returns description of options available for this module

Link to this section Types

Link to this type t() View Source
t() :: %Membrane.Element.Lame.Encoder{
  bitrate: any(),
  quality: :low | :medium | :high
}

Struct containing options for Membrane.Element.Lame.Encoder

  • bitrate: Bitrate in kbit/sec
  • quality: Quality of the encoded audio

Link to this section Functions

Returns all known sink pads for Membrane.Element.Lame.Encoder

They are the following:

  • Pad: :sink

    • Availability: :always
    • Mode: {:pull, [demand_in: :bytes]}
    • Caps:

      • {Membrane.Caps.Audio.Raw, [format: :s32le, sample_rate: 44100, channels: 2]}

Returns all known source pads for Membrane.Element.Lame.Encoder

They are the following:

  • Pad: :source

    • Availability: :always
    • Mode: :pull
    • Caps:

      • {Membrane.Caps.Audio.MPEG, [channels: 2, sample_rate: 44100, layer: :layer3, version: :v1]}

Returns description of options available for this module