🌐 English

Home › Guides

When subtitles drift because of a frame rate difference

If subtitles match at the start of a video but gradually run faster or slower toward the end, simply shifting them will not fix it. The usual cause is a difference in frame rate or running time between the video and the version the subtitles were made for, and the cure is to stretch or shrink the timings by a ratio.

Constant offset versus drift

Sync problems come in two kinds. If the subtitles are early or late by the same amount from beginning to end, shifting the entire file by a fixed time solves it. If they are right at the start and the error grows later, time itself has been stretched or compressed, and a simple shift only fixes one end while spoiling the other.

To find out which you have, measure the error at two spoken lines, one near the start and one near the end. If the two errors are equal, it is a constant offset; if they differ, it is drift.

Why frame rates and versions differ

A video is a series of pictures shown at a set number per second, called the frame rate. The same film may exist in cinema, broadcast and online versions with different frame rates, and conversion can change the running time slightly. A subtitle file timed to another version will therefore be off by more and more as the video goes on.

Edited versions add other patterns. A cut with the opening trimmed produces a constant offset, while a version with commercial breaks added or removed drifts differently in each section. In such cases a single ratio may not be enough.

Calculating the ratio from two points

The most dependable method is to pick two reference points. Choose one spoken line near the beginning and another near the end, and note both the time in the subtitle file and the time you actually hear it. This gives the amount of shift at each point.

Suppose the subtitles are one second early near the start and three seconds early at the 100-minute mark. The timings must then be stretched by a ratio that grows with time. When you enter both reference points, the tool fits everything between them. The farther apart the two points are, the more accurate the result.

Correcting with the timing tool

With the timing tool on this site you can open a subtitle file and apply either a global shift or a ratio correction. If there is a constant offset, shift first so the early reference point lines up, then use the ratio correction to remove what remains at the far end.

After applying it, check again at the start, the middle and the end. If one stretch still disagrees, that part may come from a different edit of the video, and it is better to split the file there and correct each part on its own. Always keep a copy of the original before you correct anything.

Common mistakes and prevention

The most common mistake is to align only one spot and stop. If you do not check the end, you discover the drift an hour into the movie. Another is to pick a reference line with overlapping sound or a whisper, which makes the exact moment hard to judge. Choose a line with a clear first word.

To avoid drift in the first place, download or request subtitles made for the same version and length as your video. If you made the subtitles yourself, time them against your own file. Adjust other people's subtitles only where copyright allows.