SubRip

From Wikipedia, the free encyclopedia

SubRip is an optical character recognition program for Windows which rips DVD subtitles and their timings as a text file. It is also the name of the subtitle format used by this software. The format is now supported by several software video players and subtitle making programs. The files often have the extension .SRT

The time format used is hours:minutes:seconds,milliseconds, with the seconds field precise to three decimal points. The decimal separator used is the comma, since the program was written in France, and the line break used is the standard Microsoft CR+LF. Subtitle numbers are indexed beginning at one.

Contents

[edit] Versions

SubRip was written by French programmer Brain (& Dub), starting in 1999. On March 3, 2000 the first version, SubRip 0.5 beta, came out — as all the consecutive versions declared as Beta. His last version was SubRip 0.97 beta — published September 8, 2001. Afterwards he stopped the development, and upon receiving several requests for Linux support Brain released the SubRip source code under GPL licence. SubRip is coded with Delphi 5.[1]

Only seven weeks later T.V. Zuggy and Guimli released their first own version of the program — SubRip 0.98 — that was also acknowledged on Brain's website (which is dead now). For the SubRip 1.50 Beta 3 release (on January 5, 2006) code has been moved to Delphi 2005 (after a time with Delphi 7). The latest version is 1.50 beta 4. Programming is now mostly done by ai4spam who announced in October 2006 that he is going to abandon it after releasing one more beta.

[edit] Fields

Subtitle number
Start time --> End time
Text of subtitle (one or more lines)
Blank line

Unicode and basic HTML tags such as <i>, <b> and <font> in subtitles are supported by most players, but some subtitle editors (SubResync, Subtitle Workshop) don't handle these tags well. Unfortunately there is no exact specification of the .SRT file format.

[edit] Sample file

1
00:00:20,000 --> 00:00:24,400
In connection with a dramatic increase
in crime in certain neighbourhoods,

2
00:00:24,600 --> 00:00:27,800
The government is implementing a new policy...

[edit] External links

In other languages