Top |
gint | abr | Read / Write / Construct |
gint | bitrate | Read / Write / Construct |
gint | complexity | Read / Write / Construct |
gboolean | dtx | Read / Write / Construct |
gchar * | last-message | Read |
gint | nframes | Read / Write / Construct |
gfloat | quality | Read / Write / Construct |
gboolean | vad | Read / Write / Construct |
gboolean | vbr | Read / Write / Construct |
GstSpeexEncMode | mode | Read / Write / Construct |
GObject ╰── GInitiallyUnowned ╰── GstObject ╰── GstElement ╰── GstAudioEncoder ╰── GstSpeexEnc
This element encodes audio as a Speex stream.
Speex is a royalty-freeaudio codec maintained by the Xiph.org Foundation.
1 |
gst-launch-1.0 audiotestsrc num-buffers=100 ! speexenc ! oggmux ! filesink location=beep.ogg |
name |
sink |
direction |
sink |
presence |
always |
details |
audio/x-raw, format=(string)S16LE, layout=(string)interleaved, rate=(int)[ 6000, 48000 ], channels=(int)1 |
audio/x-raw, format=(string)S16LE, layout=(string)interleaved, rate=(int)[ 6000, 48000 ], channels=(int)2, channel-mask=(bitmask)0x0000000000000003 |
name |
src |
direction |
source |
presence |
always |
details |
audio/x-speex, rate=(int)[ 6000, 48000 ], channels=(int)[ 1, 2 ] |
“abr”
property “abr” gint
Enable average bit-rate (0 = disabled).
Flags: Read / Write / Construct
Allowed values: >= 0
Default value: 0
“bitrate”
property “bitrate” gint
Specify an encoding bit-rate (in bps). (0 = automatic).
Flags: Read / Write / Construct
Allowed values: >= 0
Default value: 0
“complexity”
property “complexity” gint
Set encoding complexity.
Flags: Read / Write / Construct
Allowed values: >= 0
Default value: 3
“dtx”
property “dtx” gboolean
Enable discontinuous transmission.
Flags: Read / Write / Construct
Default value: FALSE
“last-message”
property “last-message” gchar *
The last status message.
Flags: Read
Default value: NULL
“nframes”
property “nframes” gint
Number of frames per buffer.
Flags: Read / Write / Construct
Allowed values: >= 0
Default value: 1
“quality”
property “quality” gfloat
Encoding quality.
Flags: Read / Write / Construct
Allowed values: [0,10]
Default value: 8
“vad”
property “vad” gboolean
Enable voice activity detection.
Flags: Read / Write / Construct
Default value: FALSE
“vbr”
property “vbr” gboolean
Enable variable bit-rate.
Flags: Read / Write / Construct
Default value: FALSE