>
Subtitle sync issues usually come from one of these causes:
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.
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.
Run it in your browser. Files never leave your device, and no account is required.
💡 All tools run locally in your browser · No uploads · No signup required
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.
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
If you trimmed a clip after adding subtitles, your subtitles now start at the wrong place. In Final Cut Pro:
Before you reach for any tool, figure out what's wrong:
ffprobe -v error -select_streams v:0 -show_entries stream=r_frame_rate -of default=noprint_wrappers=1:nokey=1 video.mp4
If you're in a hurry, paste your SRT into the JianHeBox Subtitle Workshop and use Auto-distribute. That fixes 80% of sync problems.
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.
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.
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.
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.
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.
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 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.