Audio Video Sync Offset Fixer

Open a video whose sound is early or late. The tool finds clap-like sounds in the audio, you step to the frame where the hands meet, and it computes the offset. Preview the shifted sound against the picture, nudge by single milliseconds and save a copy with the audio moved and the video untouched.

Runs in your browser. Your files never leave your device. See how to check

…

How to do it

  1. 1
    Open the video

    Drop an MP4, MOV, MKV or WebM file; the audio is decoded and clap candidates appear.

  2. 2
    Mark the clap sound

    Tap a clap candidate, or move the playhead to the sound and press Sound of clap = playhead.

  3. 3
    Mark the frame

    Step frame by frame to where the hands meet and press Hands meet = this frame.

  4. 4
    Preview

    Play the video; the sound plays with the offset. Toggle the original sound to compare.

  5. 5
    Fine tune

    Nudge by 1, 10 or 40 ms or use the slider until the lips match; use drift mode for growing errors.

  6. 6
    Save

    Press Save without re-encoding to download a copy with the audio shifted.

About this tool

Sound that runs ahead of or behind the picture is one of the most common faults in home video, screen recordings, interviews filmed with a separate microphone and clips exported from phone editors. A tenth of a second is enough for lips to look wrong. Most fixes mean importing into a video editor, sliding the track and exporting again, which re-encodes the whole picture and takes time and quality. This tool shifts only the audio and copies the video stream bit for bit. Open the file and the audio track is decoded in the browser; a transient detector lists clap-like moments such as a slate, a hand clap or a door knock. Step through the video frame by frame to the moment the hands touch and press the button; the difference between the two times becomes the offset. During preview the video plays muted while the decoded sound plays with the offset applied, so you can judge lip sync, toggle back to the original sound and adjust in 1, 10 or 40 millisecond steps or with the slider. Saving runs the self-hosted ffmpeg with -itsoffset and stream copy: the result has the same codecs, resolution and quality, and is ready in seconds. A two-point mode measures drift, where sync is right at the start and wrong at the end, and corrects it by re-encoding only the audio.

Which way to shift

A positive offset delays the audio, for when you hear the clap before you see it, which happens with external recorders that started early or with Bluetooth monitoring baked into a recording. A negative offset makes the audio earlier, for the more common case where the sound lags behind the lips, as in many screen recordings and webcam captures. One frame lasts 33 ms at 30 fps and 40 ms at 25 fps; viewers notice errors from about 45 ms with sound early and about 125 ms with sound late.

Fixing drift

When the error grows over time, the audio and video clocks ran at slightly different speeds. Mark a clap near the start and another near the end; the tool reports the drift in parts per million and seconds per hour, then saves with the video copied and the audio re-encoded to AAC 192 kbit/s with the ffmpeg atempo filter and the start offset applied.

Limits

Very large files (above about 1.6 GB) do not fit in browser memory for ffmpeg; trim or split them first. Some audio codecs, such as AC-3 or DTS in MKV files, cannot be decoded by every browser for the clap finder; you can still set the offset by ear from the original sound and save. With a negative offset the video starts slightly after the audio, so the first frames may show black in some players. Drift correction re-encodes the audio, so it is not lossless for that track.

Worked example

A teacher records a 14 minute lesson on a webcam (MP4, H.264 and AAC, 1080p, 412 MB) and the voice lags behind the lips. At the start of the recording they clapped once. The clap finder lists a strong transient at 0:02.684. Stepping frames at 30 fps, the hands meet at 0:02.533. The offset is 0.533 - 0.684 = -151 ms, so the audio must play 151 ms earlier. Preview looks right; a nudge of +10 ms makes it -141 ms, which looks slightly better. Save writes lesson-audio-141ms.mp4 at 412 MB in about 20 seconds, with the video stream copied unchanged.

Quick facts

Frequently asked questions

Will the video lose quality?

No. In fixed offset mode both the video and the audio streams are copied without re-encoding; only their timing changes. In drift mode the video is still copied and only the audio is re-encoded.

How do I know which direction to shift?

If you hear the clap before the hands meet, the audio is early: use a positive offset to delay it. If you hear it after, the audio is late: use a negative offset. Marking both points lets the tool work it out.

What if there is no clap in my video?

Use any sharp sound with a visible cause, such as a door closing, a ball bouncing or the letters p and b in speech. Or simply play the preview and adjust the slider until the lips look right.

Which formats can I save?

The copy keeps the container of the original: MP4, MOV, M4V and MKV work well, and WebM keeps its Opus or Vorbis audio. In drift mode a WebM is saved as MKV because the audio becomes AAC.

Is my video uploaded?

No. The video is decoded and remuxed in this browser tab; the ffmpeg program is served from this site and runs on your device. The first save downloads it, about 31 MB, after which the browser usually caches it.

Why does the preview sound slightly different from the saved file?

The preview plays the decoded audio through Web Audio next to the muted video, so it can lag by a few milliseconds on slow devices. The saved file applies the exact offset you set.

Guides for this tool

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages