Godfrey Njoroge · · 1 min de lecture
SRT vs VTT: Quel format de sous-titres devriez-vous utiliser ?
Sommaire
If you have ever exported subtitles, you have seen two options: SRT and VTT.
They look almost the same, and for most videos either one works.
Points clés
- SRT est le format de sous-titres le plus simple et le plus largement supporté.
- VTT is the web standard and adds styling, positioning and metadata.
- If you are unsure, export both - the text and timing are the same.
What an SRT file looks like
An SRT file is plain text: a number, a time range, and the subtitle text.
1
00:00:01,000 --> 00:00:03,500
Welcome to the channel.
2
00:00:04,000 --> 00:00:07,200
Today we're looking at subtitles.
Notice that the time uses a comma before the milliseconds.
What a VTT file looks like
A VTT file starts with the word WEBVTT, and uses a period before the milliseconds.
WEBVTT
00:00:01.000 --> 00:00:03.500
Welcome to the channel.
00:00:04.000 --> 00:00:07.200
Today we're looking at subtitles.
The cue numbers are optional in VTT, and the format can also carry styling and positioning.
SRT vs VTT at a glance
| SRT | VTT | |
|---|---|---|
| Time format | 00:00:01,000 | 00:00:01.000 |
| Header | None | Starts with WEBVTT |
| Styling and positioning | Very limited | Supported |
| Best known for | Wide compatibility | HTML5 web video |
Which one should you use?
- Uploading to YouTube or most video tools: SRT is the safe default.
- Using the HTML5 video element on your own website: use VTT, which is the format browsers expect.
- Need styling or positioning: use VTT.
- Not sure: keep both, because converting is easy and the content is the same.
Getting both from Kauli
Kauli provides SRT and VTT downloads for translated subtitles, and an SRT of the original transcript.
Our guide to Ajout de sous-titres dans une autre langue walks through the whole workflow, and the captioning page has the details.