![]() |
![]() |
![]() |
GStreamer Good Plugins 0.10 Plugins Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
GObject +----GstObject +----GstElement +----GstBaseSrc +----GstPushSrc +----GstMultiFileSrc
"caps" GstCaps* : Read / Write "index" gint : Read / Write "location" gchar* : Read / Write
Reads buffers from sequentially named files. If used together with an image decoder, one needs to use the "caps" property or a capsfilter to force to caps containing a framerate. Otherwise image decoders send EOS after the first picture.
File names are created by replacing "%d" with the index using printf()
.
1 2 3 |
gst-launch multifilesrc location="img.%04d.png" index=0 caps="image/png,framerate=\(fraction\)12/1" ! \ pngdec ! ffmpegcolorspace ! theoraenc ! oggmux ! \ filesink location="images.ogg" |
"index"
property"index" gint : Read / Write
Index to use with location property to create file names. The index is incremented by one for each buffer read.
Allowed values: >= 0
Default value: 0
"location"
property"location" gchar* : Read / Write
Pattern to create file names of input files. File names are created by calling sprintf() with the pattern and the current index.
Default value: "%05d"