An SSA file is plain text in sections, each headed by a name in square brackets:
[Script Info], [V4 Styles],
[Events],
[Fonts] and
[Graphics]. Inside
[Script Info], each line is Key: value, and ;
at the start of a line makes it a comment.
Keys
| Key | Values | Meaning |
|---|---|---|
Title | Text | Title. <untitled> if absent. |
Original Script | Text | Original author. <unknown> if absent. |
Original Translation | Text | Optional. |
Original Editing | Text | Optional. |
Original Timing | Text | Optional. |
Original Script Checking | Text | Optional. |
Synch Point | Text | Optional: where timing was synchronised to. |
Script Updated By | Text | Optional. |
Update Details | Text | Optional. |
ScriptType | v4.00 | Marks the format version. |
Collisions | Normal, Reverse | How overlapping lines stack: Normal towards the bottom margin, Reverse upward. |
PlayResX | Integer | Coordinate width. |
PlayResY | Integer | Coordinate height. |
PlayDepth | Integer | Colour depth of the authoring screen. |
Timer | 100.0000 | Speed percentage. Affects playback only. |
WrapStyle | 0–3 | Line wrapping: 0 smart, even lines; 1 end of line; 2 none; 3 smart with the lower line wider. |