2017

Table Of Contents
<horizontal></horizontal>
The horizontal text position of the current subtitle. This value is overridden if a text setup
file is referenced in the <setup> element.
Description
noneAttributes
<horizontal>0</horizontal>
Sample
<setup></setup>
The <setup> element can point to a text setup file from which font style and position
parameters will be used. The parameters from the text setup file override the formatting
elements of the current <title> element.
Leave empty when not using a text setup file.
Description
noneAttributes
<setup>/usr/discreet/project/test/text/paz.ttg</setup>
Sample
Subtitle XML Sample
Use the following XML sample as a starting point for your own subtitle XML files.
The following is an example of Subtitle XML which creates three Text soft effects applied to gaps at these
timecodes:
01:00:01;00 until 01:00:02;00
01:00:03;00 until 01:00:04;00
01:00:05;00 until 01:00:06;02
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE subtitle>
<subtitle version="1">
<name>SampleSubtitles</name>
<!-- Rate should be one of : -->
<!-- -->
<!-- * '23.976'-->
<!-- * '24'-->
<!-- * '25'-->
<!-- * '29.97 DF'-->
<!-- * '29.97 NDF' -->
<!-- * '30'-->
<!-- * '59.94 DF'-->
<!-- * '59.94 NDF' -->
<rate>24</rate>
<!-- Set width and height to default -->
<!-- if you want project default res -->
<!-- depth should be : -->
<!-- -->
194 | Chapter 6 Importing and Exporting Media