Image sequences

New in version 4.6.

Image sequences can be imported into Vidispine just like any other video file.


An image sequence is made up of multiple sequentially numbered images files. Typically each file represents a video frame.

All files in a sequence are represented using a single file in Vidispine. Such files have a type of FILE_SEQUENCE.

<FileDocument xmlns="">
  <range start="0" count="50"/>

Importing image sequences

Image sequences can be imported using a sequence URI. For example, to import an image sequence whose sequence numbers are zero padded:

POST API/import?uri=file:///srv/data/take1/*.png#file=00000-15000
<JobDocument xmlns:ns0="">

Detection of image sequences

To have image sequences detected on a storage, the storage must first be configured with one or more sequence patterns. Otherwise, individual files in the sequence will appear as separate files.

<StorageDocument xmlns="">

Files that match the pattern and that have the same sequence key will appear as a single file with type FILE_SEQUENCE. These files can then be imported directly from the storage just like any other files.

POST /storage/file/VX-46264/import
Content-Type: application/xml

<MetadataDocument xmlns="">
  <timespan start="-INF" end="+INF">
    <!-- any metadata to add to the item -->

Sequence URIs

Any URI containing a file fragment is considered as a sequence URI, that is, as a URI that identifies multiple files in a sequence. A sequence URI should contain a wildcard character that identifies the location of the sequence number.

Syntax: file=[wildcard:][start[-end]][,...]

  • The default wildcard character is *. If the wildcard character is already present in the file name or path, then another wildcard character should be selected and specified in the file fragment.
  • The default starting index is 0.
  • The ending index is inclusive.
  • When importing sequences using the API, only the last range in the file fragment may be open. That is, file=0-10,40- is supported, but file=0-10,40-,10-20 is not.


  • file:///srv/media/inside-tardis/*.jpg#file=00000-90000
  • file:///srv/media/inside-tardis/X.jpg#file=X:00000-90000

Sequence patterns

The sequence pattern element contains a <regex>, and a optional <numGroup>.

The value of the <regex> should be a valid java regex string with some restrictions:

  • There needs to be a \d+, which would match multiple digits. The matching digits will be used as the sequence number. The other parts will become the sequence key, which will be used to identify the sequence.


    A sequence number can only contain one or multiple digits. Only numbers and zero padded numbers are supported

  • \d+ needs to be in a capturing groups, if there are other groups. And in this case, <numGroup> needs to be set.

The value of <numGroup> is the index of the sequence number capturing group.

Some Examples:

<StorageDocument xmlns="">
<StorageDocument xmlns="">