Blog

Subtitles Out of Sync? How to Fix SRT Timing

Subtitles too early, too late, or drifting further off? Learn to shift an SRT file, use two-point sync, and fix the 23.976 vs 25 fps frame-rate problem.

Free tool: Shift subtitle timing. Move subtitles earlier or later, or fix drift that grows over the video.Try it free

You press play, and the subtitles appear a second before anyone speaks. Or three seconds after. Or they begin nearly right, then slip further out of step until, an hour in, they are lagging by minutes. It's one of the most irritating problems with subtitle files, and the good news is that it is almost always fixable in a minute.

This guide shows how to tell which kind of sync problem you have, and how to fix each kind: a plain shift, a two-point sync for drift, and the frame-rate mismatch (23.976 against 25) that causes most drift. You can do it free in your browser with Spokly's Shift subtitle timing tool, which changes the file on your device without uploading it. You can also check it with a video player first, and the steps for doing it elsewhere are below.

First, work out what kind of problem you have

Pick three lines in the subtitle file: one near the start, one in the middle and one near the end. For each, note the time the line appears on screen and the time it is really spoken. The difference is the error at that point.

  • The error is the same all the way through (say, 2 seconds late at the start, middle and end). That's a constant offset. A shift fixes it.
  • The error grows as the video plays (for example, 0.5 s at the start, 30 s in the middle, 60 s at the end). That's drift. Two-point sync fixes it.
  • The error changes at one point (right at the start, then wrong after an ad break or a cut scene). The video and the subtitles were made from different edits. Shift only the part after the change.
  • The error jumps around with no pattern. The subtitles probably belong to a different version of the video, such as a director's cut. A shift cannot fix this, and the best fix is a matching subtitle file or making a new one.

Fix 1: shift all the timings

A shift moves every subtitle earlier or later by the same amount. It is the right fix when the video has an extra intro, or when you trimmed the start of a video after making its subtitles.

  1. Open Shift subtitle timing and drop in your .srt or .vtt file, or paste the text.
  2. Enter how far to move them. Use a plus sign to make subtitles appear later (for example +1.5) and a minus sign to make them appear earlier (for example -0.250). The time is in seconds.
  3. Check the preview. The first five subtitles are shown before and after.
  4. Download the new file. It keeps its format, and everything except the timings stays the same.

To work out the number, pick a line near the start. If the sentence is spoken at 00:12.0 but the subtitle appears at 00:14.5, the subtitles are 2.5 seconds late, so enter -2.5.

To move only the second half, for example after an ad break was removed, tick Only from a chosen cue onwards.

Fix 2: two-point sync for drift

When subtitles start almost right and get further off, the whole timeline is stretched or squeezed, and a single shift can't fix it. Two-point sync needs only two facts:

  • when the first subtitle should really appear, and
  • when the last subtitle should really appear.

Every timing in between is stretched to match. In Spokly, you choose Two-point sync instead of Move, enter those two times, check the preview and download the file.

Choose your two lines well:

  • Pick the first and last lines that are actually spoken, not a sound effect or a credit.
  • Make the two lines far apart (near the start and near the end). Close points make a small error in your reading turn into a large one over the whole video.
  • Write the times in the form the tool asks for, and watch for commas: SRT files use a comma before the milliseconds (00:01:02,500), while VTT files use a dot.

Why subtitles drift: the frame-rate problem

The most common cause of drift is that the subtitles were timed for a version of the film with a different frame rate. Films are shot at 24 frames per second (strictly, 23.976 for video), while PAL video in many countries runs at 25. A 25 fps copy plays about 4% faster, so it is shorter, and subtitles made for the slower version fall further behind with every minute.

The mismatch is bigger than it sounds:

Subtitles were timed for Your video is Multiply every time by Error if left alone
23.976 fps 25 fps 0.9590 about 2.5 minutes in an hour
25 fps 23.976 fps 1.0427 about 2.6 minutes in an hour
24 fps 25 fps 0.9600 about 2.4 minutes in an hour
25 fps 24 fps 1.0417 about 2.5 minutes in an hour
29.97 fps 30 fps 0.9990 about 4 seconds in an hour

You don't need to do the arithmetic. Two-point sync produces the same stretch from the first and last lines, which is easier and also corrects any small error in the cut.

A 4% error is hard to see in the first minute, which is why people often notice it only halfway through the film.

Check the fix before you save it

Before you trust a new file, play the video with it in the middle and again near the end, not only at the start. Drift is the sort of error that is perfect at one point and wrong at another.

A video player can help you find the numbers:

  • VLC (a free player) lets you press G or H while a video plays to move the subtitles earlier or later in small steps. Watch which key brings them into step and by how much. That number is the shift to use.
  • Subtitle Edit (a free Windows program) has options to adjust all times and to change the frame rate of a subtitle file.

Things the tool does and doesn't do

  • Only the timings change. The text, the order, the formatting and the numbering are untouched.
  • Times can't go below zero. If a shift would start a subtitle before 00:00:00, it is set to zero, and the tool tells you how many were affected. A subtitle that ended before zero stays in the file but won't show.
  • It can't fix the wrong file. If the subtitles are for a different cut of the film, or their text is wrong, you need a different file. How to make an SRT file from a video shows how to create a new one.
  • It's not for translation. To change the language, you need a translation, not a timing fix.

If you aren't sure which format you need after the fix, SRT vs VTT explains the differences.

FAQ

How do I fix subtitles that are out of sync?

First check whether the error is constant or growing. If it is constant, shift all the timings by that amount. If it grows as the video plays, use two-point sync, which stretches the timings between the first and the last subtitle. Spokly's Shift subtitle timing tool does both for free, in your browser.

Why do my subtitles get further out of sync as the video plays?

Usually the subtitles were timed for a video with a different frame rate, such as 23.976 fps instead of 25 fps. That's a difference of about 4%, or more than two minutes in an hour, and moving every cue by one amount can't fix it. Two-point sync can.

How do I make subtitles appear earlier or later?

Enter a number of seconds with a sign. A plus makes them appear later, for example +1.5, and a minus makes them appear earlier, for example -0.250.

Is my subtitle file uploaded?

No. Your browser reads the file and changes the timings on your device. Nothing is sent to Spokly.

Does shifting change the format of my file?

No. An SRT stays SRT and a VTT stays VTT. Only the timings are different.