Skip to main content
Skip table of contents

Quick setup [VC 21.3.1 GEN]

Before using Vidispine, make sure to create and configure a storage and thumbnail location, and to configure the transcoder.

  1. Create a storage.

NONE
POST API/storage
Content-Type: application/xml

<StorageDocument xmlns="http://xml.vidispine.com/schema/vidispine">
  <type>LOCAL</type>
  <method>
    <uri>file:///path/to/files/</uri>
    <read>true</read>
    <write>true</write>
    <browse>true</browse>
    <type>NONE</type>
 </method>
 <autoDetect>true</autoDetect>
</StorageDocument>
  1. Create a thumbnail resource.

NONE
POST API/resource/thumbnail
Content-Type: application/xml

<ResourceDocument xmlns="http://xml.vidispine.com/schema/vidispine">
  <thumbnail>
    <path>file:///path/to/thumbnails/</path>
  </thumbnail>
</ResourceDocument>
  1. Configure a trancoder. For example, with Vidispine and the transcoder on the same server:

NONE
POST API/resource/transcoder
Content-Type: application/xml

<ResourceDocument xmlns="http://xml.vidispine.com/schema/vidispine">
  <transcoder>
    <url>http://localhost:8888/</url>
  </transcoder>
</ResourceDocument>

Use curl, HTTPie or the HTTP client of your choosing to make the requests. For example, using HTTPie:

BASH
$ http post "localhost:8080/API/storage" @storage.xml
$ http post "localhost:8080/API/resource/thumbnail" @thumbnail.xml
$ http post "localhost:8080/API/resource/transcoder" @transcoder.xml
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.