Sophie

Sophie

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

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>kateparse</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-katedec.html" title="katedec">
<link rel="next" href="gst-plugins-bad-plugins-katetag.html" title="katetag">
<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-katedec.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-katetag.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-kateparse.synopsis" class="shortcut">Top</a>
                 | 
                <a href="#gst-plugins-bad-plugins-kateparse.description" class="shortcut">Description</a>
                 | 
                <a href="#gst-plugins-bad-plugins-kateparse.object-hierarchy" class="shortcut">Object Hierarchy</a>
</td></tr>
</table>
<div class="refentry" title="kateparse">
<a name="gst-plugins-bad-plugins-kateparse"></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-kateparse.top_of_page"></a>kateparse</span></h2>
<p>kateparse — parses kate streams</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv" title="Synopsis">
<a name="gst-plugins-bad-plugins-kateparse.synopsis"></a><h2>Synopsis</h2>
<a name="GstKateParse"></a><pre class="synopsis">
                    <a class="link" href="gst-plugins-bad-plugins-kateparse.html#GstKateParse-struct" title="GstKateParse">GstKateParse</a>;
</pre>
</div>
<div class="refsect1" title="Object Hierarchy">
<a name="gst-plugins-bad-plugins-kateparse.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>
               +----GstKateParse
                     +----<a class="link" href="gst-plugins-bad-plugins-katetag.html#GstKateTag">GstKateTag</a>
</pre>
</div>
<div class="refsect1" title="Description">
<a name="gst-plugins-bad-plugins-kateparse.description"></a><h2>Description</h2>
<p>
</p>
<div class="refsect2" title="Example pipelines">
<a name="id443772"></a><h3>Example pipelines</h3>
<p>
The kateparse element will parse the header packets of the Kate
stream and put them as the streamheader in the caps. This is used in the
multifdsink case where you want to stream live kate streams to multiple
clients, each client has to receive the streamheaders first before they can
consume the kate 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
kateparse outputs have all of the metadata that oggmux expects to receive,
which allows you to (for example) remux an ogg/kate file.
</p>
<p>
</p>
<pre class="programlisting">
gst-launch -v filesrc location=kate.ogg ! oggdemux ! kateparse ! 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=kate.ogg ! oggdemux ! kateparse \
           ! oggmux ! filesink location=kate-remuxed.ogg
</pre>
<p>
This pipeline shows remuxing. kate-remuxed.ogg might not be exactly the same
as kate.ogg, but they should produce exactly the same decoded data.
</p>
</div>
<div class="refsynopsisdiv" title="Synopsis">
<h2>Synopsis</h2>
<div class="refsect2" title="Element Information">
<a name="id453779"></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-kate.html#plugin-kate">kate</a>
          </td>
</tr>
<tr>
<td><p><span class="term">author</span></p></td>
<td>Vincent Penquerc'h &lt;ogg.k.ogg.k at googlemail dot com&gt;</td>
</tr>
<tr>
<td><p><span class="term">class</span></p></td>
<td>Codec/Parser/Subtitle</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="Element Pads">
<a name="id497761"></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>subtitle/x-kate</td>
</tr>
<tr>
<td><p><span class="term"></span></p></td>
<td> application/x-kate</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>subtitle/x-kate</td>
</tr>
<tr>
<td><p><span class="term"></span></p></td>
<td> application/x-kate</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<p>
</p>
</div>
<div class="refsect1" title="Details">
<a name="gst-plugins-bad-plugins-kateparse.details"></a><h2>Details</h2>
<div class="refsect2" title="GstKateParse">
<a name="GstKateParse-struct"></a><h3>GstKateParse</h3>
<pre class="programlisting">typedef struct _GstKateParse GstKateParse;</pre>
<p>
Opaque data structure.</p>
<p>
</p>
</div>
</div>
<div class="refsect1" title="See Also">
<a name="gst-plugins-bad-plugins-kateparse.see-also"></a><h2>See Also</h2>
katedec, vorbisparse, oggdemux, theoraparse
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.11</div>
</body>
</html>