File specifications
Encoding: UTF-8
MIME type: text/srt
Line terminator: \r, \n or \r\n
Format specifications
# Cue format
[one or more characters not containing the substring "-->" or \r, \n, \r\n]Example:
[hh...:]mm:ss,msmsms --> [hh...:]mm:ss,msmsms [settings]
First line
Second line
...
1Milliseconds separator can either be a full stop (.) or a comma (,).
01:23:45,678 --> 01:23:46,789
Hello world!
2
01:23:48,910 --> 01:23:49,101
Hello
world!
Cues have to be separated by one (or more) blank line.
# Cue settings
Settings have to placed right after the timing, on the same line, separated with one (or more) space or tabulation.| Vertical text |
|
| Line position |
|
| Text position | T:[a number]%, where [a number] is a positive integer. |
| Text size | S:[a number]%, where [a number] is a positive integer. |
| Text alignment | A:start or A:middle or A:end |
Cue setting example:
1
01:23:45,678 --> 01:23:46,789 D:vertical
Hello world!
2
01:23:48,910 --> 01:23:49,101 S:50%
Hello
world!
# Cue text
Replacements
- & has to be replaced with &
- < has to be replaced with <
Voice declaration tags
- A number wrapped with <...>. Example: <42>Your text
- <narrator>
- <music>
- <lyric>
- <sound>
- <comment>
- <credit>
Example:
01:23:45,678 --> 01:23:46,789
<narrator>Once upon a time...
in the West...
Text tags
- Bold: <b>Your text</b>
- Italic: <i>Your text</i>
- Ruby annotations: <ruby>base text<rt>annotation</rt></ruby>
Example:
01:23:45,678 --> 01:23:46,789
One... <01:23:45,800>Two... <01:23:46,500>Three...