>

How to Fix Out-of-Sync Subtitles (2026 Guide)

Last updated: September 24, 2026 · Reading time: ~5 minutes
🎬 Subtitle Workshop — 1-click sync fix
Auto-distribute, shift, and gap-fix tools included.
Open Subtitle Workshop →

Why subtitles go out of sync

Subtitle sync issues usually come from one of these causes:

  1. Frame rate mismatch — Your video is 30 fps but the subtitles were timed for 24 fps (or vice versa). The audio plays at the correct speed, but the timecodes are stretched.
  2. Variable frame rate (VFR) capture — Screen recordings or some phone cameras record at variable frame rates. The timecodes don't match real time.
  3. Source clip trimmed after subtitles added — You added subtitles to a 5-minute clip, then trimmed the clip to 4:30 from the start. The first 30 seconds of subtitles now overlap with the new head of the clip.
  4. Conversion from one container to another — MKV to MP4, MOV to MP4, etc. can drop or repeat frames, shifting subtitle timing.
  5. FPS misdetection on import — Final Cut Pro interpreted a 23.976 fps clip as 24 fps, shifting subtitles by 0.1%.
How to Fix Out-of-Sync Subtitles in Any Video Editor - illustration

Fix #1: Auto-distribute timestamps

If your subtitles have wrong timestamps but the total duration is correct, the easiest fix is to redistribute them across the actual video duration.

Open the JianHeBox Subtitle Workshop, paste your SRT, click Auto-distribute. The tool will space your cues evenly across the video duration.

Fix #2: Shift all cues by a fixed amount

If the subtitles are off by a consistent amount (say, 1.5 seconds too early), use the Shift N tool. Enter -1.5 (negative = earlier, positive = later) and all cues shift together.

🛠️ Try the free tools

Run it in your browser. Files never leave your device, and no account is required.

字幕工坊SRT / FCPXML / VTT / iTT 互转,本地运行不上传 视频压缩MP4 瘦身,4K 素材本地处理 图片转换格式互转与压缩,批量处理

💡 All tools run locally in your browser · No uploads · No signup required

Fix #3: Fix overlapping cues

If two cues overlap (one starts before the previous one ends), the player will either skip one or display both. Use Fix Overlap to automatically end the first cue at the second cue's start.

Fix #4: Match frame rate

If your video is 23.976 fps but subtitles are 24 fps, your subtitles will drift slowly. Multiply all timestamps by 23.976 / 24 = 0.999:

# In the Subtitle Workshop, click "Shift N" and enter:
-0.001  # (one-thousandth of total duration)

# Or use FFmpeg directly:
ffmpeg -i video.mp4 -i subs.srt -c copy -timecode 00:00:00:23 output.mp4

Fix #5: Trim the source clip back

If you trimmed a clip after adding subtitles, your subtitles now start at the wrong place. In Final Cut Pro:

  1. Select the captions track.
  2. Move the playhead to where the clip now begins.
  3. Select all captions.
  4. Drag them right by the amount you trimmed (or use Modify → Retime → Shift).

Diagnose first, then fix

Before you reach for any tool, figure out what's wrong:

  1. Play the video with subtitles on. At what point do they go out of sync — immediately or gradually?
  2. If immediately: the offsets are wrong by a fixed amount. Use Shift N.
  3. If gradually: the frame rate is wrong. Check the video's actual frame rate with FFmpeg:
    ffprobe -v error -select_streams v:0 -show_entries stream=r_frame_rate -of default=noprint_wrappers=1:nokey=1 video.mp4
  4. If at specific points: the captions have wrong individual timing. Edit them by hand or re-time them against a fresh transcription.

The fast fix

If you're in a hurry, paste your SRT into the JianHeBox Subtitle Workshop and use Auto-distribute. That fixes 80% of sync problems.

🎬 Fix your subtitle sync now
Free online tool, no upload, works in your browser.
Open Subtitle Workshop →

Related Articles

Try the JianHeBox Subtitle Workshop
Convert SRT, VTT, FCPXML, iTT in your browser. No upload, no signup.
Open Free Tool

🔬 Measure the Real Timeline Before Editing Captions

