<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>theoraparse</title>
-<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="GStreamer Base Plugins 0.10 Plugins Reference Manual">
<link rel="up" href="ch01.html" title="gst-plugins-base Elements">
<link rel="prev" href="gst-plugins-base-plugins-theoraenc.html" title="theoraenc">
<link rel="next" href="gst-plugins-base-plugins-timeoverlay.html" title="timeoverlay">
-<meta name="generator" content="GTK-Doc V1.17 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
</div>
<div class="refsect1">
<a name="gst-plugins-base-plugins-theoraparse.description"></a><h2>Description</h2>
-<p>
-The theoraparse element will parse the header packets of the Theora
-stream and put them as the streamheader in the caps. This is used in the
-multifdsink case where you want to stream live theora streams to multiple
-clients, each client has to receive the streamheaders first before they can
-consume the theora packets.
-</p>
-<p>
-This element also makes sure that the buffers that it pushes out are properly
-timestamped and that their offset and offset_end are set. The buffers that
-theoraparse outputs have all of the metadata that oggmux expects to receive,
-which allows you to (for example) remux an ogg/theora file.
-</p>
-<p>
-In addition, this element allows you to fix badly synchronized streams. You
-pass in an array of (granule time, buffer time) synchronization points via
-the synchronization-points GValueArray property, and this element will adjust
-the granulepos values that it outputs. The adjustment will be made by
-offsetting all buffers that it outputs by a specified amount, and updating
-that offset from the value array whenever a keyframe is processed.
-</p>
-<p>
-</p>
-<div class="refsect2">
-<a name="idp6468032"></a><h3>Example pipelines</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="gtkdoc opt">-</span>launch <span class="gtkdoc opt">-</span>v filesrc location<span class="gtkdoc opt">=</span>video<span class="gtkdoc opt">.</span>ogg <span class="gtkdoc opt">!</span> oggdemux <span class="gtkdoc opt">!</span> theoraparse <span class="gtkdoc opt">!</span> fakesink</pre></td>
- </tr>
- </tbody>
- </table>
-</div>
- This pipeline shows that the streamheader is set in the caps, and that each
-buffer has the timestamp, duration, offset, and offset_end set.
-<div class="informalexample">
- <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
- <tbody>
- <tr>
- <td class="listing_lines" align="right"><pre>1
-2</pre></td>
- <td class="listing_code"><pre class="programlisting">gst<span class="gtkdoc opt">-</span>launch filesrc location<span class="gtkdoc opt">=</span>video<span class="gtkdoc opt">.</span>ogg <span class="gtkdoc opt">!</span> oggdemux <span class="gtkdoc opt">!</span> theoraparse \
- <span class="gtkdoc opt">!</span> oggmux <span class="gtkdoc opt">!</span> filesink location<span class="gtkdoc opt">=</span>video<span class="gtkdoc opt">-</span>remuxed<span class="gtkdoc opt">.</span>ogg</pre></td>
- </tr>
- </tbody>
- </table>
-</div>
- This pipeline shows remuxing. video-remuxed.ogg might not be exactly the same
-as video.ogg, but they should produce exactly the same decoded data.
-</div>
-<p>
-</p>
-<p>
-Last reviewed on 2008-05-28 (0.10.20)
-</p>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<div class="refsect2">
-<a name="idm18688"></a><h3>Element Information</h3>
+<a name="idp6266352"></a><h3>Element Information</h3>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
</div>
<hr>
<div class="refsect2">
-<a name="idp13526480"></a><h3>Element Pads</h3>
+<a name="idp7342592"></a><h3>Element Pads</h3>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<a name="GstTheoraParse-struct"></a><h3>struct GstTheoraParse</h3>
<pre class="programlisting">struct GstTheoraParse;</pre>
<p>
-Opaque data structure.
</p>
</div>
</div>
<p>An array of (granuletime, buffertime) pairs.</p>
</div>
</div>
-<div class="refsect1">
-<a name="gst-plugins-base-plugins-theoraparse.see-also"></a><h2>See Also</h2>
-theoradec, oggdemux, vorbisparse
-</div>
</div>
<div class="footer">
<hr>
- Generated by GTK-Doc V1.17</div>
+ Generated by GTK-Doc V1.18</div>
</body>
</html>
\ No newline at end of file