1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <title>vorbisenc</title>
6 <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7 <link rel="home" href="index.html" title="GStreamer Base Plugins 0.10 Plugins Reference Manual">
8 <link rel="up" href="ch01.html" title="gst-plugins-base Elements">
9 <link rel="prev" href="gst-plugins-base-plugins-vorbisdec.html" title="vorbisdec">
10 <link rel="next" href="gst-plugins-base-plugins-vorbisparse.html" title="vorbisparse">
11 <meta name="generator" content="GTK-Doc V1.18 (XML mode)">
12 <link rel="stylesheet" href="style.css" type="text/css">
14 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15 <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
17 <td><a accesskey="p" href="gst-plugins-base-plugins-vorbisdec.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18 <td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19 <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20 <th width="100%" align="center">GStreamer Base Plugins 0.10 Plugins Reference Manual</th>
21 <td><a accesskey="n" href="gst-plugins-base-plugins-vorbisparse.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
23 <tr><td colspan="5" class="shortcuts">
24 <a href="#gst-plugins-base-plugins-vorbisenc.synopsis" class="shortcut">Top</a>
26 <a href="#gst-plugins-base-plugins-vorbisenc.description" class="shortcut">Description</a>
28 <a href="#gst-plugins-base-plugins-vorbisenc.object-hierarchy" class="shortcut">Object Hierarchy</a>
30 <a href="#gst-plugins-base-plugins-vorbisenc.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
32 <a href="#gst-plugins-base-plugins-vorbisenc.properties" class="shortcut">Properties</a>
35 <div class="refentry">
36 <a name="gst-plugins-base-plugins-vorbisenc"></a><div class="titlepage"></div>
37 <div class="refnamediv"><table width="100%"><tr>
39 <h2><span class="refentrytitle"><a name="gst-plugins-base-plugins-vorbisenc.top_of_page"></a>vorbisenc</span></h2>
40 <p>vorbisenc — Encodes audio in Vorbis format</p>
42 <td valign="top" align="right"></td>
44 <div class="refsynopsisdiv">
45 <a name="gst-plugins-base-plugins-vorbisenc.synopsis"></a><h2>Synopsis</h2>
46 <a name="GstVorbisEnc"></a><pre class="synopsis">struct <a class="link" href="gst-plugins-base-plugins-vorbisenc.html#GstVorbisEnc-struct" title="struct GstVorbisEnc">GstVorbisEnc</a>;
49 <div class="refsect1">
50 <a name="gst-plugins-base-plugins-vorbisenc.object-hierarchy"></a><h2>Object Hierarchy</h2>
51 <pre class="synopsis">
52 <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
53 +----<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstObject.html">GstObject</a>
54 +----<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html">GstElement</a>
55 +----<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstaudioencoder.html#GstAudioEncoder">GstAudioEncoder</a>
59 <div class="refsect1">
60 <a name="gst-plugins-base-plugins-vorbisenc.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
62 GstVorbisEnc implements
63 <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstTagSetter.html">GstTagSetter</a> and <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPreset.html">GstPreset</a>.</p>
65 <div class="refsect1">
66 <a name="gst-plugins-base-plugins-vorbisenc.properties"></a><h2>Properties</h2>
67 <pre class="synopsis">
68 "<a class="link" href="gst-plugins-base-plugins-vorbisenc.html#GstVorbisEnc--bitrate" title='The "bitrate" property'>bitrate</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
69 "<a class="link" href="gst-plugins-base-plugins-vorbisenc.html#GstVorbisEnc--last-message" title='The "last-message" property'>last-message</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read
70 "<a class="link" href="gst-plugins-base-plugins-vorbisenc.html#GstVorbisEnc--managed" title='The "managed" property'>managed</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
71 "<a class="link" href="gst-plugins-base-plugins-vorbisenc.html#GstVorbisEnc--max-bitrate" title='The "max-bitrate" property'>max-bitrate</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
72 "<a class="link" href="gst-plugins-base-plugins-vorbisenc.html#GstVorbisEnc--min-bitrate" title='The "min-bitrate" property'>min-bitrate</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
73 "<a class="link" href="gst-plugins-base-plugins-vorbisenc.html#GstVorbisEnc--quality" title='The "quality" property'>quality</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> : Read / Write
76 <div class="refsect1">
77 <a name="gst-plugins-base-plugins-vorbisenc.description"></a><h2>Description</h2>
78 <div class="refsynopsisdiv">
80 <div class="refsect2">
81 <a name="idp15533792"></a><h3>Element Information</h3>
82 <div class="variablelist"><table border="0">
83 <col align="left" valign="top">
86 <td><p><span class="term">plugin</span></p></td>
88 <a class="link" href="gst-plugins-base-plugins-plugin-vorbis.html#plugin-vorbis">vorbis</a>
92 <td><p><span class="term">author</span></p></td>
93 <td>Monty <monty@xiph.org>, Wim Taymans <wim@fluendo.com></td>
96 <td><p><span class="term">class</span></p></td>
97 <td>Codec/Encoder/Audio</td>
103 <div class="refsect2">
104 <a name="idp15550768"></a><h3>Element Pads</h3>
105 <div class="variablelist"><table border="0">
106 <col align="left" valign="top">
109 <td><p><span class="term">name</span></p></td>
113 <td><p><span class="term">direction</span></p></td>
117 <td><p><span class="term">presence</span></p></td>
121 <td><p><span class="term">details</span></p></td>
122 <td>audio/x-raw-float, rate=(int)[ 1, 200000 ], channels=(int)[ 1, 255 ], endianness=(int)1234, width=(int)32</td>
126 <div class="variablelist"><table border="0">
127 <col align="left" valign="top">
130 <td><p><span class="term">name</span></p></td>
134 <td><p><span class="term">direction</span></p></td>
138 <td><p><span class="term">presence</span></p></td>
142 <td><p><span class="term">details</span></p></td>
143 <td>audio/x-vorbis</td>
152 <div class="refsect1">
153 <a name="gst-plugins-base-plugins-vorbisenc.details"></a><h2>Details</h2>
154 <div class="refsect2">
155 <a name="GstVorbisEnc-struct"></a><h3>struct GstVorbisEnc</h3>
156 <pre class="programlisting">struct GstVorbisEnc;</pre>
161 <div class="refsect1">
162 <a name="gst-plugins-base-plugins-vorbisenc.property-details"></a><h2>Property Details</h2>
163 <div class="refsect2">
164 <a name="GstVorbisEnc--bitrate"></a><h3>The <code class="literal">"bitrate"</code> property</h3>
165 <pre class="programlisting"> "bitrate" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
166 <p>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).</p>
167 <p>Allowed values: [G_MAXULONG,250001]</p>
168 <p>Default value: -1</p>
171 <div class="refsect2">
172 <a name="GstVorbisEnc--last-message"></a><h3>The <code class="literal">"last-message"</code> property</h3>
173 <pre class="programlisting"> "last-message" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read</pre>
174 <p>The last status message.</p>
175 <p>Default value: NULL</p>
178 <div class="refsect2">
179 <a name="GstVorbisEnc--managed"></a><h3>The <code class="literal">"managed"</code> property</h3>
180 <pre class="programlisting"> "managed" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
181 <p>Enable bitrate management engine.</p>
182 <p>Default value: FALSE</p>
185 <div class="refsect2">
186 <a name="GstVorbisEnc--max-bitrate"></a><h3>The <code class="literal">"max-bitrate"</code> property</h3>
187 <pre class="programlisting"> "max-bitrate" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
188 <p>Specify a maximum bitrate (in bps). Useful for streaming applications. (-1 == disabled).</p>
189 <p>Allowed values: [G_MAXULONG,250001]</p>
190 <p>Default value: -1</p>
193 <div class="refsect2">
194 <a name="GstVorbisEnc--min-bitrate"></a><h3>The <code class="literal">"min-bitrate"</code> property</h3>
195 <pre class="programlisting"> "min-bitrate" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
196 <p>Specify a minimum bitrate (in bps). Useful for encoding for a fixed-size channel. (-1 == disabled).</p>
197 <p>Allowed values: [G_MAXULONG,250001]</p>
198 <p>Default value: -1</p>
201 <div class="refsect2">
202 <a name="GstVorbisEnc--quality"></a><h3>The <code class="literal">"quality"</code> property</h3>
203 <pre class="programlisting"> "quality" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> : Read / Write</pre>
204 <p>Specify quality instead of specifying a particular bitrate.</p>
205 <p>Allowed values: [-0.1,1]</p>
206 <p>Default value: 0.3</p>
212 Generated by GTK-Doc V1.18</div>