Membrane Element: Lame v0.3.1 Membrane.Element.Lame.Encoder View Source
Element encoding raw audio into MPEG-1, layer 3 format
Link to this section Summary
Types
Struct containing options for Membrane.Element.Lame.Encoder
Functions
Returns pads specification for Membrane.Element.Lame.Encoder
Returns description of options available for this module
Link to this section Types
t()
View Source
t() :: %Membrane.Element.Lame.Encoder{
gapless_flush: boolean(),
bitrate: any(),
quality: non_neg_integer()
}
t() :: %Membrane.Element.Lame.Encoder{ gapless_flush: boolean(), bitrate: any(), quality: non_neg_integer() }
Struct containing options for Membrane.Element.Lame.Encoder
quality
- Value of this parameter affects quality by selecting one of the algorithms for encoding:0
being best (and very slow) and9
being worst.Recommended values:
2
- near-best quality, not too slow5
- good quality, fast7
- ok quality, really fastDefaults to
5
bitrate
- Output bitrate of encoded stream in kbit/sec.Defaults to
192
gapless_flush
- When this option is set to true, encoder will be flushed without outputting any tags and allowing to play such file gaplessly if concatenated with another file.Defaults to
true
Link to this section Functions
membrane_pads() View Source
Returns pads specification for Membrane.Element.Lame.Encoder
They are the following:
Pad
:input
- availability:
:always
- caps:
Membrane.Caps.Audio.Raw
, params:format
::s32le
,sample_rate
:44100
,channels
:2
- demand unit:
:bytes
- direction:
:input
- mode:
:pull
- availability:
Pad
:output
- availability:
:always
- caps:
Membrane.Caps.Audio.MPEG
, params:channels
:2
,sample_rate
:44100
,layer
::layer3
,version
::v1
- direction:
:output
- mode:
:pull
- availability:
options()
View Source
options() :: keyword()
options() :: keyword()
Returns description of options available for this module