Automatic Upload
The Automatic Upload feature allows you to efficiently upload videos to the glomex platform with all necessary metadata.
Metadata Requirements
The Automatic Upload process requires metadata for your videos, including:
- File Paths: Links to the corresponding video and image files
- Descriptive metadata: Title, description, keywords, etc.
- Technical metadata: Publishing time window, geolocations, etc.
Metadata Format
The metadata can be provided in two different formats: XML or JSON.
XML (Media RSS)
Media RSS is a web standard for the delivery of video files with metadata. It is based on XML.
Minimum Example
<rss xmlns:media="http://search.yahoo.com/mrss/" version="2.0">
<channel>
<title>My Channel</title>
<image>
<url>https://mychannel.com/mychannellogo.png</url>
</image>
<!-- Video 1 -->
<item>
<guid>video_0001</guid>
<title>Title 1</title>
<media:content url="https://mychannel.com/video_0001.mp4" fileSize="28077488" type="video/mp4"/>
<media:thumbnail url="https://mychannel.com/video_0001.jpg"/>
<media:category>News</media:category>
</item>
<!-- Next videos... -->
</channel>
</rss>
XML Item Fields
Field | Description | Required |
---|---|---|
<guid></guid> | The unique identifier of the video (e.g., "095fac8d39b2cc0asdasd5asd43321s3df1d" or 12345 ) | Yes |
<title></title> | The title of the video | Yes |
<media:content url="" fileSize="" type=""/> | The URL to the video file. HTTP: http://channel.com/video_1.mp4 (S)FTP: sftp://user:password@example.com:2222/video.mp4 | Yes |
<media:thumbnail url=""/> | The URL to the preview image file. HTTP: http://channel.com/video_1.jpg (S)FTP: sftp://user:password@example.com:2222/video1.jpg | Yes |
<media:category></media:category> | The category of the video. Supported categories: News , Cars & Motor , Food & Drink , Fashion & Beauty , Health & Fitness , Cinema & TV , Lifestyle & Documentation , Social & Fun , Sport , Celebrities , Travel & Adventure , Gaming | Yes |
<channel></channel> | The name of your channel in which the video should be published (e.g., "ProSieben" ) | No |
<description></description> | The description of the video (used for search results and automated recommendations) | Recommended |
<media:keywords></media:keywords> | The keywords of the video, comma-separated (e.g., <media:keywords>animals, zoo</media:keywords> ) | Recommended |
<media:subTitle type="text/srt" lang="de-DE" href=""/> | The URL to the subtitles file. HTTP: http://channel.com/video_1.srt (S)FTP: sftp://user:password@example.com:2222/video1.srt | No |
<format></format> | The name of the show or program title (e.g., "Germany's Next Top Model" ) | No |
<media:rating scheme="fsk"></media:rating> | The age rating of the video. Supported values: FSK0 , FSK6 , FSK12 , FSK16 , FSK18 | No |
<media:restriction relationship="allow" type="country"></media:restriction> | The countries in which the video should be allowed to play (e.g., de at ch ) | No |
<media:content lang=""/> | The language of the video (e.g., de , en ) | No |
<media:copyright url=""></media:copyright> | The copyright information of the video | No |
<media:status state=""/> | The status of the video. Supported values: active , blocked | No |
<dcterms:valid></dcterms:valid> | The publishing time window of the video | No |
<pubDate></pubDate> | The publication date of the video. Format: YYYY-MM-DDThh:mm:ss+TIMEZONE | No |
JSON Format
The JSON format provides an alternative to XML for specifying video metadata.
Minimum Example
{
"channel": "My Channel",
"channel_logo_uri": "https://mychannel.com/mychannellogo.png",
"videos": [
{
"id": "video_0001",
"title": {
"en": "Sample video title"
},
"video_uri": "https://mychannel.com/video_0001.mp4",
"image_uri": "https://mychannel.com/video_0001.jpg",
"categories": [
"News"
],
"channel": "My Channel"
}
]
}
JSON Fields
Field | Description | Type | Required |
---|---|---|---|
id | The unique identifier of the video | string | Yes |
video_uri | The URL to the video file | string | Yes |
image_uri | The URL to the preview image file | string | Yes |
title | The title of the video in different languages | object | Yes |
categories | The categories of the video | array | Yes |
channel | The name of your channel | string | Yes |
description | The description of the video in different languages | object | Recommended |
keywords | The keywords of the video | array | Recommended |
show | The name of the show or program title | string | No |
fsk | The age rating of the video | string | No |
geo_locations | The countries in which the video should be allowed to play | array | No |
language | The language of the video | string | No |
copyright | The copyright information of the video | string | No |
copyright_url | The URL to the copyright information | string | No |
status | The status of the video | string | No |
subtitle_uri | The URL to the subtitles file | string | No |
subtitle_language | The language of the subtitles | string | No |
publication_date | The publication date of the video | string | No |
expiration_date | The expiration date of the video | string | No |
update_date | The date of the last video update | string | No |
Delivery Methods
š”
For information about how to deliver your metadata and content files to glomex, please contact your account manager or send an email to service@glomex.com.
We support various delivery methods including:
- HTTP/HTTPS endpoints
- (S)FTP servers
- Cloud storage solutions
- API integrations
Last updated on