SRT format

Top  Previous  Next

The Subrip file format is one of the most basic of all subtitle formats. Subrip files are named with the extension .srt, and contain formatted plain text. The time format used is hours:minutes:seconds,milliseconds. The decimal separator used is the comma, since the program was written in France. The line break used is often the CR+LF pair. Subtitles are numbered sequentially, starting at 1, but the the value of the number actually does not matter as long as it is there.

 

Each subtitle consists of:

Subtitle number

Start time --> End time

Text of subtitle (one or more lines)

Blank line

 


 

Example

 

1

00:00:20,000 --> 00:00:24,400

Altocumulus clouds occur between six thousand

 

2

00:00:24,600 --> 00:00:27,800

and twenty thousand feet above ground level.

 


 

Compatibility

 

The Subrip .srt file format is supported by most software video players listed in Comparison of video player software. For Windows software video players which do not support subtitle playback directly, the VSFilter DirectX filter displays Subrip and other subtitle formats. The Subrip format is supported directly by many hardware home media players. In August 2008, YouTube added subtitle support to its Flash video player under the "Closed Captioning" option - content producers can upload subtitles in Subrip format.

 

Unicode support

 

The Subrip .srt file format supports any text encoding including ANSI, Unicode Little Endian, Unicode Big Endian and UTF-8.

 

 

See also:

Subrip (export)

Subrip (import)