upload tizen1.0 source
[framework/multimedia/gst-plugins-good0.10.git] / docs / plugins / html / gst-plugins-good-plugins-multifilesrc.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>multifilesrc</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-multifilesink.html" title="multifilesink">
10 <link rel="next" href="gst-plugins-good-plugins-multipartdemux.html" title="multipartdemux">
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-multifilesink.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-multipartdemux.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-multifilesrc.synopsis" class="shortcut">Top</a>
25                    | 
26                   <a href="#gst-plugins-good-plugins-multifilesrc.description" class="shortcut">Description</a>
27                    | 
28                   <a href="#gst-plugins-good-plugins-multifilesrc.object-hierarchy" class="shortcut">Object Hierarchy</a>
29                    | 
30                   <a href="#gst-plugins-good-plugins-multifilesrc.properties" class="shortcut">Properties</a>
31 </td></tr>
32 </table>
33 <div class="refentry">
34 <a name="gst-plugins-good-plugins-multifilesrc"></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-multifilesrc.top_of_page"></a>multifilesrc</span></h2>
38 <p>multifilesrc — Read a sequentially named set of files into buffers</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-multifilesrc.synopsis"></a><h2>Synopsis</h2>
44 <a name="GstMultiFileSrc"></a><pre class="synopsis">struct              <a class="link" href="gst-plugins-good-plugins-multifilesrc.html#GstMultiFileSrc-struct" title="struct GstMultiFileSrc">GstMultiFileSrc</a>;
45 </pre>
46 </div>
47 <div class="refsect1">
48 <a name="gst-plugins-good-plugins-multifilesrc.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                +----<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-libs/html/GstBaseSrc.html">GstBaseSrc</a>
54                      +----<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-libs/html/GstPushSrc.html">GstPushSrc</a>
55                            +----GstMultiFileSrc
56 </pre>
57 </div>
58 <div class="refsect1">
59 <a name="gst-plugins-good-plugins-multifilesrc.properties"></a><h2>Properties</h2>
60 <pre class="synopsis">
61   "<a class="link" href="gst-plugins-good-plugins-multifilesrc.html#GstMultiFileSrc--caps" title='The "caps" property'>caps</a>"                     <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a>*              : Read / Write
62   "<a class="link" href="gst-plugins-good-plugins-multifilesrc.html#GstMultiFileSrc--index" title='The "index" property'>index</a>"                    <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
63   "<a class="link" href="gst-plugins-good-plugins-multifilesrc.html#GstMultiFileSrc--location" title='The "location" property'>location</a>"                 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write
64 </pre>
65 </div>
66 <div class="refsect1">
67 <a name="gst-plugins-good-plugins-multifilesrc.description"></a><h2>Description</h2>
68 <p>
69 Reads buffers from sequentially named files. If used together with an image
70 decoder, one needs to use the <a class="link" href="gst-plugins-good-plugins-multifilesrc.html#GstMultiFileSrc--caps" title='The "caps" property'><span class="type">"caps"</span></a> property or a capsfilter
71 to force to caps containing a framerate. Otherwise image decoders send EOS
72 after the first picture.
73 </p>
74 <p>
75 File names are created by replacing "%d" with the index using <code class="function">printf()</code>.
76 </p>
77 <p>
78 </p>
79 <div class="refsect2">
80 <a name="idp17219552"></a><h3>Example launch line</h3>
81 <div class="informalexample">
82   <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
83     <tbody>
84       <tr>
85         <td class="listing_lines" align="right"><pre>1
86 2
87 3</pre></td>
88         <td class="listing_code"><pre class="programlisting">gst<span class="gtkdoc opt">-</span>launch multifilesrc location<span class="gtkdoc opt">=</span><span class="string">&quot;img.%04d.png&quot;</span> index<span class="gtkdoc opt">=</span><span class="number">0</span> caps<span class="gtkdoc opt">=</span><span class="string">&quot;image/png,framerate=\(fraction\)12/1&quot;</span> <span class="gtkdoc opt">!</span> \
89     pngdec <span class="gtkdoc opt">!</span> ffmpegcolorspace <span class="gtkdoc opt">!</span> theoraenc <span class="gtkdoc opt">!</span> oggmux <span class="gtkdoc opt">!</span> \
90     filesink location<span class="gtkdoc opt">=</span><span class="string">&quot;images.ogg&quot;</span></pre></td>
91       </tr>
92     </tbody>
93   </table>
94 </div>
95  This pipeline creates a video file "images.ogg" by joining multiple PNG
96 files named img.0000.png, img.0001.png, etc.
97 </div>
98 <p>
99 </p>
100 <div class="refsynopsisdiv">
101 <h2>Synopsis</h2>
102 <div class="refsect2">
103 <a name="idp14479728"></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-multifile.html#plugin-multifile">multifile</a>
111           </td>
112 </tr>
113 <tr>
114 <td><p><span class="term">author</span></p></td>
115 <td>David Schleef &lt;ds@schleef.org&gt;</td>
116 </tr>
117 <tr>
118 <td><p><span class="term">class</span></p></td>
119 <td>Source/File</td>
120 </tr>
121 </tbody>
122 </table></div>
123 </div>
124 <hr>
125 <div class="refsect2">
126 <a name="idp13861680"></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>src</td>
133 </tr>
134 <tr>
135 <td><p><span class="term">direction</span></p></td>
136 <td>source</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>ANY</td>
145 </tr>
146 </tbody>
147 </table></div>
148 </div>
149 </div>
150 <p>
151 </p>
152 </div>
153 <div class="refsect1">
154 <a name="gst-plugins-good-plugins-multifilesrc.details"></a><h2>Details</h2>
155 <div class="refsect2">
156 <a name="GstMultiFileSrc-struct"></a><h3>struct GstMultiFileSrc</h3>
157 <pre class="programlisting">struct GstMultiFileSrc;</pre>
158 <p>
159 </p>
160 </div>
161 </div>
162 <div class="refsect1">
163 <a name="gst-plugins-good-plugins-multifilesrc.property-details"></a><h2>Property Details</h2>
164 <div class="refsect2">
165 <a name="GstMultiFileSrc--caps"></a><h3>The <code class="literal">"caps"</code> property</h3>
166 <pre class="programlisting">  "caps"                     <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a>*              : Read / Write</pre>
167 <p>Caps describing the format of the data.</p>
168 </div>
169 <hr>
170 <div class="refsect2">
171 <a name="GstMultiFileSrc--index"></a><h3>The <code class="literal">"index"</code> property</h3>
172 <pre class="programlisting">  "index"                    <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
173 <p>Index to use with location property to create file names.  The index is incremented by one for each buffer read.</p>
174 <p>Allowed values: &gt;= 0</p>
175 <p>Default value: 0</p>
176 </div>
177 <hr>
178 <div class="refsect2">
179 <a name="GstMultiFileSrc--location"></a><h3>The <code class="literal">"location"</code> property</h3>
180 <pre class="programlisting">  "location"                 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
181 <p>Pattern to create file names of input files.  File names are created by calling sprintf() with the pattern and the current index.</p>
182 <p>Default value: "%05d"</p>
183 </div>
184 </div>
185 <div class="refsect1">
186 <a name="gst-plugins-good-plugins-multifilesrc.see-also"></a><h2>See Also</h2>
187 <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-plugins/html/gstreamer-plugins-filesrc.html#GstFileSrc"><span class="type">GstFileSrc</span></a>
188 </div>
189 </div>
190 <div class="footer">
191 <hr>
192           Generated by GTK-Doc V1.17</div>
193 </body>
194 </html>