|VLC can decode this container. |
The module name to use at the command line is subtitle.
SubRip is the native subtitle format of the SubRip program. It is one of the most used formats for subtitles.
Each frame of a subtitle is formatted as follows:
n h1:m1:s1,d1 --> h2:m2:s2,d2 Line 1 Line 2 …
Note the last line is a blank line between subtitle frames, and the decimal separator is a comma (per French-style).
- sequential number. This may also appear on the same line as start/stop times
- start time of this frame, in hours minutes and seconds to three decimal places
- stop time
A 2-frame subtitle:
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…
Some subtitles feature html tags inside the SubRip text:
<font color=… face=…>: font attributes