Difference between revisions of "SubRip"

From VideoLAN Wiki
Jump to navigation Jump to search
Line 9: Line 9:
 
:...<br>
 
:...<br>
 
:<blank line><br>
 
:<blank line><br>
 
  
 
'''n''' = sequential number.  This may also appear on the same line as start/stop times.<br>
 
'''n''' = sequential number.  This may also appear on the same line as start/stop times.<br>
 
'''h1:m1:s1,d1''' = start time<br>
 
'''h1:m1:s1,d1''' = start time<br>
 
'''h2:m2:s1,d2''' = stop time<br>
 
'''h2:m2:s1,d2''' = stop time<br>
 +
 +
=== Example ===
 +
1
 +
00:00:20,000 --> 00:00:24,400
 +
a bla bla ble a bla bla ble
 +
a bla bla ble
 +
&nbsp;
 +
2
 +
00:00:24,600 --> 00:00:27,800
 +
a bla bla ble...
  
 
[[Category:Subtitles]]
 
[[Category:Subtitles]]

Revision as of 00:31, 31 December 2009

SubRip is the native subtitle format of the SubRip program. It is one of the most used formats for subtitles. It may have the file extension .srt.

Specification

Subtitles are formatted as follows:

n
h1:m1:s1,d1 --> h2:m2:s2,d2
Line1
Line2
...
<blank line>

n = sequential number. This may also appear on the same line as start/stop times.
h1:m1:s1,d1 = start time
h2:m2:s1,d2 = stop time

Example

1
00:00:20,000 --> 00:00:24,400
a bla bla ble a bla bla ble
a bla bla ble
 
2 
00:00:24,600 --> 00:00:27,800 
a bla bla ble...