multifilesrc

multifilesrc — Read a sequentially named set of files into buffers

Synopsis

struct              GstMultiFileSrc;

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GstObject
               +----GstElement
                     +----GstBaseSrc
                           +----GstPushSrc
                                 +----GstMultiFileSrc

Properties

  "caps"                     GstCaps*              : Read / Write
  "index"                    gint                  : Read / Write
  "location"                 gchar*                : Read / Write
  "loop"                     gboolean              : Read / Write
  "start-index"              gint                  : Read / Write
  "stop-index"               gint                  : Read / Write

Description

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. We also need a videorate element to set timestamps on all buffers after the first one in accordance with the framerate.

File names are created by replacing "%d" with the index using printf().

Example launch line

1
2
3
4
5
6