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

Implemented interfaces

Factory details

Authors: – Cesar Fabian Orccon Chipana , Thibault Saunier

Classification:Source/File/Video

Rank – none

Plugin – multifile

Package – GStreamer Good Plug-ins

Pad Templates

src

ANY

Presencealways

Directionsrc

Object typeGstPad


Properties

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 : %%05d


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


The results of the search are