Subtitle scripts of the DVD authoring tools
The text files DVD authoring tools import as subtitles: DVD Studio Pro, Adobe Encore, DVD Architect, Scenarist, DVD Producer and Avid DVD. Each is a subtitle to a line of timecodes, and each tool had its own idea of the line. The tool draws the text into the disc's subtitle pictures.
At a glance
| Media type | None registered |
|---|---|
| Specification | None. Each tool's manual, and the layouts found in the wild, which Subtitle Edit has collected. |
| Time precision | A frame, at the project's rate. DVD Architect: a hundredth of a second. |
| Text encoding | Not declared. Subtitld detects it, UTF-16 included. |
| Styling | DVD Studio Pro: italic, bold and underline. Encore and Avid DVD: italics. The rest: none. |
| Positioning | DVD Studio Pro: top, middle or bottom; left, centre or right. The rest: the tool's own setting. |
| Speakers | None |
| In containers | None. Imported into the authoring tool, which draws the subtitles onto the disc. |
Anatomy of a DVD Studio Pro script
The richest of them: settings, then the subtitles they apply to. It is Spruce's script, the one Spruce Technologies' authoring tools read, with settings added.
$VertAlign = Bottom $Bold = FALSE $Italic = FALSE $HorzAlign = Center … 00:00:23:00 , 00:00:24:12 , You're a jerk,|^IThom.^I $VertAlign = Top 00:00:25:01 , 00:00:27:05 , ^ICelia!^I
- 1 · Settings
$lines set the font, the place and the style for the subtitles after them.//lines are comments. - 2 · Timecodes
Start and end, hours, minutes, seconds and frames, a comma after each.
- 3 · Text
|between lines.^I,^Band^Uturn italic, bold and underline on and off. - 4 · A setting changed
From here on, subtitles sit at the top, until another line says otherwise.
The timecode
At 25 frames a second, 24:12 is 24.48 seconds. At 29.97, a ; before the frames is drop-frame timecode: 00:00:22;29.
Six tools, six layouts
What Subtitld writes for each, two subtitles at 25 frames a second:
| Tool | Extension | A subtitle |
|---|---|---|
| DVD Studio Pro | .stl |
00:00:23:00 , 00:00:24:12 , You're a jerk,|Thom. (tabs around the commas) |
| Adobe Encore | .txt |
1 00:00:23:00 00:00:24:12 You're a jerk, and the next line under it |
| DVD Architect | .sub |
00:00:23:00 - 00:00:24:50 You're a jerk, the last field in hundredths |
| Scenarist | .sst |
0001, then tabs between the timecodes and between the lines |
| DVD Producer | .txt |
1 00:00:23:00 00:00:24:12 You're a jerk, in padded columns |
| Avid DVD | .txt |
1, tabs, the timecodes, the text with | between lines; $Italic = TRUE before italic subtitles |
Hundredths, not frames. DVD Architect's 00:00:24:50 is 24.5 seconds, where every other tool's would be frame 50, which no rate has. Where a file could be either, Subtitld takes a .sub, or one whose last fields reach 30 or more, as DVD Architect's.
Each tool also came in other layouts, as people fed it from other programs. Subtitld reads these too:
| Tool | Also read |
|---|---|
| DVD Studio Pro | Spaces around the commas, or , then ,, or Spruce's bare commas |
| Adobe Encore | Times with no number, or tabs between them; 0001, tabs, // between lines and @Italic@ around italics; semicolons throughout, 00;00;01;00, for drop-frame |
| DVD Architect | Tabs; a number first; three clocks in milliseconds; a header and numbered lines of start, end and duration in frames, the text under them |
| Scenarist | Its script's header: st_format, TV_Type, Tape_Type, Display_Area and the colours |
DVD scripts in Subtitld
- Every subtitle's text and line breaks
- Start and end, to the frame (to the hundredth in DVD Architect)
- DVD Studio Pro: italic, bold, underline, and where it sits
- Avid DVD: italic subtitles
- Formatting in the other four, and on part of a subtitle in Avid DVD
- Colours, fonts and sizes: the tool sets them
- Speakers, translations beside the original
- Dubs, speakers' faces and colours
Save a .usfx project to keep them.
Opening a script
The extensions are shared with other formats, so Subtitld reads the lines to tell which script, if any, a file is: a .stl is DVD Studio Pro's, Spruce's or EBU STL; a .txt may be any of five of them, or Avid SubCap, or a player-era format. It reads:
- frames at the rate the file names (DVD Studio Pro's
// Format: NTSC - 29.97, Scenarist'sTV_Type), else the video's, else 25; - drop-frame timecode where the file has it, as the tools count it;
- DVD Studio Pro's settings as the subtitles' place and style, and
^I,^Band^Uinside them; - Encore's
@Italic@and Avid DVD's$Italiclines as italics; - DVD Architect's lines broken by a carriage return alone, as it writes them.
Subtitles that are pictures, DVD Studio Pro's <<Graphic>> lines, are left out. A Scenarist script whose subtitles are all pictures says so: there is no text in it.
Exporting a script
Export, then Subtitles and DVDSTUDIOPRO, ENCORE, DVDARCHITECT, SCENARIST, DVDPRODUCER or AVIDDVD, offers:
- TextThe original, a translation, or both, the translation below.
- Speaker namesLeft out, or before the text (Thom: …).
- FormattingKept, or removed: for DVD Studio Pro and Avid DVD, the two that have some.
- Shift timesEvery subtitle earlier or later by the same amount.
- EncodingUTF-8, with or without a byte order mark, UTF-16, or a Windows code page: Western European, Central European, Cyrillic or Korean.
- Line endingsLinux and macOS, or Windows.
- Frame rateThe video's, or another.
- TimecodeFor DVD Studio Pro and Encore, at 29.97 and 59.94: drop-frame, or not.
Each script is written in the first layout of the table above. DVD Studio Pro's starts with the settings Subtitle Edit writes, and a // Format: NTSC comment at the NTSC rates, so that it opens at its rate again; a subtitle's place changes $VertAlign and $HorzAlign before it. Encore's drop-frame is semicolons throughout. Where the script counts frames, every subtitle ends at least a frame after it starts.
Trivia
Apple bought Spruce Technologies, whose DVD authoring tools read the same .stl script. DVD Studio Pro itself grew from Astarte's DVDirector, bought the year before.
The last Adobe Encore. Adobe made no Creative Cloud version of it.
Spruce's script shares its extension with EBU's binary broadcast subtitles and with 3D printing's stereolithography models. Subtitld reads the bytes before it decides which it has.
Related formats
Open it in Subtitld with the video and retime it on the waveform.