Reference

What Is an SRT Subtitle File?

Understand SubRip SRT subtitle structure, timestamps, character encoding, language tracks and the difference between external and embedded subtitles.

SRT (SubRip) is a plain-text timed subtitle format. It describes when text appears and disappears during media playback; it contains neither the video nor the audio itself.

Anatomy of an SRT file

A typical SRT file contains numbered cues separated by blank lines. Each cue has a start and end timestamp in hours, minutes, seconds and milliseconds, followed by one or more lines of subtitle text.

1
00:00:02,000 --> 00:00:04,500
Welcome to the film.

2
00:00:05,100 --> 00:00:07,000
The story begins.

SRT and other subtitle formats

FormatContent
SRTTimed text with limited, player-dependent styling
WebVTTTimed text with web-oriented cue features
ASS/SSATimed text with extensive positioning and styling
PGSBitmap subtitle images, commonly on Blu-ray

SRT is simple and widely exchanged, but it does not have the same styling capabilities as ASS or the image representation used by PGS.

External versus embedded subtitles

An external SRT is a separate file alongside a video. A container such as Matroska can also store SubRip text as an internal subtitle track. This is different from burned-in subtitles, which are part of the picture and cannot be disabled by choosing a track. The container and subtitle codec are separate concepts.

Encoding, languages and timing

SRT has no universally enforced character encoding; UTF-8 is a useful interchange choice. Different languages may be represented as separate files or embedded tracks. The timestamps are time-based, not frame numbers. A subtitle created for another edit or playback speed may not align with the same title.

How to play it

Practical Windows playback and compatibility guidance from Media Player Codec Pack.