lame
(from GStreamer Good Plug-ins git)Opaque data structure.
Hierarchy
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstElement ╰──GstAudioEncoder ╰──lamemp3enc
Factory details
Authors: – Sebastian Dröge
Classification: – Codec/Encoder/Audio
Rank – primary
Plugin – libgstlame.so
Package – GStreamer Good Plug-ins git
Pad Templates
sink
audio/x-raw:
format: S16LE
layout: interleaved
rate: { (int)8000, (int)11025, (int)12000, (int)16000, (int)22050, (int)24000, (int)32000, (int)44100, (int)48000 }
channels: 1
audio/x-raw:
format: S16LE
layout: interleaved
rate: { (int)8000, (int)11025, (int)12000, (int)16000, (int)22050, (int)24000, (int)32000, (int)44100, (int)48000 }
channels: 2
channel-mask: 0x0000000000000003
Presence – always
Direction – sink
src
audio/mpeg:
mpegversion: 1
layer: 3
rate: { (int)8000, (int)11025, (int)12000, (int)16000, (int)22050, (int)24000, (int)32000, (int)44100, (int)48000 }
channels: [ 1, 2 ]
Presence – always
Direction – src
Properties
bitrate
“bitrate” gint
Bitrate in kbit/sec (Only valid if target is bitrate, for CBR one of 8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256 or 320)
Flags : Read / Write / Construct
Default value : 128
cbr
“cbr” gboolean
Enforce constant bitrate encoding (Only valid if target is bitrate)
Flags : Read / Write / Construct
Default value : false
encoding-engine-quality
“encoding-engine-quality” Lame-mp3enc-encoding-engine-quality
Quality/speed of the encoding engine, this does not affect the bitrate!
Flags : Read / Write / Construct
Default value : standard (1)
hard-resync
“hard-resync” gboolean
Perform clipping and sample flushing upon discontinuity
Flags : Read / Write
Default value : false
mark-granule
“mark-granule” gboolean
Apply granule semantics to buffer metadata (implies perfect-timestamp)
Flags : Read
Default value : false
perfect-timestamp
“perfect-timestamp” gboolean
Favour perfect timestamps over tracking upstream timestamps
Flags : Read / Write
Default value : false
quality
“quality” gfloat
VBR Quality from 0 to 10, 0 being the best (Only valid if target is quality)
Flags : Read / Write / Construct
Default value : 4
target
“target” Lame-mp3enc-target
Optimize for quality or bitrate
Flags : Read / Write / Construct
Default value : quality (0)
tolerance
“tolerance” gint64
Consider discontinuity if timestamp jitter/imperfection exceeds tolerance (ns)
Flags : Read / Write
Default value : 40000000
Named constants
Lame-mp3enc-encoding-engine-quality
Members
fast
(0) – Fast
standard
(1) – Standard
high
(2) – High
Lame-mp3enc-target
Members
quality
(0) – Quality
bitrate
(1) – Bitrate
The results of the search are