How to fix audio out of sync with video in OBS (measure it, then set the offset)
Free kit: Free Cozy Audio kit bundles this with the other tools you need.
Your lips move a beat after your words. Or the drum hits on screen land just after you hear them. Audio and video drifting apart is one of the most common stream problems, and it's usually easy to fix once you measure it. This guide shows how to find the exact offset, set it in OBS, and tell the difference between a fixed delay and a drift that gets worse over time.
Why it happens
Audio and video travel different paths. A webcam or capture card has to capture, encode and send frames, which takes time. A USB mic or audio interface usually delivers sound faster. So most of the time, audio arrives before video, and the fix is to delay the audio to match.
Common causes:
- Webcams, especially at high resolution or with built-in processing
- Capture cards and HDMI converters
- Bluetooth headphones on your monitoring side (this affects what you hear, not the viewers)
- Different devices running at different sample rates
Step 1: Measure the offset with a clap
1. Set up your camera and mic as you normally stream.
2. Start a local recording in OBS.
3. Facing the camera, clap your hands sharply, clearly in frame, three or four times with a pause between.
4. Stop the recording and open it in a video editor that shows individual frames.
5. Find the frame where your hands meet, and find where the clap spike appears in the audio waveform.
6. Count the frames between them.
Convert frames to milliseconds: one frame lasts 1,000 / frame rate ms.
- At 30 fps: 1,000 / 30 = 33.3 ms per frame
- At 60 fps: 1,000 / 60 = 16.7 ms per frame
Worked example
Recording at 30 fps, the clap sound appears 4 frames before the hands meet on video.
4 x 33.3 = 133 ms. Audio is early by about 133 ms, so delay the audio by 133 ms.
Average your three or four claps. If you measured 4, 4, 5 and 4 frames: (4 + 4 + 5 + 4) / 4 = 4.25 frames, x 33.3 = 142 ms. Start with 140 ms and fine-tune.
Step 2: Set the offset in OBS
1. In the Audio Mixer, click the three dots (or gear) on any source and open Advanced Audio Properties.
2. Find your mic and enter the delay in the Sync Offset column, in milliseconds. A positive number delays the audio.
3. Do the same for any other audio that should match the camera, such as a second mic.
Do not delay audio that isn't tied to the camera, like desktop or game audio, unless it is also out of sync with its own video.
Step 3: Verify
Record another clap test. The sound should line up with the frame where your hands meet, within about one frame. Then talk to the camera with hard consonants ("pop, tap, bob") and watch the playback. If it looks right, you're done.
Another way to test: a metronome
If clapping is awkward, play a metronome and tap a pencil on the desk in time with each click, in view of the camera. The online metronome at 120 BPM gives a click every 500 ms (see 120 BPM in ms), which makes each tap easy to find on the waveform and in the video.
When the video source is the problem
If your video arrives before your audio (rare, but it happens with some audio interfaces or network audio), you can't use a negative sync offset to fix it well. Instead, add a Video Delay (Async) filter to the camera source in OBS and set the delay in ms. Use it only when needed, since it adds memory use.
Mic distance matters a little
Sound takes about 2.9 ms to travel one meter (roughly 0.9 ms per foot). A mic a foot from your mouth adds less than a millisecond, which is too small to see. It matters more for room mics, multi-mic setups or a mic across a large room. The mic delay calculator works out the delay from distance.
Fixed delay vs drift
- Fixed delay: the offset is the same at minute 1 and minute 60. Sync offset fixes it.
- Drift: in sync at the start, worse over time. Usually a sample rate mismatch between devices, such as a mic at 44.1 kHz and OBS at 48 kHz. Set every audio device and OBS (Settings, Audio) to the same sample rate, usually 48 kHz for video. See what sample rate and bit depth to use.
Drift can also come from a capture device dropping frames, or from an overloaded computer. Check OBS's stats window for dropped or lagged frames.
Keep a note of your numbers
Write down your offset with the camera model, resolution and frame rate. If you change any of these, re-test, because the camera's delay can change with them.