Txtloom

Subtitle timing

How to fix SRT subtitles that are out of sync

First find out which problem you have. If every subtitle is early or late by the same amount, shift the whole file by that amount. If the gap grows steadily as the video goes on, the file was timed for a version running at another frame rate, and shifting can only fix one point of it.

Step 1: measure at the start and at the end

Play the video at a line near the beginning and note how early or late the subtitle appears. Then do the same near the end.

How far subtitles are off over a 60-minute video: a constant 2-second offset stays at 2 seconds, while subtitles timed on a 23.976 fps version and played against a 25 fps version drift to about 154 seconds by the end.
A constant offset stays flat; drift grows the longer the video runs.

Fixing a constant offset

In the file, so it stays fixed everywhere

The shortest way is the subtitle shifter: open the file, choose later or earlier, type the seconds and download. It rewrites only the times and works on SRT, VTT, ASS, SBV and LRC. If you also want to check lines against the recording or correct words, do the shift in the editor instead:

  1. Open the SRT in the subtitle generator with Open SRT or VTT, under the upload area.
  2. Open Download › Caption options and type the number of seconds in Move every line earlier or later by: a positive number makes subtitles later, a negative one earlier, for example -0.5.
  3. Press Move, check a line against the recording, then download the SRT again.
The first line of a transcript before and after moving every line 1.5 seconds later: start 00:00.000 becomes 00:01.500.
Moving every line 1.5 seconds later: the first line now starts at 00:01.500 and every line keeps its length, so reading speed does not change.

The editor refuses a shift that would push the first line before 0:00 and tells you so; the shifter sets such times to 0:00 and counts them. To fix a single line instead, click its Start or End time and type the new value.

Only while you watch

If you just need the subtitles to line up for one viewing, the player can do it. In VLC, press G or H during playback to move the subtitles in 50 ms steps, or set an exact value under Tools › Track Synchronization, as the VideoLAN wiki describes. The file itself does not change.

Fixing drift

Take subtitles timed on a 23.976 fps version of a video, played against a version sped up to 25 fps. The faster version is 1.0427 times quicker, so each subtitle arrives 4.27% of the elapsed time too late:

gap after 60 minutes of the 25 fps video = 3600 s × (25 / 23.976 − 1) = 153.8 s

The file needs every time multiplied by the inverse of that ratio, here 23.976 ÷ 25 = 0.9590. The subtitle shifter does this in two ways:

If the subtitles belong to a different cut rather than a different speed, no single multiplier fits. Then the reliable fix is new timings from the video you are publishing: transcribe it in the subtitle generator.

Questions

How do I know which way to shift?

If you hear the words before the subtitle appears, the subtitles are late: move them earlier. In the shifter choose “earlier”; in the editor type a negative number.

Sources

  1. VideoLAN Wiki: Adjust subtitle delay — checked 29 Oct 2026