Defines XML schema conformance, timebase expressions, shot-change snapping rules, reading speed ceilings, and forced narrative flags for W3C TTML2 IMSC1.1 and EBU-TT-D sidecars.
All timed-text assets MUST be delivered as UTF-8 encoded XML without Byte Order Mark (BOM), strictly validating against either W3C IMSC 1.1 Text Profile (`http://www.w3.org/ns/ttml/profile/imsc1.1/text`) or EBU Tech 3380 EBU-TT-D v1.0.1. Legacy `.srt`, `.stl` binary EBU-STL, or `.scc` line-21 files are accepted only as supplemental reference assets alongside a primary XML master.
| Constraint | Adult Programming | Children's Programming | Enforcement |
|---|---|---|---|
| Maximum Reading Speed | 17 chars/sec (Latin) / 15 cps (Cyrillic) | 13 chars/sec | Warning at +1 cps, Reject at +3 cps |
| Maximum Characters per Line | 42 characters (max 2 lines per event) | 37 characters (max 2 lines) | Hard Automated Reject |
| Minimum Event Duration | 20 frames (800 ms at 25 fps) | 24 frames (960 ms at 25 fps) | Hard Automated Reject |
| Minimum Inter-Cue Gap | 2 video frames | 2 video frames | Prevents flicker on consecutive cues |
Subtitle out-cues ending within 7 frames prior to a hard camera cut MUST be pulled back to end 2 frames before the cut, or extended across the cut if speech continues for at least 12 frames into the incoming shot. Cues placed over lower-third burn-in name supers MUST use a top-aligned region (`tts:displayAlign="before"`, `tts:origin="10% 10%"`) so on-screen text is never occluded.
<?xml version="1.0" encoding="UTF-8"?>
<tt xml:lang="en" xmlns="http://www.w3.org/ns/ttml"
xmlns:tts="http://www.w3.org/ns/ttml#styling"
xmlns:ttp="http://www.w3.org/ns/ttml#parameter"
xmlns:itts="http://www.w3.org/ns/ttml/profile/imsc1#styling"
ttp:profile="http://www.w3.org/ns/ttml/profile/imsc1.1/text"
ttp:timeBase="media">
<head>
<layout>
<region xml:id="bottom" tts:origin="10% 80%" tts:extent="80% 12%" tts:textAlign="center"/>
</layout>
</head>
<body>
<div region="bottom">
<p begin="00:00:04.120" end="00:00:06.880">Confirming studio lock on primary sync generator.</p>
</div>
</body>
</tt>