Convert ms to frames
How to convert ms to frames
Convert ms to frames using the formula below.
Common ms to frames conversions
Why frames matter for A/V sync
A/V sync is measured in milliseconds in software but perceived in frames by viewers. One frame at 30fps lasts 33.33 ms.1 The smallest unit of visual change a viewer sees is the frame boundary, so an audio offset smaller than one frame (under 33 ms) arrives within the same frame as the visual event, which most viewers cannot consciously detect. An offset of two frames (66 ms) is at the perceptible boundary for most people under passive viewing conditions, and three frames (100 ms) is clearly detectable by most viewers.
Converting your measured millisecond offset to frames at 30fps tells you how many video frames separate the audio event from the visual event, a more intuitive quantity for video editors and streaming technicians comparing sync quality. A frame count maps directly to what an editor sees on a timeline, so describing the gap in frames rather than milliseconds makes the severity immediately visible in a way that does not require mental unit conversion.
Each complete frame of desync at 30fps represents 33.33 ms of offset in the recording or stream. Human observers detect audio-leading-video misalignment at approximately 45 ms in controlled perceptual research, just over 1.35 frames at 30fps.2 An offset that produces 2 or fewer frames of desync is in the edge-of-perceptible range for passive viewers. Three or more frames pushes the offset to clearly detectable. Knowing where your measured result falls in this perceptual range helps you prioritize whether the sync correction is urgent or whether a rough approximation from the first session is close enough for your audience.
When you need to explain A/V sync quality to a collaborator who does not think in milliseconds, the frame count from this converter provides a common reference point. A video editor working in Premiere Pro or DaVinci Resolve aligns cuts on frame boundaries; describing your sync gap in frames immediately maps to the same unit of measure they use every day. Saying the stream has 2.16 frames of desync at 30fps is cleaner than saying it has 72 ms, because the editor can look at the timeline and picture exactly what 2.16 frames looks like without unit conversion.
Using frame count in editor notes
Frame counts are useful when you label test clips, write troubleshooting notes, or ask a collaborator to inspect a timeline. The correction still belongs in milliseconds, but the frame count gives editors a visual unit they can verify without recalculating every time. Adding the frame count alongside the raw millisecond value in your project notes means anyone reviewing the clip later can immediately grasp the severity without opening a calculator.
Using this converter with your OBS sync measurement
After running the 5-clap test on the Webcam A/V Sync & Latency Meter page, convert your millisecond offset to frames using this calculator. An offset of +72 ms at 30fps equals 2.16 frames, just over two full frames of desync. The decimal portion (0.16 frame) represents 5.3 ms of sub-frame offset.
In OBS, the Sync Offset field applies the correction in milliseconds, not frames. Enter the original millisecond value in OBS for the correction. Use the frame count here to understand the magnitude of the desync in terms a video editor immediately recognizes. Furthermore, frame count is useful when reporting sync issues to a manufacturer or support team; 2.2 frames of desync at 30fps is more specific than approximately 72 ms.
Frame count as a communication tool
Expressing your A/V sync measurement in frames rather than milliseconds removes an extra conversion step for collaborators who work in video timelines. A 2.1-frame offset at 30fps is immediately visualizable in a Premiere or Resolve timeline; a 70 ms offset requires calculation. When reporting sync issues to a camera manufacturer's support team, citing both the frame count and the raw millisecond value (for example, 2.1 frames at 30fps, measured at 70 ms with the five-clap browser test) gives their engineers both the perceptual context and the technical data they need to investigate the pipeline contribution for your specific camera model.
The OBS Sync Offset correction applies in milliseconds, not frames.3 Enter the raw millisecond value from the five-clap test in OBS Advanced Audio Properties rather than converting to frames first. The frame count from this converter is for reference and communication; the correction mechanism in OBS accepts only a millisecond integer.
Keeping the OBS correction in milliseconds
If your correction reduces the residual desync to 0.3 frames (about 10 ms), that residual falls well below the typical perception threshold and requires no further adjustment. Most five-clap measurements corrected with the exact OBS offset land in the 0.1 to 0.4 frame residual range after a single careful calibration. The frame count from this converter serves as a communication and documentation tool, while the actual OBS Sync Offset field always accepts the raw millisecond value as an integer without any frame-rate conversion.
Try in the tool
Conversion covered by this page
72 ms converts to 2.16 frames using the formula on this page. Use this figure as a reference point alongside the tool below.
Verify with the Webcam A/V Sync & Latency Meter tool.
Try it in the tool ↑- 1.
Microsoft, "MFFrameRateToAverageTimePerFrame function (mfapi.h)," learn.microsoft.com, February 2024. https://learn.microsoft.com/en-us/windows/win32/api/mfapi/nf-mfapi-mfframeratetoaveragetimeperframe
- 2.
Ragnhild Eg and Dawn M. Behne, "Perceived synchrony for realistic and dynamic audiovisual events," Frontiers in Psychology, 2015. https://www.frontiersin.org/journals/psychology/articles/10.3389/fpsyg.2015.00736/full
- 3.
OBS Project Forum, "Audio Out of Sync with Lips," obsproject.com, March 2019. https://obsproject.com/forum/threads/audio-out-of-sync-with-lips.101689/
One frame at 30fps lasts exactly 33.33 ms (1000 ms ÷ 30 frames). An A/V offset under 33 ms falls within a single frame boundary at 30fps, and viewers typically cannot detect sub-frame offsets under passive viewing conditions.
72 ms ÷ 33.33 ms per frame = 2.16 frames. Visually this appears as audio arriving slightly more than two frames before the corresponding visual event in 30fps playback.
The 0.16 fractional frame (approximately 5 ms) is below the typical perception threshold for passive viewers. The two full frames of offset at 33 ms each are in the perceptible range. The fractional portion does not add perceivable desync beyond the two-frame offset.
Aim for under one frame of residual error after applying the correction (under 33 ms). Most streamers achieve 0.1 to 0.3 frame residual after using a precise millisecond correction from the 5-clap test.
For normal sync correction, this converter works for both 29.97fps and 30fps because the frame durations differ by only 0.04 ms. CapyToolkit's converter ties the calculation to the frame rate you choose, so select 30fps for 29.97fps setups when you want a practical estimate without meaningful error.
Convert ms to frames
How to convert ms to frames
Convert ms to frames using the formula below.
Common ms to frames conversions
A/V sync in frames at 60fps
At 60fps, one frame lasts 16.67 ms, exactly half a 30fps frame.1 Streamers and content creators who target 60fps output face a tighter frame budget for A/V sync. An offset of 33 ms, which equals one frame at 30fps, equals two frames at 60fps. The same physical desync looks "worse" in frame count at higher frame rates, even though the millisecond value is identical.
Cameras like the Elgato Facecam and Logitech C922 Pro Stream deliver 60fps in certain modes. Measuring the A/V offset in milliseconds remains the correct approach regardless of frame rate; the offset is a time difference, not a frame count. Converting to frames helps communicate the severity to an audience that thinks in frames rather than milliseconds.
Why the same millisecond offset has a higher frame count at 60fps
Switching a stream or recording to 60fps output does not change the A/V offset in milliseconds. The webcam-to-microphone pipeline delay stays the same regardless of what frame rate OBS encodes at. However, because each 60fps frame lasts only 16.7 ms, a +72 ms offset that was 2.16 frames at 30fps becomes 4.32 frames at 60fps. If you previously accepted 2 frames of desync at 30fps as tolerable, the same hardware on 60fps output shows 4 frames, which most viewers perceive as clearly wrong. This relationship is the strongest argument for measuring and correcting the offset before switching to a 60fps production.
The perception threshold for audio leading video stays at approximately 45 ms regardless of frame rate, because human temporal perception is time-based rather than frame-based.2 Your A/V sync correction goal should always be to get the millisecond offset below 45 ms after correction, whatever the output frame rate. At 60fps, 45 ms equals 2.7 frames of residual desync; achievable if you measure accurately and apply the OBS Sync Offset precisely. A 1-frame residual at 60fps (16.7 ms) places you well inside the imperceptible-sync zone and gives high-frame-rate viewers the clean output they expect from a quality stream.
Why 60fps streaming shifts the sync perception threshold
Human A/V sync perception thresholds are based on absolute time (approximately 45 ms for audio leading video), not on frame count. Consequently, a +45 ms offset that is barely at the perceptible threshold at 30fps (1.35 frames) is 2.7 frames at 60fps, but equally imperceptible in both cases because the absolute millisecond value is the same.
For 60fps productions, the practical benefit of the converter is communicating sync quality to collaborators and editors who work in timeline frame counts. Furthermore, high-frame-rate gaming streams where the camera matches the game capture at 60fps require accurate sync correction at the frame boundary, and knowing your 1.2-frame residual error helps assess whether a ±1 frame adjustment in OBS is worth the additional effort.
Gaming streams that simultaneously capture the camera and the game at 60fps expose two sources of A/V offset: the webcam-to-mic offset you measure with this tool, and any game-audio-to-game-video offset from the game capture card if you use one. Measure each offset separately; enter each correction in OBS under the appropriate audio source.3 A game stream with both offsets corrected delivers clean sync across both the game capture and the face cam without viewers needing to distinguish between the two sources.
Separating webcam and game capture offsets
For viewers who consume your 60fps content on a device that downscales to 30fps, the effective frame count for your sync gap halves automatically. A 4.3-frame offset at 60fps displays as a 2.15-frame offset on a 30fps playback device, which lands in the edge-of-perceptible range rather than the clearly wrong range. Correcting the offset before going live ensures clean sync at every playback frame rate, giving your entire audience a good experience regardless of their device limitations.
Communicating 60fps sync in editor timelines
A 60fps timeline makes fractional frames easier to discuss because each frame is only 16.7 ms. If a collaborator asks whether a 40 ms offset matters, the converter shows 2.4 frames at 60fps, which is more concrete than a raw number. You still enter the 40 ms value in OBS, while the frame count helps describe the visual severity in timeline language.
Try in the tool
Conversion covered by this page
72 ms converts to 4.32 frames using the formula on this page. Use this figure as a reference point alongside the tool below.
Verify with the Webcam A/V Sync & Latency Meter tool.
Try it in the tool ↑- 1.
Microsoft, "MFFrameRateToAverageTimePerFrame function (mfapi.h)," learn.microsoft.com, February 2024. https://learn.microsoft.com/en-us/windows/win32/api/mfapi/nf-mfapi-mfframeratetoaveragetimeperframe
- 2.
Ragnhild Eg and Dawn M. Behne, "Perceived synchrony for realistic and dynamic audiovisual events," Frontiers in Psychology, 2015. https://www.frontiersin.org/journals/psychology/articles/10.3389/fpsyg.2015.00736/full
- 3.
OBS Project Forum, "Audio Out of Sync with Lips," obsproject.com, March 2019. https://obsproject.com/forum/threads/audio-out-of-sync-with-lips.101689/
One frame at 60fps lasts 16.67 ms (1000 ms ÷ 60 frames). Half-frame precision at 60fps requires sub-8 ms accuracy in your OBS sync correction.
Use 30fps, since the output frame rate is what viewers see. OBS blends or drops frames from the 60fps camera input to produce 30fps output. A/V sync in the output is measured at the output frame rate.
80 ms × 60 fps ÷ 1000 = 4.8 frames. Nearly five full frames of visual desync at 60fps output. This is clearly perceptible and requires OBS sync correction.
More precise in principle, since each frame is a shorter time interval and sub-frame residual errors are smaller in milliseconds. But the OBS sync offset is still entered in milliseconds regardless of frame rate, so the same precision measurement from the 5-clap test applies equally to 30fps and 60fps setups.
Yes. When your camera delivers 60fps and you grant permission, CapyToolkit's A/V Sync & Latency Meter measures the browser-visible stream automatically and returns the raw millisecond value, so you enter that number in OBS without a frame-rate-specific adjustment.