Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
49 lines (45 sloc) 2.09 KB
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2015 Institut für Rundfunktechnik GmbH, Munich, Germany
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License
at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, the subject work
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<tt:tt
xmlns:tt="http://www.w3.org/ns/ttml" xmlns:ttp="http://www.w3.org/ns/ttml#parameter"
xmlns:tts="http://www.w3.org/ns/ttml#styling" xmlns:ebutts="urn:ebu:tt:style" xmlns:ebuttm="urn:ebu:tt:metadata" ttp:timeBase="media"
xml:lang="de" ttp:cellResolution="50 30">
<tt:head>
<tt:metadata>
<ebuttm:documentMetadata>
<ebuttm:conformsToStandard>urn:ebu:tt:distribution:2014-01</ebuttm:conformsToStandard>
<ebuttm:conformsToStandard>http://www.w3.org/ns/ttml/profile/imsc1/text</ebuttm:conformsToStandard>
</ebuttm:documentMetadata>
</tt:metadata>
<tt:styling>
<tt:style xml:id="textWhite" tts:color="#ffffff" tts:backgroundColor="#000000" tts:fontSize="160%" tts:fontFamily="monospace" />
<tt:style xml:id="paragraphStyle" tts:textAlign="center" ebutts:linePadding="0.5c"/>
</tt:styling>
<tt:layout>
<tt:region xml:id="bottom" tts:origin="10% 10%" tts:extent="80% 80%" tts:displayAlign="after"/>
</tt:layout>
</tt:head>
<tt:body>
<tt:div>
<tt:p xml:id="subtitle1" region="bottom" begin="00:00:10.000" end="00:00:20.000" style="paragraphStyle">
<tt:span style="textWhite">This subtitle uses</tt:span><tt:br/>
<tt:span style="textWhite">linepadding</tt:span>
</tt:p>
<tt:p xml:id="subtitle2" region="bottom" begin="00:00:22.000" end="00:00:30.000" style="paragraphStyle">
<tt:span style="textWhite">This subtitle uses</tt:span><tt:br/>
<tt:span style="textWhite">linepadding</tt:span>
</tt:p>
</tt:div>
</tt:body>
</tt:tt>