Bureaucrats, staff, Administrators
938
edits
Line 281: | Line 281: | ||
The SubRip file format is "perhaps the most basic of all subtitle formats." SubRip files are named with the extension .srt, and contain formatted plain text. The time format used is hours:minutes:seconds,milliseconds. The decimal separator used is the comma, since the program was written in France. The line break used is often the CR+LF pair. Subtitles are numbered sequentially, starting at 1. The sections must appear in numbered order in the file, and must also be sorted on start-time. Two sections can not overlap time-wise. | The SubRip file format is "perhaps the most basic of all subtitle formats." SubRip files are named with the extension .srt, and contain formatted plain text. The time format used is hours:minutes:seconds,milliseconds. The decimal separator used is the comma, since the program was written in France. The line break used is often the CR+LF pair. Subtitles are numbered sequentially, starting at 1. The sections must appear in numbered order in the file, and must also be sorted on start-time. Two sections can not overlap time-wise. | ||
<pre>Subtitle number | <pre>Subtitle index number | ||
Start time --> End time | Start time --> End time | ||
Text of subtitle (one or more lines) | Text of subtitle (one or more lines) | ||
Line 287: | Line 287: | ||
Three override tags are supported: Bold, Italics and Underline. They use the common HTML-style tag pairs <b>bold</b>, <i>italics</i> and <u>underline</u>. | Three override tags are supported: Bold, Italics and Underline. They use the common HTML-style tag pairs <b>bold</b>, <i>italics</i> and <u>underline</u>. | ||
Changing the font color with <font color="#ff0000"></font> or the font size with <font size="35"></font> is also possible but not supported by many players. | |||
A feature of SubRip files that is supported by almost no players is the positioning of subtitles: | |||
<pre>Subtitle index number | |||
Start time --> End time X1:Position left X2:Position right Y1:Position up Y2:Position down | |||
Text of subtitle (one or more lines) | |||
Blank line</pre> | |||
===Example=== | ===Example=== | ||
Line 297: | Line 305: | ||
and twenty thousand feet above ground level.</pre> | and twenty thousand feet above ground level.</pre> | ||
<pre>1 | |||
00:00:02,001 --> 00:00:16,001 X1:000 X2:000 Y1:050 Y2:100 | |||
Let us have some! Let us have some!</pre> | |||
=SSA - SubStation Alpha= | =SSA - SubStation Alpha= |