upload tizen1.0 source
[framework/multimedia/gst-plugins-good0.10.git] / docs / plugins / html / gst-plugins-good-plugins-multipartdemux.html
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>multipartdemux</title>
6 <meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
7 <link rel="home" href="index.html" title="GStreamer Good Plugins 0.10 Plugins Reference Manual">
8 <link rel="up" href="ch01.html" title="gst-plugins-good Elements">
9 <link rel="prev" href="gst-plugins-good-plugins-multifilesrc.html" title="multifilesrc">
10 <link rel="next" href="gst-plugins-good-plugins-multipartmux.html" title="multipartmux">
11 <meta name="generator" content="GTK-Doc V1.17 (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="2">
16 <tr valign="middle">
17 <td><a accesskey="p" href="gst-plugins-good-plugins-multifilesrc.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18 <td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19 <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20 <th width="100%" align="center">GStreamer Good Plugins 0.10 Plugins Reference Manual</th>
21 <td><a accesskey="n" href="gst-plugins-good-plugins-multipartmux.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
22 </tr>
23 <tr><td colspan="5" class="shortcuts">
24 <a href="#gst-plugins-good-plugins-multipartdemux.synopsis" class="shortcut">Top</a>
25                    | 
26                   <a href="#gst-plugins-good-plugins-multipartdemux.description" class="shortcut">Description</a>
27                    | 
28                   <a href="#gst-plugins-good-plugins-multipartdemux.object-hierarchy" class="shortcut">Object Hierarchy</a>
29                    | 
30                   <a href="#gst-plugins-good-plugins-multipartdemux.properties" class="shortcut">Properties</a>
31 </td></tr>
32 </table>
33 <div class="refentry">
34 <a name="gst-plugins-good-plugins-multipartdemux"></a><div class="titlepage"></div>
35 <div class="refnamediv"><table width="100%"><tr>
36 <td valign="top">
37 <h2><span class="refentrytitle"><a name="gst-plugins-good-plugins-multipartdemux.top_of_page"></a>multipartdemux</span></h2>
38 <p>multipartdemux — demux multipart streams</p>
39 </td>
40 <td valign="top" align="right"></td>
41 </tr></table></div>
42 <div class="refsynopsisdiv">
43 <a name="gst-plugins-good-plugins-multipartdemux.synopsis"></a><h2>Synopsis</h2>
44 <a name="GstMultipartDemux"></a><pre class="synopsis">struct              <a class="link" href="gst-plugins-good-plugins-multipartdemux.html#GstMultipartDemux-struct" title="struct GstMultipartDemux">GstMultipartDemux</a>;
45 </pre>
46 </div>
47 <div class="refsect1">
48 <a name="gst-plugins-good-plugins-multipartdemux.object-hierarchy"></a><h2>Object Hierarchy</h2>
49 <pre class="synopsis">
50   <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
51    +----<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstObject.html">GstObject</a>
52          +----<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html">GstElement</a>
53                +----GstMultipartDemux
54 </pre>
55 </div>
56 <div class="refsect1">
57 <a name="gst-plugins-good-plugins-multipartdemux.properties"></a><h2>Properties</h2>
58 <pre class="synopsis">
59   "<a class="link" href="gst-plugins-good-plugins-multipartdemux.html#GstMultipartDemux--autoscan" title='The "autoscan" property'>autoscan</a>"                 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
60   "<a class="link" href="gst-plugins-good-plugins-multipartdemux.html#GstMultipartDemux--boundary" title='The "boundary" property'>boundary</a>"                 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write / Construct
61 </pre>
62 </div>
63 <div class="refsect1">
64 <a name="gst-plugins-good-plugins-multipartdemux.description"></a><h2>Description</h2>
65 <p>
66 MultipartDemux uses the Content-type field of incoming buffers to demux and 
67 push data to dynamic source pads. Most of the time multipart streams are 
68 sequential JPEG frames generated from a live source such as a network source
69 or a camera.
70 </p>
71 <p>
72 The output buffers of the multipartdemux typically have no timestamps and are
73 usually played as fast as possible (at the rate that the source provides the
74 data).
75 </p>
76 <p>
77 the content in multipart files is separated with a boundary string that can
78 be configured specifically with the <a class="link" href="gst-plugins-good-plugins-multipartdemux.html#GstMultipartDemux--boundary" title='The "boundary" property'><span class="type">"boundary"</span></a> property
79 otherwise it will be autodetected.
80 </p>
81 <p>
82 </p>
83 <div class="refsect2">
84 <a name="idp14665936"></a><h3>Sample pipelines</h3>
85 <div class="informalexample">
86   <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
87     <tbody>
88       <tr>
89         <td class="listing_lines" align="right"><pre>1</pre></td>
90         <td class="listing_code"><pre class="programlisting">gst<span class="gtkdoc opt">-</span>launch filesrc location<span class="gtkdoc opt">=/</span>tmp<span class="gtkdoc opt">/</span>test<span class="gtkdoc opt">.</span>multipart <span class="gtkdoc opt">!</span> multipartdemux <span class="gtkdoc opt">!</span> jpegdec <span class="gtkdoc opt">!</span> ffmpegcolorspace <span class="gtkdoc opt">!</span> ximagesink</pre></td>
91       </tr>
92     </tbody>
93   </table>
94 </div>
95  a simple pipeline to demux a multipart file muxed with <a class="link" href="gst-plugins-good-plugins-multipartmux.html#GstMultipartMux"><span class="type">GstMultipartMux</span></a>
96 containing JPEG frames.
97 </div>
98 <p>
99 </p>
100 <div class="refsynopsisdiv">
101 <h2>Synopsis</h2>
102 <div class="refsect2">
103 <a name="idp14732128"></a><h3>Element Information</h3>
104 <div class="variablelist"><table border="0">
105 <col align="left" valign="top">
106 <tbody>
107 <tr>
108 <td><p><span class="term">plugin</span></p></td>
109 <td>
110             <a class="link" href="gst-plugins-good-plugins-plugin-multipart.html#plugin-multipart">multipart</a>
111           </td>
112 </tr>
113 <tr>
114 <td><p><span class="term">author</span></p></td>
115 <td>Wim Taymans &lt;wim.taymans@gmail.com&gt;, Sjoerd Simons &lt;sjoerd@luon.net&gt;</td>
116 </tr>
117 <tr>
118 <td><p><span class="term">class</span></p></td>
119 <td>Codec/Demuxer</td>
120 </tr>
121 </tbody>
122 </table></div>
123 </div>
124 <hr>
125 <div class="refsect2">
126 <a name="idp18491760"></a><h3>Element Pads</h3>
127 <div class="variablelist"><table border="0">
128 <col align="left" valign="top">
129 <tbody>
130 <tr>
131 <td><p><span class="term">name</span></p></td>
132 <td>sink</td>
133 </tr>
134 <tr>
135 <td><p><span class="term">direction</span></p></td>
136 <td>sink</td>
137 </tr>
138 <tr>
139 <td><p><span class="term">presence</span></p></td>
140 <td>always</td>
141 </tr>
142 <tr>
143 <td><p><span class="term">details</span></p></td>
144 <td>multipart/x-mixed-replace</td>
145 </tr>
146 </tbody>
147 </table></div>
148 <div class="variablelist"><table border="0">
149 <col align="left" valign="top">
150 <tbody>
151 <tr>
152 <td><p><span class="term">name</span></p></td>
153 <td>src_%d</td>
154 </tr>
155 <tr>
156 <td><p><span class="term">direction</span></p></td>
157 <td>source</td>
158 </tr>
159 <tr>
160 <td><p><span class="term">presence</span></p></td>
161 <td>sometimes</td>
162 </tr>
163 <tr>
164 <td><p><span class="term">details</span></p></td>
165 <td>ANY</td>
166 </tr>
167 </tbody>
168 </table></div>
169 </div>
170 </div>
171 <p>
172 </p>
173 </div>
174 <div class="refsect1">
175 <a name="gst-plugins-good-plugins-multipartdemux.details"></a><h2>Details</h2>
176 <div class="refsect2">
177 <a name="GstMultipartDemux-struct"></a><h3>struct GstMultipartDemux</h3>
178 <pre class="programlisting">struct GstMultipartDemux;</pre>
179 <p>
180 The opaque <a class="link" href="gst-plugins-good-plugins-multipartdemux.html#GstMultipartDemux"><span class="type">GstMultipartDemux</span></a> structure.
181 </p>
182 </div>
183 </div>
184 <div class="refsect1">
185 <a name="gst-plugins-good-plugins-multipartdemux.property-details"></a><h2>Property Details</h2>
186 <div class="refsect2">
187 <a name="GstMultipartDemux--autoscan"></a><h3>The <code class="literal">"autoscan"</code> property</h3>
188 <pre class="programlisting">  "autoscan"                 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
189 <p>Try to autofind the prefix (deprecated unused, see boundary).</p>
190 <p>Default value: FALSE</p>
191 </div>
192 <hr>
193 <div class="refsect2">
194 <a name="GstMultipartDemux--boundary"></a><h3>The <code class="literal">"boundary"</code> property</h3>
195 <pre class="programlisting">  "boundary"                 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write / Construct</pre>
196 <p>The boundary string separating data, automatic if NULL.</p>
197 <p>Default value: NULL</p>
198 </div>
199 </div>
200 <div class="refsect1">
201 <a name="gst-plugins-good-plugins-multipartdemux.see-also"></a><h2>See Also</h2>
202 <a class="link" href="gst-plugins-good-plugins-multipartmux.html#GstMultipartMux"><span class="type">GstMultipartMux</span></a>
203 </div>
204 </div>
205 <div class="footer">
206 <hr>
207           Generated by GTK-Doc V1.17</div>
208 </body>
209 </html>