<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>amrwbenc</title> <meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> <link rel="home" href="index.html" title="GStreamer Bad Plugins 0.10 Plugins Reference Manual"> <link rel="up" href="ch01.html" title="gst-plugins-bad Elements"> <link rel="prev" href="gst-plugins-bad-plugins-amrparse.html" title="amrparse"> <link rel="next" href="gst-plugins-bad-plugins-autoconvert.html" title="autoconvert"> <meta name="generator" content="GTK-Doc V1.11 (XML mode)"> <link rel="stylesheet" href="style.css" type="text/css"> <link rel="chapter" href="ch01.html" title="gst-plugins-bad Elements"> <link rel="chapter" href="ch02.html" title="gst-plugins-bad Plugins"> <link rel="chapter" href="ch03.html" title="gst-plugins-bad Classes"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> <tr valign="middle"> <td><a accesskey="p" href="gst-plugins-bad-plugins-amrparse.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> <td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> <th width="100%" align="center">GStreamer Bad Plugins 0.10 Plugins Reference Manual</th> <td><a accesskey="n" href="gst-plugins-bad-plugins-autoconvert.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> </tr> <tr><td colspan="5" class="shortcuts"> <a href="#gst-plugins-bad-plugins-amrwbenc.synopsis" class="shortcut">Top</a> | <a href="#gst-plugins-bad-plugins-amrwbenc.description" class="shortcut">Description</a> | <a href="#gst-plugins-bad-plugins-amrwbenc.properties" class="shortcut">Properties</a> </td></tr> </table> <div class="refentry" title="amrwbenc"> <a name="gst-plugins-bad-plugins-amrwbenc"></a><div class="titlepage"></div> <div class="refnamediv"><table width="100%"><tr> <td valign="top"> <h2><span class="refentrytitle"><a name="gst-plugins-bad-plugins-amrwbenc.top_of_page"></a>amrwbenc</span></h2> <p>amrwbenc — Adaptive Multi-Rate Wideband audio encoder</p> </td> <td valign="top" align="right"></td> </tr></table></div> <div class="refsynopsisdiv" title="Synopsis"> <a name="gst-plugins-bad-plugins-amrwbenc.synopsis"></a><h2>Synopsis</h2> <pre class="synopsis"> <a class="link" href="gst-plugins-bad-plugins-amrwbenc.html#GstAmrwbEnc" title="GstAmrwbEnc">GstAmrwbEnc</a>; </pre> </div> <div class="refsect1" title="Properties"> <a name="gst-plugins-bad-plugins-amrwbenc.properties"></a><h2>Properties</h2> <pre class="synopsis"> "<a class="link" href="gst-plugins-bad-plugins-amrwbenc.html#GstAmrwbEnc--band-mode" title='The "band-mode" property'>band-mode</a>" GstAmrwbEncBandMode : Read / Write / Construct </pre> </div> <div class="refsect1" title="Description"> <a name="gst-plugins-bad-plugins-amrwbenc.description"></a><h2>Description</h2> <p> AMR wideband encoder based on the <a class="ulink" href="http://www.penguin.cz/~utx/amr" target="_top">reference codec implementation</a>. </p> <p> </p> <div class="refsect2" title="Example launch line"> <a name="id455353"></a><h3>Example launch line</h3> <div class="informalexample"><pre class="programlisting"> gst-launch filesrc location=abc.wav ! wavparse ! audioresample ! audioconvert ! amrwbenc ! filesink location=abc.amr </pre></div> Please not that the above stream misses the header, that is needed to play the stream. </div> <div class="refsynopsisdiv" title="Synopsis"> <h2>Synopsis</h2> <div class="refsect2" title="Element Information"> <a name="id466596"></a><h3>Element Information</h3> <div class="variablelist"><table border="0"> <col align="left" valign="top"> <tbody> <tr> <td><p><span class="term">plugin</span></p></td> <td> <a class="link" href="gst-plugins-bad-plugins-plugin-amrwbenc.html#plugin-amrwbenc">amrwbenc</a> </td> </tr> <tr> <td><p><span class="term">author</span></p></td> <td>Renato Araujo <renato.filho@indt.org.br></td> </tr> <tr> <td><p><span class="term">class</span></p></td> <td>Codec/Encoder/Audio</td> </tr> </tbody> </table></div> </div> <hr> <div class="refsect2" title="Element Pads"> <a name="id451798"></a><h3>Element Pads</h3> <div class="variablelist"><table border="0"> <col align="left" valign="top"> <tbody> <tr> <td><p><span class="term">name</span></p></td> <td>src</td> </tr> <tr> <td><p><span class="term">direction</span></p></td> <td>source</td> </tr> <tr> <td><p><span class="term">presence</span></p></td> <td>always</td> </tr> <tr> <td><p><span class="term">details</span></p></td> <td>audio/AMR-WB, rate=(int)16000, channels=(int)1</td> </tr> </tbody> </table></div> <div class="variablelist"><table border="0"> <col align="left" valign="top"> <tbody> <tr> <td><p><span class="term">name</span></p></td> <td>sink</td> </tr> <tr> <td><p><span class="term">direction</span></p></td> <td>sink</td> </tr> <tr> <td><p><span class="term">presence</span></p></td> <td>always</td> </tr> <tr> <td><p><span class="term">details</span></p></td> <td>audio/x-raw-int, width=(int)16, depth=(int)16, signed=(boolean)true, endianness=(int)1234, rate=(int)16000, channels=(int)1</td> </tr> </tbody> </table></div> </div> </div> <p> </p> </div> <div class="refsect1" title="Details"> <a name="gst-plugins-bad-plugins-amrwbenc.details"></a><h2>Details</h2> <div class="refsect2" title="GstAmrwbEnc"> <a name="GstAmrwbEnc"></a><h3>GstAmrwbEnc</h3> <pre class="programlisting">typedef struct { GstElement element; /* pads */ GstPad *sinkpad, *srcpad; guint64 ts; gboolean discont; GstAdapter *adapter; /* library handle */ void *handle; /* input settings */ gint bandmode; gint channels, rate; } GstAmrwbEnc; </pre> <p> </p> </div> </div> <div class="refsect1" title="Property Details"> <a name="gst-plugins-bad-plugins-amrwbenc.property-details"></a><h2>Property Details</h2> <div class="refsect2" title='The "band-mode" property'> <a name="GstAmrwbEnc--band-mode"></a><h3>The <code class="literal">"band-mode"</code> property</h3> <pre class="programlisting"> "band-mode" GstAmrwbEncBandMode : Read / Write / Construct</pre> <p>Encoding Band Mode (Kbps).</p> <p>Default value: MR660</p> </div> </div> <div class="refsect1" title="See Also"> <a name="gst-plugins-bad-plugins-amrwbenc.see-also"></a><h2>See Also</h2> #GstAmrwbDec, <span class="type">GstAmrwbParse</span> </div> </div> <div class="footer"> <hr> Generated by GTK-Doc V1.11</div> </body> </html>