SubRip
Jump to navigation
Jump to search
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. It can be embedded in mkv files
Specification
Format
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...
Extensions
Some subtitles feature html tags inside the SubRip text:
- b: bold
- s: strikethrough
- u: underline
- i: italic
- font color=... face=...: font attributes