<!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-assrender.html" title="assrender"> <meta name="generator" content="GTK-Doc V1.13 (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-assrender.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>" <span class="type">GstAmrwbEncBandMode</span> : 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="id353628"></a><h3>Example launch line</h3> <div class="informalexample"> <table class="listing_frame" border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <td class="listing_lines" align="right"><pre>1</pre></td> <td class="listing_code"><pre class="programlisting">gst<span class="symbol">-</span>launch filesrc location<span class="symbol">=</span>abc<span class="symbol">.</span>wav <span class="symbol">!</span> wavparse <span class="symbol">!</span> audioresample <span class="symbol">!</span> audioconvert <span class="symbol">!</span> amrwbenc <span class="symbol">!</span> filesink location<span class="symbol">=</span>abc<span class="symbol">.</span>amr</pre></td> </tr> </tbody> </table> </div> Please not that the above stream misses the header, that is needed to play the stream. </div> </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" <span class="type">GstAmrwbEncBandMode</span> : 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> <span class="type">GstAmrwbDec</span>, <span class="type">GstAmrwbParse</span> </div> </div> <div class="footer"> <hr> Generated by GTK-Doc V1.13</div> </body> </html>