How to Fix Out-of-Sync Subtitles in SRT and VTT Files
· 6 min read

Few things make a video feel broken faster than subtitles that show up a beat too late or give away the punchline before it's said. The good news: almost every subtitle sync problem falls into one of three patterns, and each one has a simple, permanent fix.
This guide shows you how to diagnose which problem you have, fix the file (not just the playback), and avoid the edits that cause drift in the first place.
Step 1: Figure out which sync problem you have
Play the video with subtitles on and check two lines: one near the start and one near the end.
- Constant offset. Every subtitle is early or late by the same amount, say 1.5 seconds, from start to finish. This is the most common case. It usually happens when an intro was trimmed or added, or the subtitles were made for a slightly different cut.
- Gradual drift. The start is nearly right, but the gap grows steadily until the end is several seconds off. That points to a speed or frame-rate difference between the version the subtitles were timed to and the version you're playing.
- Sudden jump. Everything is fine until one point, then it's off by a fixed amount from there on. Something was cut or inserted in the middle of the video, like an ad break, a deleted scene or a new sponsor segment.
Write down the error at the start and at the end. You'll need those numbers.
Fix 1: Shift every timestamp (constant offset)
If the error is the same everywhere, move every cue by that amount.
Find the exact offset with VLC. In VLC on Windows and Linux, press H to make subtitles appear later and G to make them appear earlier, 50 milliseconds per press, according to the VideoLAN wiki and VLC's user documentation. For a precise value, open Tools > Track Synchronization. The wiki also documents a shortcut for late subtitles: press Shift+H when you hear a recognizable line, Shift+J when the same line appears on screen, then Shift+K to apply the correction. (Keys can differ on macOS, so check VLC's hotkey preferences there.)
VLC only applies the delay during playback. It doesn't change the file, so the fix disappears the next time you open the video, and YouTube, your editor or a TV app will never see it. To make it permanent, shift the file itself:
- In your browser: paste or upload the SRT or VTT into our free subtitle time shifter, enter the offset in seconds and download the retimed file. Positive numbers delay subtitles and negative numbers make them appear earlier. The tool previews the new first and last cue times and keeps the original format. Nothing is uploaded.
- With FFmpeg: the
-itsoffsetoption shifts the input's timestamps. We tested this on FFmpeg 7.1 with an SRT file:
# Subtitles appear 1.5 seconds later
ffmpeg -itsoffset 1.5 -i subtitles.srt subtitles-fixed.srt
# Subtitles appear 0.5 seconds earlier
ffmpeg -itsoffset -0.5 -i subtitles.srt subtitles-fixed.srt
Which direction? If the text appears before the words are spoken, the subtitles are early, so add a positive delay. If the text appears after the words, they're late, so use a negative value.
Fix 2: Rescale the timeline (gradual drift)
Drift means the subtitle timeline and the video run at slightly different speeds. A single offset can't fix that: if you line up the start, the end stays wrong.
The classic cause is a frame-rate speed conversion. Film is shot at 24 frames per second (23.976 in NTSC regions), and when it's converted for 25 fps PAL playback it simply plays faster. Wikipedia's article on PAL speed-up puts the difference at about 4.27% compared with 23.976 fps. That sounds small, but it adds up. Over a 60-minute program, subtitles timed for the 23.976 fps version would end roughly two and a half minutes late on the 25 fps version (60 × (1 − 23.976 / 25) ≈ 2.46 minutes).
To fix it, multiply every timestamp by the ratio between the two speeds. In the subtitle time shifter, open Fix gradual drift from a speed conversion, set "Original timing FPS" to the rate the subtitles were made for and "Converted video FPS" to your video's rate, then add an offset if the first line still needs nudging.
Be careful with this one. A video that merely has a different frame rate (say, a 30 fps export of a 60 fps recording) doesn't need rescaling. Frame rate only matters when the playback speed changed. If your drift doesn't match a common conversion like 23.976↔25 or 24↔25, the video was probably edited, not sped up. See Fix 3.
Fix 3: Split and re-time (sudden jump)
When sync breaks at one specific point, the file needs two different offsets:
- Find the first cue that's wrong and note the error from there on.
- Split the file at that cue's start time. The free SRT splitter does this in one step (turn off "Restart each part at 00:00:00" so both halves keep the original timeline), or copy everything from that cue onward into a second file in a text editor.
- Shift only the second file by the error, using the time shifter or the FFmpeg command above.
- Join the two parts again with the SRT merger, which sorts the cues and renumbers them so the result is valid.
If there are several jumps (one per ad break, for example), repeat for each section. Once you're past three or four, it's usually faster to regenerate the captions from the final video.
Prevent sync problems in the first place
- Caption the final cut. Most sync problems come from timing subtitles to one edit and then publishing another. Make captions the last step, after trims, intros and sponsor reads are locked.
- Re-caption after editing in apps. In most editors, including Instagram's Edits app, generated captions sit on their own track and can end up out of step if you trim or move clips afterward. Regenerate them rather than nudging dozens of cues. Our guide to Instagram's auto-generated captions covers that workflow.
- Keep one master file. Shift and convert from a single SRT, and use the subtitle converter to make the VTT copy at the end. Our SRT vs. VTT guide explains when you need each.
- Check word-level timing on animated styles. With word-by-word captions, even 200 milliseconds of lag is visible, so test on a phone before posting.
When regenerating beats repairing
If the subtitles came from a different version of the video, or the drift has no clear pattern, repairing them can take longer than starting over. AutoCaptions transcribes the exact file you upload, so the timing matches that cut from the start. You can edit the caption text and timing in the editor, then export a captioned MP4 or an SRT/VTT file. Give names and brand terms a quick check, since no AI transcription gets every one right.
Quick reference
- Same error everywhere: shift by that amount (time shifter or
ffmpeg -itsoffset). - Error grows over time: rescale for the frame-rate conversion, then fine-tune with an offset.
- Error starts at one point: split, shift the second half, merge.
- Just watching tonight? VLC's H and G keys will do. For anything you publish or share, fix the file.