Difference between revisions of "SubRip"

From VideoLAN Wiki
Jump to navigation Jump to search
m (added <br>, formatted a bit)
m (note)
Line 2: Line 2:
  
 
Subtitles are formatted as follows:<br>
 
Subtitles are formatted as follows:<br>
<code>
+
 
 
:n<br>
 
:n<br>
 
:h1:m1:s1,d1 --> h2:m2:s2,d2<br>
 
:h1:m1:s1,d1 --> h2:m2:s2,d2<br>
Line 9: Line 9:
 
:...<br>
 
:...<br>
 
:<blank line><br>
 
:<blank line><br>
</code>
 
  
'''n''' = sequential number<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>

Revision as of 11:21, 8 April 2007

This is the native subtitle format of the SubRip (cache) program. It is one of the most used formats for subtitles. The most common (optional) filename extension is .SRT.

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