In order for your upload to succeed, your XML file must comply with our internal schema. Format your XML file according to the schema in the sample file below.
Sample input XML file
To ensure your upload and metadata file validation is successful, you must format your XML file similarly to the one below:
Available property tags
The following tags are permitted within the XML file.
Video Metadata | Description |
---|---|
source | Mandatory. If the source for your video file is not specified, then the XML file is invalid. Your upload will fail. |
title | By default, the system will use the original file name. (Optional) |
description | Enter a short description for the video. (Optional) |
keywords | You can enter multiple keywords, if desired. (Optional) |
reference | To improve mapping of import files to result files, you can specify a custom reference value. This value will be returned in the result file. (Optional) |
customMetadata | Edit custom metadata for a video. The fields are the same as the ones displayed in your video list (date uploaded, category, etc.). (Optional) |
channels | Assign your video to a channel by specifying one or more channel IDs. (Optional) If you don't want to assign your video to a channel, you'll need to remove this tag entirely, or the upload will fail. |
groupId | Specify the Id of the user group this video should be assigned to. If no Id is assigned, the video will automatically be assigned to the default "Company" group. (Optional) |
securityPolicyId | Specify the Id of the security policy that should be applied to your video. (Optional) |
release | Specify the release status of the video via the Times are according to D ISO 8601 , in the format where:
Example:
If a period is specified, the release is time-controlled. Example : <release> <publish> <period> <begin>2019-07-01T09:00:00+02:00</begin> <end>2019-08-01T09:00:00+02:00</end> </period> </publish> </release> If an empty tag is specified If you entered an invalid date (for example, the release date you entered is in the past), the video will be imported without any release status. |
download | You can activate the download release via the <download/> element. (Optional) |
delete | Specify the date when the video has to be automatically deleted. (Optional) |
still | Specify what file should be used as a thumbnail for the video. (Optional) The thumbnail file must not be larger than 10000 KB. You must use a thumbnail image if you define one in the XML schema. Otherwise, the upload will fail. |
inform | Specify additional people who should receive notification emails about file ingest status. The uploader will always receive notifications by default. (Optional) Notifications will be sent for the following errors:
|
disableAutoDelete | Use this tag to prevent the system from automatically deleting video files and stills from the FTP server after processing. (Optional) All files will be automatically deleted after 30 days regardless of the disableAutoDelete tag. |
XML Schema
When uploading your XML file, we check against our internal validation schema (shown below).
Sample output XML file
The <video_filename.xml> file contains some important values:
Property | Description |
---|---|
reference | This is the same reference as defined in the input metadata XML file. You can use this to match up input and output files in your integration. |
jobReference | This is an internal reference to the processing actions taken on the video file. You must include this value when contacting movingimage Professional Services for troubleshooting. |
video id | The video id assigned to the uploaded video. If the video entity could not be created in VideoManager Pro, this value will not be shown. |
The <video_filename>.xml file is only a validation of the metadata. The video file itself will be further checked before transcoding; a success message within <video_filename>.xml does not guarantee that the video file itself can be transcoded.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <result fileName="myVideo.mp4" reference="MyReference" jobReference="123abc45-abcd-67ef-89ab-1234ab567890" xmlns="http://schemas.video-cdn.net/vmpro/public/v1/ingest/ftp/result.xsd"> <success> <videoTitle>My Video</videoTitle> <video id="ABcd1234efGH5678jk90ab"/> </success> </result>