Quick setupΒΆ
Before using VidiCore, make sure to create and configure a storage and thumbnail location, and to configure the transcoder.
- Create a storage.
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>
- Create a thumbnail resource.
POST API/resource/thumbnail
Content-Type: application/xml
<ResourceDocument xmlns="http://xml.vidispine.com/schema/vidispine">
  <thumbnail>
    <method>
      <uri>file:///path/to/thumbnails/</uri>
    </method>
  </thumbnail>
</ResourceDocument>
- Configure a transcoder. For example, with VidiCore and the transcoder on the same server:
POST API/resource/transcoder
Content-Type: application/xml
<ResourceDocument xmlns="http://xml.vidispine.com/schema/vidispine">
  <transcoder>
    <url>http://localhost:8888/</url>
  </transcoder>
</ResourceDocument>
- Add default transcode preset templates
Optionally add default transcode preset templates to the system.
$ curl -X POST localhost:8080/APIinit/preset-templates
Tip
Use curl, HTTPie or the HTTP client of your choosing to make the requests. For example, using HTTPie:
$ 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