Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > 6d445a7e34cab500c4a729b1f6c7a5fd > files > 224

lib64gstreamer-plugins-base0.10-devel-0.10.17-3mdv2008.1.x86_64.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>vorbisparse</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" 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-vorbisenc.html" title="vorbisenc">
<link rel="next" href="gst-plugins-base-plugins-vorbistag.html" title="vorbistag">
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="chapter" href="ch01.html" title="gst-plugins-base Elements">
<link rel="chapter" href="ch02.html" title="gst-plugins-base Plugins">
</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-base-plugins-vorbisenc.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 Base Plugins 0.10 Plugins Reference Manual</th>
<td><a accesskey="n" href="gst-plugins-base-plugins-vorbistag.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2614643" class="shortcut">Top</a>
                  &#160;|&#160;
                  <a href="#id2565128" class="shortcut">Description</a>
                  &#160;|&#160;
                  <a href="#id2614602" class="shortcut">Object Hierarchy</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="gst-plugins-base-plugins-vorbisparse"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2614643"></a><span class="refentrytitle">vorbisparse</span>
</h2>
<p>vorbisparse &#8212; parses vorbis streams</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<a name="GstVorbisParse"></a><pre class="synopsis">



                    <a href="gst-plugins-base-plugins-vorbisparse.html#GstVorbisParse-struct">GstVorbisParse</a>;

</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2614602"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">

  GObject
   +----GstObject
         +----GstElement
               +----GstVorbisParse
                     +----<a href="gst-plugins-base-plugins-vorbistag.html#GstVorbisTag">GstVorbisTag</a>
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2565128"></a><h2>Description</h2>
<p>
</p>
<div class="refsect2" lang="en">
<a name="id2509633"></a><p>
The vorbisparse element will parse the header packets of the Vorbis
stream and put them as the streamheader in the caps. This is used in the
multifdsink case where you want to stream live vorbis streams to multiple
clients, each client has to receive the streamheaders first before they can
consume the vorbis 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
vorbisparse outputs have all of the metadata that oggmux expects to receive,
which allows you to (for example) remux an ogg/vorbis file.
</p>
<h3>Example pipelines</h3>
<p>
</p>
<pre class="programlisting">
gst-launch -v filesrc location=sine.ogg ! oggdemux ! vorbisparse ! fakesink
</pre>
<p>
This pipeline shows that the streamheader is set in the caps, and that each
buffer has the timestamp, duration, offset, and offset_end set.
</p>
<p>
</p>
<pre class="programlisting">
gst-launch filesrc location=sine.ogg ! oggdemux ! vorbisparse \
           ! oggmux ! filesink location=sine-remuxed.ogg
</pre>
<p>
This pipeline shows remuxing. sine-remuxed.ogg might not be exactly the same
as sine.ogg, but they should produce exactly the same decoded data.
</p>
</div>
<p>
</p>
<p>
Last reviewed on 2006-04-01 (0.10.4.1)</p>
<div class="refsect2" lang="en">
<a name="id2560514"></a><h3>Element Information</h3>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term">plugin</span></td>
<td>
          <a href="gst-plugins-base-plugins-plugin-vorbis.html#plugin-vorbis">vorbis</a>
        </td>
</tr>
<tr>
<td><span class="term">author</span></td>
<td>Thomas Vander Stichele &lt;thomas at apestaart dot org&gt;</td>
</tr>
<tr>
<td><span class="term">class</span></td>
<td>Codec/Parser/Audio</td>
</tr>
</tbody>
</table></div>
<h3>Element Pads</h3>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term">name</span></td>
<td>src</td>
</tr>
<tr>
<td><span class="term">direction</span></td>
<td>source</td>
</tr>
<tr>
<td><span class="term">presence</span></td>
<td>always</td>
</tr>
<tr>
<td><span class="term">details</span></td>
<td>audio/x-vorbis</td>
</tr>
</tbody>
</table></div>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term">name</span></td>
<td>sink</td>
</tr>
<tr>
<td><span class="term">direction</span></td>
<td>sink</td>
</tr>
<tr>
<td><span class="term">presence</span></td>
<td>always</td>
</tr>
<tr>
<td><span class="term">details</span></td>
<td>audio/x-vorbis</td>
</tr>
</tbody>
</table></div>
</div>
<p>

</p>
</div>
<div class="refsect1" lang="en">
<a name="id2620091"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2620102"></a><h3>
<a name="GstVorbisParse-struct"></a>GstVorbisParse</h3>
<a class="indexterm" name="id2622217"></a><pre class="programlisting">typedef struct _GstVorbisParse GstVorbisParse;</pre>
<p>
Opaque data structure.</p>
<p>

</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2622237"></a><h2>See Also</h2>
vorbisdec, oggdemux, theoraparse
</div>
</div>
</body>
</html>