imagesequencesrc

Stream image sequences from image files.

gst-launch-1.0 imagesequencesrc location=image-%05d.jpg start-index=1 stop-index=50 framerate=24/1 ! decodebin ! videoconvert ! autovideosink

This elements implements the GstURIHandler interface meaning that you can use it with playbin, (make sure to quote the URI for the filename pattern, like: %2505d instead of the %05d you would use when dealing with the location).

Note that you can pass the framerate, start-index and stop-index properties directly in the URI using its 'query' component, for example:

gst-launch-1.0 playbin uri="imagesequence://path/to/image-%2505d.jpeg?start-index=0&framerate=30/1"

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstBaseSrc
                    ╰──GstPushSrc
                        ╰──imagesequencesrc

Factory details

Authors: – Cesar Fabian Orccon Chipana Thibault Saunier

Classification:Source/File/Video

Rank – none

Plugin – gstmultifile

Package – GStreamer Good Plug-ins

Pad Templates

src

ANY

Presencealways

Directionsrc

Object typeGstPad


Properties

blocksize

“blocksize” guint

Size in bytes to read per buffer (-1 = default)

Flags : Read / Write

Default value : 4096


do-timestamp

“do-timestamp” gboolean

Apply current stream time to buffers

Flags : Read / Write

Default value : false


framerate

“framerate” GstFraction *

The output framerate.

Flags : Read / Write

Default value : 30/1


location

“location” gchararray

Pattern to create file names of input files. File names are created by calling sprintf with the pattern and the current index.

Flags : Read / Write

Default value : NULL


num-buffers

“num-buffers” gint

Number of buffers to output before sending EOS (-1 = unlimited)

Flags : Read / Write

Default value : -1


start-index

“start-index” gint

Start value of index. The initial value of index can be set either by setting index or start-index. When the end of the loop is reached, the index will be set to the value start-index.

Flags : Read / Write

Default value : 0


stop-index

“stop-index” gint

Stop value of index. The special value -1 means no stop.

Flags : Read / Write

Default value : -1


typefind

“typefind” gboolean

Run typefind before negotiating (deprecated, non-functional)

Flags : Read / Write

Default value : false


The results of the search are