Hierarchy
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstElement ╰──GstAudioEncoder ╰──twolamemp2enc
Implemented interfaces
Factory details
Authors: – Sebastian Dröge
Classification: – Codec/Encoder/Audio
Rank – primary
Plugin – twolame
Package – GStreamer Good Plug-ins
Pad Templates
sink
audio/x-raw:
format: { F32LE, S16LE }
layout: interleaved
rate: { (int)16000, (int)22050, (int)24000, (int)32000, (int)44100, (int)48000 }
channels: 1
audio/x-raw:
format: { F32LE, S16LE }
layout: interleaved
rate: { (int)16000, (int)22050, (int)24000, (int)32000, (int)44100, (int)48000 }
channels: 2
channel-mask: 0x0000000000000003
src
audio/mpeg:
mpegversion: 1
layer: 2
rate: { (int)16000, (int)22050, (int)24000, (int)32000, (int)44100, (int)48000 }
channels: [ 1, 2 ]
Properties
bitrate
“bitrate” gint
Bitrate in kbit/sec (8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 144, 160, 192, 224, 256, 320, 384)
Flags : Read / Write
Default value : 192
emphasis
“emphasis” GstTwoLameEmphasis *
Pre-emphasis to apply to the decoded audio
Flags : Read / Write
Default value : none (0)
energy-level-extension
“energy-level-extension” gboolean
Write peak PCM level to each frame
Flags : Read / Write
Default value : false
error-protection
“error-protection” gboolean
Adds checksum to every frame
Flags : Read / Write
Default value : false
psymodel
“psymodel” gint
Psychoacoustic model used to encode the audio
Flags : Read / Write
Default value : 3
quick-mode
“quick-mode” gboolean
Calculate Psymodel every frames
Flags : Read / Write
Default value : false
quick-mode-count
“quick-mode-count” gint
Calculate Psymodel every n frames
Flags : Read / Write
Default value : 10
vbr-max-bitrate
“vbr-max-bitrate” gint
Specify maximum VBR bitrate (0=off, 8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 144, 160, 192, 224, 256, 320, 384)
Flags : Read / Write
Default value : 0
Named constants
GstTwoLameEmphasis
Members
none
(0) – No emphasis
5
(1) – 50/15 ms
ccit
(3) – CCIT J.17
GstTwoLameMode
Members
auto
(-1) – Auto
stereo
(0) – Stereo
joint
(1) – Joint Stereo
dual
(2) – Dual Channel
mono
(3) – Mono
GstTwoLamePadding
Members
never
(0) – No Padding
always
(1) – Always Pad
The results of the search are