splitfilesrc

Reads data from multiple files, presenting those files as one continuous file to downstream elements. This is useful for reading a large file that had to be split into multiple parts due to filesystem file size limitations, for example.

The files to select are chosen via the location property, which supports (and expects) shell-style wildcards (but only for the filename, not for directories). The results will be sorted.

Example launch lines

 gst-launch-1.0 splitfilesrc location="/path/to/part-*.mpg" ! decodebin ! ...

Plays the different parts as if they were one single MPEG file.

 gst-launch-1.0 playbin uri="splitfile://path/to/foo.avi.*"

Plays the different parts as if they were one single AVI file.

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstBaseSrc
                    ╰──splitfilesrc

Implemented interfaces

Factory details

Authors: – Tim-Philipp Müller

Classification:Source/File

Rank – none

Plugin – multifile

Package – GStreamer Good Plug-ins

Pad Templates

src

ANY

Presencealways

Directionsrc

Object typeGstPad


Properties

location

“location” gchararray

Wildcard pattern to match file names of the input files. If the location is an absolute path or contains directory components, only the base file name part will be considered for pattern matching. The results will be sorted.

Flags : Read / Write

Default value : NULL


The results of the search are