GStreamer Base Plugins 0.10 Plugins Reference Manual | ||||
---|---|---|---|---|
"bitrate" gint : Read / Write "last-message" gchar* : Read "managed" gboolean : Read / Write "max-bitrate" gint : Read / Write "min-bitrate" gint : Read / Write "quality" gfloat : Read / Write
This element encodes raw float audio into a Vorbis stream. Vorbis is a royalty-free audio codec maintained by the Xiph.org Foundation.
gst-launch -v audiotestsrc wave=sine num-buffers=100 ! audioconvert ! vorbisenc ! oggmux ! filesink location=sine.ogg
gst-launch -v alsasrc ! audioconvert ! vorbisenc ! oggmux ! filesink location=alsasrc.ogg
Last reviewed on 2006-03-01 (0.10.4)
plugin | vorbis |
author | Monty <monty@xiph.org>, Wim Taymans <wim@fluendo.com> |
class | Codec/Encoder/Audio |
"bitrate"
property"bitrate" gint : Read / Write
Attempt to encode at a bitrate averaging this (in bps). This uses the bitrate management engine, and is not recommended for most users. Quality is a better alternative. (-1 == disabled).
Allowed values: [-1,250001]
Default value: -1
"last-message"
property"last-message" gchar* : Read
The last status message.
Default value: NULL
"managed"
property"managed" gboolean : Read / Write
Enable bitrate management engine.
Default value: FALSE
"max-bitrate"
property"max-bitrate" gint : Read / Write
Specify a maximum bitrate (in bps). Useful for streaming applications. (-1 == disabled).
Allowed values: [-1,250001]
Default value: -1
"min-bitrate"
property"min-bitrate" gint : Read / Write
Specify a minimum bitrate (in bps). Useful for encoding for a fixed-size channel. (-1 == disabled).
Allowed values: [-1,250001]
Default value: -1