tizen 2.0 init
[framework/multimedia/gst-plugins-good0.10.git] / docs / plugins / html / gst-plugins-good-plugins-flacenc.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <title>flacenc</title>
6 <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7 <link rel="home" href="index.html" title="GStreamer Good Plugins 0.10 Plugins Reference Manual">
8 <link rel="up" href="ch01.html" title="gst-plugins-good Elements">
9 <link rel="prev" href="gst-plugins-good-plugins-flacdec.html" title="flacdec">
10 <link rel="next" href="gst-plugins-good-plugins-flacparse.html" title="flacparse">
11 <meta name="generator" content="GTK-Doc V1.18 (XML mode)">
12 <link rel="stylesheet" href="style.css" type="text/css">
13 </head>
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">
16 <tr valign="middle">
17 <td><a accesskey="p" href="gst-plugins-good-plugins-flacdec.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 Good Plugins 0.10 Plugins Reference Manual</th>
21 <td><a accesskey="n" href="gst-plugins-good-plugins-flacparse.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
22 </tr>
23 <tr><td colspan="5" class="shortcuts">
24 <a href="#gst-plugins-good-plugins-flacenc.synopsis" class="shortcut">Top</a>
25                    | 
26                   <a href="#gst-plugins-good-plugins-flacenc.description" class="shortcut">Description</a>
27                    | 
28                   <a href="#gst-plugins-good-plugins-flacenc.object-hierarchy" class="shortcut">Object Hierarchy</a>
29                    | 
30                   <a href="#gst-plugins-good-plugins-flacenc.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
31                    | 
32                   <a href="#gst-plugins-good-plugins-flacenc.properties" class="shortcut">Properties</a>
33 </td></tr>
34 </table>
35 <div class="refentry">
36 <a name="gst-plugins-good-plugins-flacenc"></a><div class="titlepage"></div>
37 <div class="refnamediv"><table width="100%"><tr>
38 <td valign="top">
39 <h2><span class="refentrytitle"><a name="gst-plugins-good-plugins-flacenc.top_of_page"></a>flacenc</span></h2>
40 <p>flacenc — Encodes audio with the FLAC lossless audio encoder</p>
41 </td>
42 <td valign="top" align="right"></td>
43 </tr></table></div>
44 <div class="refsynopsisdiv">
45 <a name="gst-plugins-good-plugins-flacenc.synopsis"></a><h2>Synopsis</h2>
46 <a name="GstFlacEnc"></a><pre class="synopsis">struct              <a class="link" href="gst-plugins-good-plugins-flacenc.html#GstFlacEnc-struct" title="struct GstFlacEnc">GstFlacEnc</a>;
47 </pre>
48 </div>
49 <div class="refsect1">
50 <a name="gst-plugins-good-plugins-flacenc.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                +----GstAudioEncoder
56                      +----GstFlacEnc
57 </pre>
58 </div>
59 <div class="refsect1">
60 <a name="gst-plugins-good-plugins-flacenc.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
61 <p>
62 GstFlacEnc 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>
64 </div>
65 <div class="refsect1">
66 <a name="gst-plugins-good-plugins-flacenc.properties"></a><h2>Properties</h2>
67 <pre class="synopsis">
68   "<a class="link" href="gst-plugins-good-plugins-flacenc.html#GstFlacEnc--blocksize" title='The "blocksize" property'>blocksize</a>"                <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write / Construct
69   "<a class="link" href="gst-plugins-good-plugins-flacenc.html#GstFlacEnc--escape-coding" title='The "escape-coding" property'>escape-coding</a>"            <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write / Construct
70   "<a class="link" href="gst-plugins-good-plugins-flacenc.html#GstFlacEnc--exhaustive-model-search" title='The "exhaustive-model-search" property'>exhaustive-model-search</a>"  <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write / Construct
71   "<a class="link" href="gst-plugins-good-plugins-flacenc.html#GstFlacEnc--loose-mid-side-stereo" title='The "loose-mid-side-stereo" property'>loose-mid-side-stereo</a>"    <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write / Construct
72   "<a class="link" href="gst-plugins-good-plugins-flacenc.html#GstFlacEnc--max-lpc-order" title='The "max-lpc-order" property'>max-lpc-order</a>"            <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write / Construct
73   "<a class="link" href="gst-plugins-good-plugins-flacenc.html#GstFlacEnc--max-residual-partition-order" title='The "max-residual-partition-order" property'>max-residual-partition-order</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write / Construct
74   "<a class="link" href="gst-plugins-good-plugins-flacenc.html#GstFlacEnc--mid-side-stereo" title='The "mid-side-stereo" property'>mid-side-stereo</a>"          <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write / Construct
75   "<a class="link" href="gst-plugins-good-plugins-flacenc.html#GstFlacEnc--min-residual-partition-order" title='The "min-residual-partition-order" property'>min-residual-partition-order</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write / Construct
76   "<a class="link" href="gst-plugins-good-plugins-flacenc.html#GstFlacEnc--qlp-coeff-prec-search" title='The "qlp-coeff-prec-search" property'>qlp-coeff-prec-search</a>"    <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write / Construct
77   "<a class="link" href="gst-plugins-good-plugins-flacenc.html#GstFlacEnc--qlp-coeff-precision" title='The "qlp-coeff-precision" property'>qlp-coeff-precision</a>"      <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write / Construct
78   "<a class="link" href="gst-plugins-good-plugins-flacenc.html#GstFlacEnc--quality" title='The "quality" property'>quality</a>"                  <span class="type">GstFlacEncQuality</span>     : Read / Write / Construct
79   "<a class="link" href="gst-plugins-good-plugins-flacenc.html#GstFlacEnc--rice-parameter-search-dist" title='The "rice-parameter-search-dist" property'>rice-parameter-search-dist</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write / Construct
80   "<a class="link" href="gst-plugins-good-plugins-flacenc.html#GstFlacEnc--streamable-subset" title='The "streamable-subset" property'>streamable-subset</a>"        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write / Construct
81   "<a class="link" href="gst-plugins-good-plugins-flacenc.html#GstFlacEnc--padding" title='The "padding" property'>padding</a>"                  <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write / Construct
82   "<a class="link" href="gst-plugins-good-plugins-flacenc.html#GstFlacEnc--seekpoints" title='The "seekpoints" property'>seekpoints</a>"               <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write / Construct
83 </pre>
84 </div>
85 <div class="refsect1">
86 <a name="gst-plugins-good-plugins-flacenc.description"></a><h2>Description</h2>
87 <div class="refsynopsisdiv">
88 <h2>Synopsis</h2>
89 <div class="refsect2">
90 <a name="idp6913376"></a><h3>Element Information</h3>
91 <div class="variablelist"><table border="0">
92 <col align="left" valign="top">
93 <tbody>
94 <tr>
95 <td><p><span class="term">plugin</span></p></td>
96 <td>
97             <a class="link" href="gst-plugins-good-plugins-plugin-flac.html#plugin-flac">flac</a>
98           </td>
99 </tr>
100 <tr>
101 <td><p><span class="term">author</span></p></td>
102 <td>Wim Taymans &lt;wim.taymans@chello.be&gt;</td>
103 </tr>
104 <tr>
105 <td><p><span class="term">class</span></p></td>
106 <td>Codec/Encoder/Audio</td>
107 </tr>
108 </tbody>
109 </table></div>
110 </div>
111 <hr>
112 <div class="refsect2">
113 <a name="idp14705920"></a><h3>Element Pads</h3>
114 <div class="variablelist"><table border="0">
115 <col align="left" valign="top">
116 <tbody>
117 <tr>
118 <td><p><span class="term">name</span></p></td>
119 <td>sink</td>
120 </tr>
121 <tr>
122 <td><p><span class="term">direction</span></p></td>
123 <td>sink</td>
124 </tr>
125 <tr>
126 <td><p><span class="term">presence</span></p></td>
127 <td>always</td>
128 </tr>
129 <tr>
130 <td><p><span class="term">details</span></p></td>
131 <td>audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)8, depth=(int)8, rate=(int)[ 1, 655350 ], channels=(int)[ 1, 8 ]</td>
132 </tr>
133 <tr>
134 <td><p><span class="term"></span></p></td>
135 <td> audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int){ 12, 16 }, rate=(int)[ 1, 655350 ], channels=(int)[ 1, 8 ]</td>
136 </tr>
137 <tr>
138 <td><p><span class="term"></span></p></td>
139 <td> audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)32, depth=(int){ 20, 24 }, rate=(int)[ 1, 655350 ], channels=(int)[ 1, 8 ]</td>
140 </tr>
141 </tbody>
142 </table></div>
143 <div class="variablelist"><table border="0">
144 <col align="left" valign="top">
145 <tbody>
146 <tr>
147 <td><p><span class="term">name</span></p></td>
148 <td>src</td>
149 </tr>
150 <tr>
151 <td><p><span class="term">direction</span></p></td>
152 <td>source</td>
153 </tr>
154 <tr>
155 <td><p><span class="term">presence</span></p></td>
156 <td>always</td>
157 </tr>
158 <tr>
159 <td><p><span class="term">details</span></p></td>
160 <td>audio/x-flac</td>
161 </tr>
162 </tbody>
163 </table></div>
164 </div>
165 </div>
166 <p>
167 </p>
168 </div>
169 <div class="refsect1">
170 <a name="gst-plugins-good-plugins-flacenc.details"></a><h2>Details</h2>
171 <div class="refsect2">
172 <a name="GstFlacEnc-struct"></a><h3>struct GstFlacEnc</h3>
173 <pre class="programlisting">struct GstFlacEnc;</pre>
174 <p>
175 </p>
176 </div>
177 </div>
178 <div class="refsect1">
179 <a name="gst-plugins-good-plugins-flacenc.property-details"></a><h2>Property Details</h2>
180 <div class="refsect2">
181 <a name="GstFlacEnc--blocksize"></a><h3>The <code class="literal">"blocksize"</code> property</h3>
182 <pre class="programlisting">  "blocksize"                <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write / Construct</pre>
183 <p>Blocksize in samples.</p>
184 <p>Allowed values: [16,65535]</p>
185 <p>Default value: 4608</p>
186 </div>
187 <hr>
188 <div class="refsect2">
189 <a name="GstFlacEnc--escape-coding"></a><h3>The <code class="literal">"escape-coding"</code> property</h3>
190 <pre class="programlisting">  "escape-coding"            <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write / Construct</pre>
191 <p>search for escape codes in the entropy coding stage for slightly better compression.</p>
192 <p>Default value: FALSE</p>
193 </div>
194 <hr>
195 <div class="refsect2">
196 <a name="GstFlacEnc--exhaustive-model-search"></a><h3>The <code class="literal">"exhaustive-model-search"</code> property</h3>
197 <pre class="programlisting">  "exhaustive-model-search"  <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write / Construct</pre>
198 <p>do exhaustive search of LP coefficient quantization (expensive!).</p>
199 <p>Default value: FALSE</p>
200 </div>
201 <hr>
202 <div class="refsect2">
203 <a name="GstFlacEnc--loose-mid-side-stereo"></a><h3>The <code class="literal">"loose-mid-side-stereo"</code> property</h3>
204 <pre class="programlisting">  "loose-mid-side-stereo"    <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write / Construct</pre>
205 <p>Loose mid side stereo.</p>
206 <p>Default value: FALSE</p>
207 </div>
208 <hr>
209 <div class="refsect2">
210 <a name="GstFlacEnc--max-lpc-order"></a><h3>The <code class="literal">"max-lpc-order"</code> property</h3>
211 <pre class="programlisting">  "max-lpc-order"            <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write / Construct</pre>
212 <p>Max LPC order; 0 =&gt; use only fixed predictors.</p>
213 <p>Allowed values: &lt;= 32</p>
214 <p>Default value: 8</p>
215 </div>
216 <hr>
217 <div class="refsect2">
218 <a name="GstFlacEnc--max-residual-partition-order"></a><h3>The <code class="literal">"max-residual-partition-order"</code> property</h3>
219 <pre class="programlisting">  "max-residual-partition-order" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write / Construct</pre>
220 <p>Max residual partition order (above 4 doesn't usually help much).</p>
221 <p>Allowed values: &lt;= 16</p>
222 <p>Default value: 3</p>
223 </div>
224 <hr>
225 <div class="refsect2">
226 <a name="GstFlacEnc--mid-side-stereo"></a><h3>The <code class="literal">"mid-side-stereo"</code> property</h3>
227 <pre class="programlisting">  "mid-side-stereo"          <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write / Construct</pre>
228 <p>Do mid side stereo (only for stereo input).</p>
229 <p>Default value: TRUE</p>
230 </div>
231 <hr>
232 <div class="refsect2">
233 <a name="GstFlacEnc--min-residual-partition-order"></a><h3>The <code class="literal">"min-residual-partition-order"</code> property</h3>
234 <pre class="programlisting">  "min-residual-partition-order" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write / Construct</pre>
235 <p>Min residual partition order (above 4 doesn't usually help much).</p>
236 <p>Allowed values: &lt;= 16</p>
237 <p>Default value: 3</p>
238 </div>
239 <hr>
240 <div class="refsect2">
241 <a name="GstFlacEnc--qlp-coeff-prec-search"></a><h3>The <code class="literal">"qlp-coeff-prec-search"</code> property</h3>
242 <pre class="programlisting">  "qlp-coeff-prec-search"    <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write / Construct</pre>
243 <p>false = use qlp_coeff_precision, true = search around qlp_coeff_precision, take best.</p>
244 <p>Default value: FALSE</p>
245 </div>
246 <hr>
247 <div class="refsect2">
248 <a name="GstFlacEnc--qlp-coeff-precision"></a><h3>The <code class="literal">"qlp-coeff-precision"</code> property</h3>
249 <pre class="programlisting">  "qlp-coeff-precision"      <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write / Construct</pre>
250 <p>Precision in bits of quantized linear-predictor coefficients; 0 = automatic.</p>
251 <p>Allowed values: &lt;= 32</p>
252 <p>Default value: 0</p>
253 </div>
254 <hr>
255 <div class="refsect2">
256 <a name="GstFlacEnc--quality"></a><h3>The <code class="literal">"quality"</code> property</h3>
257 <pre class="programlisting">  "quality"                  <span class="type">GstFlacEncQuality</span>     : Read / Write / Construct</pre>
258 <p>Speed versus compression tradeoff.</p>
259 <p>Default value: 5 - Default</p>
260 </div>
261 <hr>
262 <div class="refsect2">
263 <a name="GstFlacEnc--rice-parameter-search-dist"></a><h3>The <code class="literal">"rice-parameter-search-dist"</code> property</h3>
264 <pre class="programlisting">  "rice-parameter-search-dist" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write / Construct</pre>
265 <p>0 = try only calc'd parameter k; else try all [k-dist..k+dist] parameters, use best.</p>
266 <p>Allowed values: &lt;= 15</p>
267 <p>Default value: 0</p>
268 </div>
269 <hr>
270 <div class="refsect2">
271 <a name="GstFlacEnc--streamable-subset"></a><h3>The <code class="literal">"streamable-subset"</code> property</h3>
272 <pre class="programlisting">  "streamable-subset"        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write / Construct</pre>
273 <p>true to limit encoder to generating a Subset stream, else false.</p>
274 <p>Default value: TRUE</p>
275 </div>
276 <hr>
277 <div class="refsect2">
278 <a name="GstFlacEnc--padding"></a><h3>The <code class="literal">"padding"</code> property</h3>
279 <pre class="programlisting">  "padding"                  <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write / Construct</pre>
280 <p>Write a PADDING block with this length in bytes.</p>
281 <p>Default value: 0</p>
282 </div>
283 <hr>
284 <div class="refsect2">
285 <a name="GstFlacEnc--seekpoints"></a><h3>The <code class="literal">"seekpoints"</code> property</h3>
286 <pre class="programlisting">  "seekpoints"               <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write / Construct</pre>
287 <p>Add SEEKTABLE metadata (if &gt; 0, number of entries, if &lt; 0, interval in sec).</p>
288 <p>Allowed values: &gt;= -2147483647</p>
289 <p>Default value: 0</p>
290 </div>
291 </div>
292 </div>
293 <div class="footer">
294 <hr>
295           Generated by GTK-Doc V1.18</div>
296 </body>
297 </html>