Skip to main content

Quick start

It's easy to run Accurate.Video Poster using launch templates.

https://apps.accurate.video/launch/poster?launchTemplate=https://apps.accurate.video/assets/json/default-poster-template.json

Poster


You can examine the launch template by adding the query parameter manual to the url.

https://apps.accurate.video/launch/poster?launchTemplate=https://apps.accurate.video/assets/json/default-poster-template.json&manual

Opening the link above will take you to the launch template editor view. The editor view displays the launch template and allows you to modify the different configurations of the launch template, like changing the video, adding markers and so on.

note

Read more about the launch template format in the reference documentation

Configure video

Let's change the video from Sintel to Tears Of Steel.

{
"type": "VIDEO",
"url": "https://accurate-player-static.s3.eu-central-1.amazonaws.com/TearsOfSteel/TearsOfSteel.mp4",
"metadata": [
{
"key": "filename",
"value": "Tears Of Steel"
},
{
"key": "language",
"value": "en"
}
]
}

We just replace the url.

Configure markers

A marker always belongs to a marker track within a marker group. So before we can add markers we must define groups and tracks. Let's replace the entire markerGroups array and build a new one from scratch. We add a group to show AI generated data.

{
"title": "AI",
"markerStyle": {
"backgroundColor": "#ff9900"
},
"markerTracks": [
{
"title": "Person",
"markers": [
{
"start": {
"frame": 601,
"numerator": 24,
"denominator": 1
},
"end": {
"frame": 966,
"numerator": 24,
"denominator": 1
},
"metadata": [
{
"key": "name",
"value": "Person"
},
{
"key": "description",
"value": "Confidence 99.1%"
}
]
}
]
}
]
}

This group is read only, which is normally the case for generated markers. The markerStyle property is defined on group level but will propagate down to the tracks.

The marker has a start and end point defining its position and an array of metadata fields describing the content. The default metadata fields you can use are name and description.

Configure settings

Accurate.Video Poster allows for customization using the settings block in the launch template.

{
"data": [
...
],
"settings": {
"overlays": [
{
"name": "Poster overlay",
"url": "https://accurate-player-static.s3.eu-central-1.amazonaws.com/TearsOfSteel/2_4_1_cm.png",
"aspectRatio": "1024:427"
}
]
}
}

In the example above we configure the available overlays which are used to display overlays on top of the video when creating posters:

Poster overlay

Try it out

Next step

You've seen how to modify a launch template to configure media, markers and settings. Next step is to learn how to launch Poster with a custom template.