Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > c918544921e88c4bd8b7047de18a345b > files > 143

gstreamer0.10-plugins-bad-doc-0.10.14-5mdv2010.0.i586.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>trm</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-timidity.html" title="timidity">
<link rel="next" href="gst-plugins-bad-plugins-valve.html" title="valve">
<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-timidity.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-valve.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-trm.synopsis" class="shortcut">Top</a>
                 | 
                <a href="#gst-plugins-bad-plugins-trm.description" class="shortcut">Description</a>
                 | 
                <a href="#gst-plugins-bad-plugins-trm.object-hierarchy" class="shortcut">Object Hierarchy</a>
                 | 
                <a href="#gst-plugins-bad-plugins-trm.properties" class="shortcut">Properties</a>
</td></tr>
</table>
<div class="refentry" title="trm">
<a name="gst-plugins-bad-plugins-trm"></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-trm.top_of_page"></a>trm</span></h2>
<p>trm — Compute MusicBrainz TRM Id using libmusicbrainz</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv" title="Synopsis">
<a name="gst-plugins-bad-plugins-trm.synopsis"></a><h2>Synopsis</h2>
<a name="GstTRM"></a><pre class="synopsis">
                    <a class="link" href="gst-plugins-bad-plugins-trm.html#GstTRM-struct" title="GstTRM">GstTRM</a>;
</pre>
</div>
<div class="refsect1" title="Object Hierarchy">
<a name="gst-plugins-bad-plugins-trm.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  <a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
   +----<a
href="/usr/share/gtk-doc/html/gstreamer-0.10/GstObject.html"
>GstObject</a>
         +----<a
href="/usr/share/gtk-doc/html/gstreamer-0.10/GstElement.html"
>GstElement</a>
               +----GstTRM
</pre>
</div>
<div class="refsect1" title="Properties">
<a name="gst-plugins-bad-plugins-trm.properties"></a><h2>Properties</h2>
<pre class="synopsis">
  "<a class="link" href="gst-plugins-bad-plugins-trm.html#GstTRM--proxy-address" title='The "proxy-address" property'>proxy-address</a>"            <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>*                : Read / Write
  "<a class="link" href="gst-plugins-bad-plugins-trm.html#GstTRM--proxy-port" title='The "proxy-port" property'>proxy-port</a>"               <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a>                 : Read / Write
</pre>
</div>
<div class="refsect1" title="Description">
<a name="gst-plugins-bad-plugins-trm.description"></a><h2>Description</h2>
<p>
GstTRM computes <a class="ulink" href="http://www.musicbrainz.org/" target="_top">MusicBrainz</a>
TRM identifiers for audio streams using libmusicbrainz.
</p>
<p>
A TRM identifier is something like an 'acoustic fingerprint', the aim is
to uniquely identify the same song regardless of which source it comes from
or which audio format the stream is in.
</p>
<p>
The TRM element will collect about 30 seconds of audio and let
libmusicbrainz calculate a preliminary audio signature from that. That audio
signature will then be sent over the internet to a musicbrainz.org server
which will calculate the TRM for that signature.
</p>
<p>
The TRM element will post a tag message with a <a
href="/usr/share/gtk-doc/html/gst-plugins-base-libs-0.10/gst-plugins-base-libs-gsttag.html#GST-TAG-MUSICBRAINZ-TRMID--CAPS"
><span class="type">GST_TAG_MUSICBRAINZ_TRMID</span></a>
tag on the bus once the TRM has been calculated (and also send a tag event
with that information downstream).
</p>
<p>
</p>
<div class="refsect2" title="Example pipeline">
<a name="id522074"></a><h3>Example pipeline</h3>
<div class="informalexample"><pre class="programlisting">
gst-launch -m filesrc location=somefile.ogg ! decodebin ! audioconvert ! trm ! fakesink
</pre></div> calculate the TRM and print the tag message with the TRM ID.
</div>
<div class="refsynopsisdiv" title="Synopsis">
<h2>Synopsis</h2>
<div class="refsect2" title="Element Information">
<a name="id521414"></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-musicbrainz.html#plugin-musicbrainz">musicbrainz</a>
          </td>
</tr>
<tr>
<td><p><span class="term">author</span></p></td>
<td>Jeremy Simon &lt;jsimon13@yahoo.fr&gt;</td>
</tr>
<tr>
<td><p><span class="term">class</span></p></td>
<td>Filter/Analyzer/Audio</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="Element Pads">
<a name="id521476"></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>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, endianness=(int)1234, signed=(boolean)true, width=(int){ 8, 16 }, depth=(int){ 8, 16 }, rate=(int)[ 8000, 96000 ], channels=(int)[ 1, 2 ]</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>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/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int){ 8, 16 }, depth=(int){ 8, 16 }, rate=(int)[ 8000, 96000 ], channels=(int)[ 1, 2 ]</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<p>
</p>
</div>
<div class="refsect1" title="Details">
<a name="gst-plugins-bad-plugins-trm.details"></a><h2>Details</h2>
<div class="refsect2" title="GstTRM">
<a name="GstTRM-struct"></a><h3>GstTRM</h3>
<pre class="programlisting">typedef struct _GstTRM GstTRM;</pre>
<p>
GStreamer TRM element. This structure is opaque (private).</p>
<p>
</p>
</div>
</div>
<div class="refsect1" title="Property Details">
<a name="gst-plugins-bad-plugins-trm.property-details"></a><h2>Property Details</h2>
<div class="refsect2" title='The "proxy-address" property'>
<a name="GstTRM--proxy-address"></a><h3>The <code class="literal">"proxy-address"</code> property</h3>
<pre class="programlisting">  "proxy-address"            <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>*                : Read / Write</pre>
<p>proxy address.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2" title='The "proxy-port" property'>
<a name="GstTRM--proxy-port"></a><h3>The <code class="literal">"proxy-port"</code> property</h3>
<pre class="programlisting">  "proxy-port"               <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a>                 : Read / Write</pre>
<p>proxy port.</p>
<p>Allowed values: [1,65535]</p>
<p>Default value: 8080</p>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.11</div>
</body>
</html>