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 name of the Subtitle XML file. This name appears as the name of the clip which is created when importing a Subtitle XML file. |
Attributes | none |
Sample | <name>French version: Day at the Races</name> |
Description | A format element that describes the framerate of the Subtitle XML clip that appears in Flint after importing the Subtitle XML file. |
Attributes | none |
Sample | <rate>59.94 NDF</rate> |
Description | A format element that wraps around all of the attributes determining the format of the clip when importing a Subtitle XML file. This clip can then be resized within Flint like any other clip, if necessary. |
Attributes | <width></width> The width of the imported Subtitle XML clip. <height></height> The height of the imported Subtitle XML clip. <depth></depth> The bit depth of the imported Subtitle XML clip. <aspect></aspect> The aspect ratio of the imported Subtitle XML clip. <scanformat></scanformat> The scanformat of the imported Subtitle XML clip. |
Sample | <resolution> <width>1920</width> <height>1080</height> <depth>8</depth> <aspect>1.778</aspect> <scanformat>default</scanformat> </resolution> |
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> |