Start by measuring the media instead of trusting the player’s timestamp display. Run `ffprobe -v error -select_streams v:0 -show_entries stream=r_frame_rate,avg_frame_rate,time_base,start_time,duration -show_entries format=duration,start_time -of json input.mp4` and save the JSON output; it reports the nominal frame rate, average frame rate, time base, and stream starts. A `30/1` pair normally means constant 30 fps, while `30000/1001` identifies 29.97 fps rather than 30 fps. Check the audio separately because some editors align captions to the audio clock even when the video stream starts later. For variable-frame-rate footage, run `ffmpeg -i input.mp4 -vf vfrdet -an -f null -`; the `vfrdet` summary indicates whether distinct frame durations were detected. Compare three landmarks instead of using only the first cue: one near 5%, one around 50%, and one near 95% of the program. Record the media timestamp, subtitle timestamp, and signed error at each landmark; identical errors indicate an offset, while errors increasing with time indicate scale drift. Also verify that the source was not trimmed, conformed, or speed-ramped after captioning, because those operations change the mapping between subtitle events and frames. Preserve the original SRT before applying any fix, and repeat the measurement after exporting because encoder time-base handling can introduce a new offset.

🎯 Apply and Validate a Fixed Caption Shift

Use a fixed shift when every cue has the same error, including errors appearing immediately after a cut or export. In JianHeBox Subtitle Workshop, enter the signed value in Shift N: use -1.5 when captions appear 1.5 seconds too late, and +1.5 when they appear too early. Test with three cues rather than trusting one; all three should move in the same direction by the same amount while their spacing remains unchanged. If your editor exposes a caption-offset field, apply the same value there instead of moving individual caption blocks, which can break transition continuity between cues. For a burned-in preview, FFmpeg can render the shifted file with `ffmpeg -i video.mp4 -i subs.srt -vf "subtitles=subs.srt:setpts=PTS-1.5/TB" -c:a copy preview.mp4`; the negative expression moves subtitles 1.5 seconds earlier. That filter burns captions into the picture, so it neither creates nor repairs a sidecar SRT, and its fonts and timestamp rounding may differ from the NLE. Avoid a global shift for progressive drift, because it fixes the first cue and leaves later cues increasingly wrong. Keep millisecond precision internally and determine whether the timeline uses 25 fps, 30 fps, or 29.97 fps. After rendering, inspect the first, midpoint, and final cues, then compare their timestamps with the source media using `ffprobe` before replacing the delivery file.

📐 Retime Progressive Drift with a Scale Factor

Progressive drift requires scaling the timeline, whereas a global offset can align only one cue. Measure the same spoken word in the media and SRT; for a cue timestamped 600.000 seconds that matches speech at 600.800 seconds, the scale factor is 600.800/600.000 = 1.001333. Apply that factor to every timestamp, so 600.000 becomes 600.800, rather than adding 0.800 seconds only to the first cue. Use the earliest and latest reliable anchors to reduce measurement noise: compute both ratios and average them, but reject anchors near edits, silence, or overlapping dialogue. For a 24-to-23.976 time-base conversion, the factor is 23.976/24 = 0.999, not a fixed -0.001-second shift; over ten minutes, that scale difference accumulates to roughly 0.6 seconds. JianHeBox Shift N is additive, so use an editor’s proportional-retime function or transform the SRT before importing it. For a burned-in FFmpeg preview, test `ffmpeg -i video.mp4 -i subs.srt -vf "subtitles=subs.srt:setpts=PTS*0.999" -c:a copy scaled-preview.mp4`. Do not apply this blindly to VFR footage, because frame-timing irregularities require normalizing the media, often with an `fps=30` filter, or retiming cues from a fresh transcription. After proportional correction, verify that the beginning, middle, and ending errors are all below one frame, and avoid Auto-distribute unless cue-by-cue timing is genuinely unavailable.

🎞️ Correct Frame-Rate Drift with a Scale Factor

Frame-rate drift requires a scale correction, not a constant timestamp shift. Inspect the actual stream properties with `ffprobe -v error -select_streams v:0 -show_entries stream=r_frame_rate,avg_frame_rate,time_base,start_time,duration -of json input.mp4` before editing any cues. A `r_frame_rate` value of `24000/1001` identifies 23.976 fps, while `24/1` means constant 24 fps; `avg_frame_rate` can differ when the footage is variable-frame-rate. If subtitles were authored against 24 fps but the final video runs at 23.976 fps, multiply their timestamps by `23.976 / 24`, or `0.999`. Over ten minutes, that tiny ratio produces approximately 6 seconds of accumulated error. Apply the scaling with `ffmpeg -i video.mp4 -i subs.srt -vf "subtitles=subs.srt:setpts=PTS*0.999" -c:a copy preview.mp4` when you need a burned-in diagnostic preview. Do not enter `-0.001` in Shift N for this case, because that moves every cue by only one millisecond rather than scaling the timeline. Conversely, subtitles authored for 30 fps may need a `30000/1001 ÷ 30 = 0.9999` adjustment for a 29.97 fps program. Measure the error near the beginning, midpoint, and final credits to confirm that it grows linearly rather than jumping at a particular cut. If the drift is irregular, investigate variable frame rates, dropped frames, speed ramping, or an intermediate conform before changing cue timestamps. After correction, preserve the original SRT and compare all three landmarks again with the scaled file.

