Neither correction can move both streams: delaying early sound kept our picture payload byte-identical, while late sound had to be corrected on the picture with frozen first frames, which re-encodes video and lengthened our file to 4.300 seconds.
Sound can be early, late or drifting — the fixes differ
A soundtrack that does not line up with the picture has three distinct shapes. A constant offset is one fixed amount applied to every sound against the picture. Drift changes that amount across the file: the start may be tight while the end is seconds out. A third shape is unstable picture timing, which can imitate both of the others.
The causes differ just as much. Screen recordings pick a different audio clock than the renderer. Handheld recorders wake up after the picture starts. Each situation points at a different repair, and the same symptom list appears across consumer reports without one universal setting to fix them. That is why the decision comes before any processing: decide which shape you have.
A constant offset is the only shape a one-move correction can address. If the gap grows over the recording, follow the timing diagnostic guide instead; the sync fixer shifts by one fixed amount and will not hide growing drift.
Point at an event, not at the whole file
No file property tells you the offset. The measurement needs an event that exists once in both streams: a clap, a marker click, a hard cut, one syllable with a sharp attack. Watch the event in the picture, hear it in the sound, and decide which arrives first. The tool never guesses this for you.
Our test designed that question into the media itself. Each fixture is a 4.0-second 320 × 180 clip at 30 fps whose picture carries exactly one white flash and whose soundtrack carries one 880 Hz beep. Desktop FFmpeg 8.1.1 generated the fixtures; the beep onset was measured from a 48 kHz decode, and the flash was located by scanning per-frame brightness.
| Fixture | Measured beep onset | Flash position | What the editor hears |
|---|---|---|---|
| Sound early | 1.700 s | Frame 60 · 2.000 s | Sound 0.3 s early |
| Sound late | 2.300 s | Frame 60 · 2.000 s | Sound 0.3 s late |
Synthetic flashes and tones make the event unambiguous, which is a luxury a real recording does not offer. With your own footage the event should be something you can see and hear at the same instant: a clap, a door shutting, a shouted word at a cut.
When the sound arrives early, delay it
Early sound means the audio content belongs later than where it currently sits. One delay of the measured amount brings both streams to the same clock. Our record ran the pinned @ffmpeg/core 0.12.10 engine with adelay=300:all=1 for the 0.3-second early offset: the measured beep onset moved from 1.700 s to 2.000 s, exactly onto the flash frame.
The picture is mapped straight through, so the export keeps the original encoded video. We compared the copied picture with a signed-frame SHA-256 stream hash and it matched the source. Decoding the export produced no error lines, and the only bright frame stayed at frame 60 — the picture did not move by a single frame.
Two consequences are stated in the plan before you export. The export stops at the picture length, so a soundtrack tail that extends past the final picture frame is dropped by design, and the audio is re-encoded to AAC at 192 kbps even though the picture is untouched.
When the sound arrives late, fix the picture, not the audio
Late sound seems to invite a different instruction: pull the audio earlier. Our builder deliberately does not trim the head of a recording — cutting audio content forward discards whatever played during that time. Instead it pads the head of the picture with frozen copies of the first frame using tpad=start_duration=0.3, which re-times the picture to meet the audio where it actually is.
In the measured late fixture the beep stayed at 2.300 s while the flash, originally frame 60, came to frame 69 — 2.300 s after the added 0.3-second head. Padding requires re-encoding the picture: the plan encodes H.264 at the veryfast preset, CRF 20, and copies the audio untouched. The container measured 4.300 seconds, decode was error-free, and the beep and flash finally coincide.
That makes the late path the heavier correction of the two. The file grows by the offset length, the picture is recompressed once, and a viewer who scrubs frame 1 sees a frozen image instead of the first real frame. Watch the start of the output before deciding that this trade is acceptable for your delivery.
What the checks can prove — and what stays your call
The tool probes the finished export before any download is offered, and the check list reports the stream inventory, the output duration against the expected duration, and the codec and coded dimensions in both modes. When the picture is copied, the export is also compared with the source by encoded-picture SHA-256, and a mismatch stops the download instead of passing as success. Every finding is machine-readable in the report download.
These checks say nothing about three human matters. They cannot confirm that your measured offset is the right amount. They cannot score perceived lip movement, because a hash and a duration do not encode judgment. And they cannot detect an offset that was wrong from the first minute of the recording, since nothing inside the file distinguishes a synced recording from a consistently mis-timed one.
Watch the output at the same two moments you used for the measurement: the event moment and one other located well into the file. If the gap changed between them, you are correcting drift with a constant tool, and the constant tool will simply move the mistake.
Measured exports and downloads
Both exports below were produced by the site’s pinned 0.12.10 WebAssembly engine under Node and independently inspected on desktop FFmpeg 8.1.1. They are synthetic fixtures from the record; they are not a named-version test of any editor or platform.
| Export | Mode | Picture | Duration | Key measurement |
|---|---|---|---|---|
| Early fixed | adelay 0.3 s | Copied · hash match | 4.000 s | Beep 1.700 → 2.000 s |
| Late fixed | tpad 0.3 s head | H.264 re-encode | 4.300 s | Flash at frame 69 · 2.300 s |
Download the early-offset export (19,583 bytes) · Download the late-offset export (16,049 bytes) · Exact commands, beep onsets and hashes in the measurement record
Walk the fix through the browser
- Open the sync fixer, choose the clip, and inspect its streams. Nothing changes yet.
- Find an event you can see and hear. Decide whether the sound arrives early or late, and estimate the size of the gap.
- Describe the offset with those two answers. The consequence line tells you which stream the export will touch before you commit.
- Run the shift and read the check list: streams, expected duration, decoded output and the copied-picture hash when it applies.
- Play the exported file at your event moment and at one later moment. Confirm the fix held, then download and keep the original file.
The tool accepts offsets from 0.01 to 5 seconds. Sizes near that ceiling usually mean the direction was read backwards or the file is drifting rather than offset, so re-measure before trusting a large shift. The downloaded report records your settings, stream inventories and the copied-picture hash under neutral labels, without your filenames.
Common questions
How do I know whether my offset is 0.3 or 0.03 seconds?
Point at one event and count by hand or with a stopwatch comparison; a subframe-scale error is audible as a hair of anticipation rather than a full read. Our fixtures land on clean 0.3-second values because they were built that way, not because offsets behave in round numbers in real recordings.
Why does a delayed export end exactly at the picture length?
The early path stops the output at the picture length, so any soundtrack content after the final picture frame is dropped by design. If the important sound lives after the picture ends, this repair is the wrong shape for your file.
Can it fix recordings where the drift grows over time?
No. It applies one constant shift. Growing drift needs the timing diagnostic path, where the picture frame rate and audio clock are compared across the file before any correction.
Sources & further reading
Written for ToolWillow with original explanations and examples. Consult current product documentation for controls that vary by version.



