SRT (SubRip Subtitle)
The SRT format is a simple and widely used subtitle format supported by most video players and editing software.
Format
- The file consists of sequentially numbered subtitle blocks.
- Each block contains four parts:
- Sequence Number: A numeric counter indicating the order of the subtitle.
- Timecode: The start and end time of the subtitle, separated by
-->.- Standard format:
hours:minutes:seconds,milliseconds(e.g.,00:00:20,000). - Leniency: Lingohub supports both comma (
,) and period (.) as the decimal separator for milliseconds.
- Standard format:
- Text: The subtitle content itself, which can span multiple lines.
- Blank Line: A mandatory blank line indicating the end of the subtitle block.
- Key Mapping: In Lingohub, the timecode range (e.g.,
00:00:00,000 --> 00:00:02,500) is used as the key for the segment.
Used by
- YouTube (captions)
- Facebook (video captions)
- VLC Media Player
- Most video editing software (Adobe Premiere, Final Cut Pro, DaVinci Resolve)
Examples
Here is a valid SRT file example:
1
00:00:00,000 --> 00:00:02,500
Welcome to the Example Subtitle File!
2
00:00:03,000 --> 00:00:06,000
Line 1
Line 2
3
00:00:07,000 --> 00:00:10,500
You can use SRT files to add subtitles to your videos.References
Updated 4 days ago
