• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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>accurip: GStreamer Bad Plugins 1.0 Plugins Reference Manual</title>
6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7<link rel="home" href="index.html" title="GStreamer Bad Plugins 1.0 Plugins Reference Manual">
8<link rel="up" href="ch01.html" title="gst-plugins-bad Elements">
9<link rel="prev" href="gst-plugins-bad-plugins-a2dpsink.html" title="a2dpsink">
10<link rel="next" href="gst-plugins-bad-plugins-adpcmdec.html" title="adpcmdec">
11<meta name="generator" content="GTK-Doc V1.28 (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="5"><tr valign="middle">
16<td width="100%" align="left" class="shortcuts">
17<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span18                  <a href="#gst-plugins-bad-plugins-accurip.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span19                  <a href="#gst-plugins-bad-plugins-accurip.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties">  <span class="dim">|</span20                  <a href="#gst-plugins-bad-plugins-accurip.properties" class="shortcut">Properties</a></span>
21</td>
22<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
23<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
24<td><a accesskey="p" href="gst-plugins-bad-plugins-a2dpsink.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
25<td><a accesskey="n" href="gst-plugins-bad-plugins-adpcmdec.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
26</tr></table>
27<div class="refentry">
28<a name="gst-plugins-bad-plugins-accurip"></a><div class="titlepage"></div>
29<div class="refnamediv"><table width="100%"><tr>
30<td valign="top">
31<h2><span class="refentrytitle"><a name="gst-plugins-bad-plugins-accurip.top_of_page"></a>accurip</span></h2>
32<p>accurip</p>
33</td>
34<td class="gallery_image" valign="top" align="right"></td>
35</tr></table></div>
36<div class="refsect1">
37<a name="gst-plugins-bad-plugins-accurip.properties"></a><h2>Properties</h2>
38<div class="informaltable"><table class="informaltable" border="0">
39<colgroup>
40<col width="150px" class="properties_type">
41<col width="300px" class="properties_name">
42<col width="200px" class="properties_flags">
43</colgroup>
44<tbody>
45<tr>
46<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
47<td class="property_name"><a class="link" href="gst-plugins-bad-plugins-accurip.html#GstAccurip--first-track" title="The “first-track” property">first-track</a></td>
48<td class="property_flags">Read / Write</td>
49</tr>
50<tr>
51<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
52<td class="property_name"><a class="link" href="gst-plugins-bad-plugins-accurip.html#GstAccurip--last-track" title="The “last-track” property">last-track</a></td>
53<td class="property_flags">Read / Write</td>
54</tr>
55</tbody>
56</table></div>
57</div>
58<a name="GstAccurip"></a><div class="refsect1">
59<a name="gst-plugins-bad-plugins-accurip.other"></a><h2>Types and Values</h2>
60<div class="informaltable"><table class="informaltable" width="100%" border="0">
61<colgroup>
62<col width="150px" class="name">
63<col class="description">
64</colgroup>
65<tbody><tr>
66<td class="datatype_keyword">struct</td>
67<td class="function_name"><a class="link" href="gst-plugins-bad-plugins-accurip.html#GstAccurip-struct" title="struct GstAccurip">GstAccurip</a></td>
68</tr></tbody>
69</table></div>
70</div>
71<div class="refsect1">
72<a name="gst-plugins-bad-plugins-accurip.object-hierarchy"></a><h2>Object Hierarchy</h2>
73<pre class="screen">    <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
74    <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
75        <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstObject.html#GstObject-struct">GstObject</a>
76            <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstElement.html#GstElement-struct">GstElement</a>
77                <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gstreamer-libs-1.0/GstBaseTransform.html#GstBaseTransform-struct">GstBaseTransform</a>
78                    <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gst-plugins-base-libs-1.0/GstAudioFilter.html#GstAudioFilter-struct">GstAudioFilter</a>
79                        <span class="lineart">╰──</span> GstAccurip
80</pre>
81</div>
82<div class="refsect1">
83<a name="gst-plugins-bad-plugins-accurip.description"></a><h2>Description</h2>
84<p>The accurip element calculates a CRC for an audio stream which can be used
85to match the audio stream to a database hosted on</p>
86<a class="ulink" href="http://accuraterip.com/" target="_top">AccurateRip</a>. This database
87<p>is used to check for a CD rip accuracy.</p>
88<div class="refsect3">
89<a name="id-1.2.3.7.5"></a><h4>Example launch line</h4>
90<div class="informalexample">
91  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
92    <tbody>
93      <tr>
94        <td class="listing_lines" align="right"><pre>1</pre></td>
95        <td class="listing_code"><pre class="programlisting">gst<span class="gtkdoc opt">-</span>launch<span class="gtkdoc opt">-</span><span class="number">1.0</span> <span class="gtkdoc opt">-</span>m uridecodebin uri<span class="gtkdoc opt">=</span>file<span class="gtkdoc opt">:</span><span class="gtkdoc slc">///path/to/song.flac ! audioconvert ! accurip ! fakesink</span></pre></td>
96      </tr>
97    </tbody>
98  </table>
99</div>
100
101<p></p>
102</div>
103<div class="refsynopsisdiv">
104<h2>Synopsis</h2>
105<div class="refsect2">
106<a name="id-1.2.3.7.6.1"></a><h3>Element Information</h3>
107<div class="variablelist"><table border="0" class="variablelist">
108<colgroup>
109<col align="left" valign="top">
110<col>
111</colgroup>
112<tbody>
113<tr>
114<td><p><span class="term">plugin</span></p></td>
115<td>
116            <a class="link" href="gst-plugins-bad-plugins-plugin-accurip.html#plugin-accurip">accurip</a>
117          </td>
118</tr>
119<tr>
120<td><p><span class="term">author</span></p></td>
121<td>Christophe Fergeau &lt;teuf@gnome.org&gt;</td>
122</tr>
123<tr>
124<td><p><span class="term">class</span></p></td>
125<td>Filter/Analyzer/Audio</td>
126</tr>
127</tbody>
128</table></div>
129</div>
130<hr>
131<div class="refsect2">
132<a name="id-1.2.3.7.6.2"></a><h3>Element Pads</h3>
133<div class="variablelist"><table border="0" class="variablelist">
134<colgroup>
135<col align="left" valign="top">
136<col>
137</colgroup>
138<tbody>
139<tr>
140<td><p><span class="term">name</span></p></td>
141<td>sink</td>
142</tr>
143<tr>
144<td><p><span class="term">direction</span></p></td>
145<td>sink</td>
146</tr>
147<tr>
148<td><p><span class="term">presence</span></p></td>
149<td>always</td>
150</tr>
151<tr>
152<td><p><span class="term">details</span></p></td>
153<td>audio/x-raw, format=(string)S16LE, rate=(int)44100, channels=(int)2</td>
154</tr>
155</tbody>
156</table></div>
157<div class="variablelist"><table border="0" class="variablelist">
158<colgroup>
159<col align="left" valign="top">
160<col>
161</colgroup>
162<tbody>
163<tr>
164<td><p><span class="term">name</span></p></td>
165<td>src</td>
166</tr>
167<tr>
168<td><p><span class="term">direction</span></p></td>
169<td>source</td>
170</tr>
171<tr>
172<td><p><span class="term">presence</span></p></td>
173<td>always</td>
174</tr>
175<tr>
176<td><p><span class="term">details</span></p></td>
177<td>audio/x-raw, format=(string)S16LE, rate=(int)44100, channels=(int)2</td>
178</tr>
179</tbody>
180</table></div>
181</div>
182</div>
183</div>
184<div class="refsect1">
185<a name="gst-plugins-bad-plugins-accurip.functions_details"></a><h2>Functions</h2>
186<p></p>
187</div>
188<div class="refsect1">
189<a name="gst-plugins-bad-plugins-accurip.other_details"></a><h2>Types and Values</h2>
190<div class="refsect2">
191<a name="GstAccurip-struct"></a><h3>struct GstAccurip</h3>
192<pre class="programlisting">struct GstAccurip;</pre>
193<p>Opaque <a class="link" href="gst-plugins-bad-plugins-accurip.html#GstAccurip"><span class="type">GstAccurip</span></a> element structure</p>
194</div>
195</div>
196<div class="refsect1">
197<a name="gst-plugins-bad-plugins-accurip.property-details"></a><h2>Property Details</h2>
198<div class="refsect2">
199<a name="GstAccurip--first-track"></a><h3>The <code class="literal">“first-track”</code> property</h3>
200<pre class="programlisting">  “first-track”              <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
201<p>Indicate to the CRC calculation algorithm that this is the first track of a set.</p>
202<p>Flags: Read / Write</p>
203<p>Default value: FALSE</p>
204</div>
205<hr>
206<div class="refsect2">
207<a name="GstAccurip--last-track"></a><h3>The <code class="literal">“last-track”</code> property</h3>
208<pre class="programlisting">  “last-track”               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
209<p>Indicate to the CRC calculation algorithm that this is the last track of a set.</p>
210<p>Flags: Read / Write</p>
211<p>Default value: FALSE</p>
212</div>
213</div>
214</div>
215<div class="footer">
216<hr>Generated by GTK-Doc V1.28</div>
217</body>
218</html>