Subtitles

Subtitles are mostly used to present a transcript of spoken text over the video display. Nametags are technically the same thing. They are meant for object or person identifier labels. The VMS can output subtitle and nametags tracks in both srt and tt (timed text) w3c xml format.

Subtitle as SRT file

Request
/subtitle/{id}.srt

Parameter Type Description
Required parameters    
{id} int the id of the subtitle track. Can be found in the media-clip xml of the associated media-clip, xpath: //subtitles/subtitle@id

Example

[srt]
1
00:00:02,000 --> 00:00:07,250
You knew Bent had had a small blood clot in the spring and that he shouldn't burden himself too much.

2
00:00:07,500 --> 00:00:11,750
You failed to tell me out of self-interest. Look me in the eye and say you didn't also try to discredit me...

3
00:00:12,000 --> 00:00:14,750
...by telling the Ekspres I had prior knowledge of Bent's illness.

4
00:00:15,000 --> 00:00:17,750
I can guarantee Kruse won't sit on a ministerial chair in my government.

5
00:00:18,000 --> 00:00:22,750
You can't fire him in the midst of all this, he's your number two and your EU minister, it stinks.

Subtitle as W3C Timed Text XML

Request
/subtitle/{id}.xml

Parameter Type Description
Required parameters    
{id} int the id of the subtitle track. Can be found in the media-clip xml of the associated media-clip, xpath: //subtitles/subtitle@id

Example

[xml]
<?xml version="1.0"?>
<tt xmlns="http://www.w3.org/2006/10/ttaf1" xml:lang="en">
    <body>
        <div xml:id="subtitles">
            <p begin="00:00:02.00" end="00:00:07.25"><![CDATA[You knew Bent had had a small blood clot in the spring and that he shouldn't burden himself too much.]]></p>
            ...
        </div>
    </body>
</tt>