The basic elements define the name, timecode, and body (as indicated by the <video> element) of the Subtitle XML file.
Description | An element that defines the timecode in and out points during which the subtitles occur. All the titles in the Subtitle XML file will occur during the timecode indicated here, with each title also having its own start and end point indicated within the title elements. See Title Elements. |
Attributes | <start></start> The start timecode of the subtitle sequence. <end></end> The end timecode of the subtitle sequence. |
Sample | <timecode> <start>01:00:00;00</start> <end>01:00:08;00</end> </timecode> |
Description | The <video> element wraps around all of the <title> elements, which in turn contain the text and attributes of individual subtitles. See Title Elements. |
Attributes | <title></title> The <title> element wraps around each subtitle, with its associated start and end time, text, and font style and position parameters. See Title Elements. |
Sample | <video> <title> <start>01:00:01;00</start> <end>01:00:02;00</end> <text>This is a subtitle string</text> <font>Garamond</font> <size>20</size> <fontcolor> <alpha>255</alpha> <red>255</red> <green>255</green> <blue>255</blue> </fontcolor> <vertical>0</vertical> <horizontal>0</horizontal> <setup>/usr/discreet/project/test/text/paz.ttg</setup> </title> <title> </title> </video> |