Difference between revisions of "SubRip"

From VideoLAN Wiki
Jump to navigation Jump to search
m
m (added <br>, formatted a bit)
Line 1: Line 1:
This is the native subtitle format of the  [http://zuggy.wz.cz/ SubRip] (cache) program. It is one of the most used formats for subtitles.
+
This is the native subtitle format of the  [http://zuggy.wz.cz/ SubRip] (cache) program. It is one of the most used formats for subtitles.  The most common (optional) filename extension is '''.SRT'''.
  
Subtitles are formatted like:<br>
+
Subtitles are formatted as follows:<br>
 +
<code>
 +
:n<br>
 +
:h1:m1:s1,d1 --> h2:m2:s2,d2<br>
 +
:Line1<br>
 +
:Line2<br>
 +
:...<br>
 +
:<blank line><br>
 +
</code>
  
n
+
'''n''' = sequential number<br>
h1:m1:s1,d1 --> h2:m2:s2,d2<br>
+
'''h1:m1:s1,d1''' = start time<br>
Line1<br>
+
'''h2:m2:s1,d2''' = stop time<br>
Line2<br>
 
...<br>
 
<empty line><br>
 
 
 
n = sequential number<br>
 
h1:m1:s1,d1 = start time<br>
 
h2:m2:s1,d2 = stop time<br>
 

Revision as of 10:54, 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
h1:m1:s1,d1 = start time
h2:m2:s1,d2 = stop time