Audio Is Out of Sync With Video
The audio in a video file plays ahead of or behind the video — lips do not match what is being said.
Last updated
Why Audio Gets Out of Sync
Type 1: Constant Offset (Always Ahead or Always Behind)
The audio is consistently X milliseconds off throughout the entire video. This is the easiest to fix.
Common causes:
- Screen recording software that adds a fixed delay to one stream
- Converting between formats with incorrect timestamp mapping
- Combining separately recorded audio and video files
Fix in VLC (temporary, for playback):
- Audio ahead of video: press J to delay audio (up to 500ms per press)
- Audio behind video: press K to advance audio
Fix permanently in HandBrake:
- Open the video in HandBrake
- Audio tab → Gain/DRC → look for the audio track offset setting
- Set the offset in milliseconds (negative to delay, positive to advance)
- Encode
Type 2: Drift (Gets Progressively Worse)
The sync starts correct but gradually drifts — by the end of a long video, the audio may be several seconds off. This is caused by mismatched audio and video frame rates.
Common cause: Variable Frame Rate (VFR) video — typically from screen recordings or smartphone recordings — where the frame rate is not constant. Most editors assume Constant Frame Rate (CFR).
Fix: Convert from VFR to CFR using HandBrake:
- Open HandBrake → Video tab
- Framerate: select a fixed rate (29.97 or 30 fps for NTSC; 25 fps for PAL)
- Enable "Constant Framerate" option
- Encode
Type 3: Sync Issues in Browser Playback Only
If the video plays correctly in VLC or Windows Media Player but is out of sync in Chrome or Safari, the issue is browser-specific decoding.
Fix: Re-encode using HandBrake to standard H.264 + AAC in an MP4 container — the most browser-compatible format.
Advertisement
Quick Test: Is the Original File Out of Sync?
Open the file in VLC. If it is in sync in VLC, the problem is the player or platform you are using, not the file itself. If it is out of sync in VLC, the file itself has the sync issue.
Frequently asked questions
How do I fix audio lag in a video?
In VLC, press J to delay the audio track in 50ms steps until it matches the video. This adjusts playback in real time without modifying the file. For a permanent fix, use HandBrake's Audio Delay setting to offset the audio track and re-encode.
What causes audio drift in a video recording?
Audio drift is caused by Variable Frame Rate (VFR) video — the video has an inconsistent frame rate that most players cannot handle correctly. Screen recorders and some smartphones produce VFR video. Converting to Constant Frame Rate (CFR) in HandBrake fixes the drift permanently.
How can I fix audio sync in a video without re-encoding?
VLC's Audio Delay setting (J/K keys) fixes sync for playback only. For a permanent non-re-encoding fix, tools like MKVToolNix can shift the audio track timestamp in MKV files without re-encoding, preserving full quality.