📱 Handle VFR, Phone Video, and Container Changes

Variable-frame-rate footage can make otherwise correct subtitles appear unstable because editors and players map frames differently. Run `ffmpeg -i phone-video.mp4 -vf vfrdet -an -f null -` and review the reported minimum and maximum frame durations; identical values suggest CFR, while multiple values indicate VFR. Screen recordings from browsers and older Android cameras are common VFR sources, especially when the encoder pauses during scrolling or static frames. If the NLE cannot preserve VFR timing, conform a working copy to CFR with `ffmpeg -i input.mp4 -vf "fps=30000/1001" -c:a aac -c:v libx264 output.mp4`, then time the subtitles against that conformed video. Expect long GOPs, motion blur, or audio changes to alter the encoded result, so retain the original recording as the archival master. Container conversion is a separate risk: an MKV-to-MP4 remux can change stream timing even when the frame rate remains unchanged. Measure both files with `ffprobe -v error -show_entries format=start_time,duration -show_entries stream=index,codec_type,start_time,duration -of json input.mkv` and repeat the command for `output.mp4`. Match the video stream start, duration, and frame-rate fields rather than relying only on the container duration. For sidecar subtitles, calculate the required offset as the video stream’s `start_time` minus the subtitle cue’s intended media time. VLC users can test this through `Tools > Preferences > Subtitles / OSD > Synchronization`, but apply the same offset inside the NLE before export. Never repeatedly remux a project as a substitute for correcting its internal timeline.

🧩 Import and Shift Captions Safely Across NLEs

A sidecar-first workflow keeps subtitle timing measurable and prevents automatic imports from rewriting timestamps. In Premiere Pro 2025, use `File > Import`, select the SRT, and inspect the resulting caption clips on the Timeline panel’s captions track. In DaVinci Resolve 19, use `File > Import File`, add the SRT to the Media Pool, and drag it onto a dedicated subtitles track above the video clip. In Final Cut Pro 12, use `File > Import`, choose the SRT, and place it on the captions role lane at the sequence playhead. Confirm the project frame rate before placing cues: Premiere uses `Project > Settings > Video`, Resolve uses `Project Settings > Master Settings`, and Final Cut Pro exposes frame-rate options through `Project > Modify`. Select several caption blocks with the Timeline selection tool and drag them together when they share a fixed offset. Moving each cue independently destroys reading pace and may create overlaps that were absent in the source file. Lock or disable ripple, slip, and snap behavior if a single drag unexpectedly changes neighboring cues. Preserve a marker at a recognizable spoken word by using `Timeline > Add Marker` in Premiere or the corresponding `Markers` bin in Resolve and Final Cut Pro. Recheck subtitles at hard cuts, dissolves, and speed-ramped passages, since those transitions often conceal local timing errors. If the editor converts SRT cues into editable caption objects, export a fresh SRT and compare it with the original before publishing. Version-control subtitle files with names such as `episode-04.v3.srt`, and record whether each version was scaled, shifted, trimmed, or conformed.

✅ Validate the Final Subtitle Master and Export

Validate both the sidecar SRT and the exported subtitle stream before delivery. A useful FFmpeg burn-in check is `ffmpeg -ss 00 -i video.mp4 -i subtitles.srt -vf "subtitles=subtitles.srt" -c:a copy -t 60 preview.mp4`, which limits the review to the first minute and exposes font collisions or early timing errors. Inspect three or more landmarks, including the first spoken line, a midpoint scene change, and the final 30 seconds. For embedded subtitles, inspect the output with `ffprobe -v error -select_streams s:0 -show_entries stream=codec_name,start_time,duration -show_entries packet=pts_time,duration_time -of json output.mp4`. MP4 commonly uses the `mov_text` codec, MKV commonly carries `subrip`, and web delivery generally requires WebVTT rather than SRT. Create an MP4 with subtitles by running `ffmpeg -i video.mp4 -i subtitles.srt -map 0:v -map 0:a -map 1:0 -c:v copy -c:a copy -c:s mov_text output.mp4`. For Matroska, substitute `-c:s srt` and `output.mkv`; verify playback in VLC because players may prioritize a different subtitle track. Keep cue durations long enough for the intended reading speed, normally at least 1 second for short lines and 5 to 7 characters per second for dense captions. Confirm that every cue ends before the next begins unless overlap is intentional. Finally, compare the exported video’s first-frame timestamp with the original using `ffprobe -v error -show_entries format=start_time -of default=nw=1:nk=1 output.mp4`; a new nonzero start time can require a matching subtitle offset.

class="related-articles">

📚 相关教程