Browser-based video tool · line up cameras and recorders by their sound

Multicam Audio Sync

Drop two to eight clips from the same event and get each one's offset against a reference to a fraction of a millisecond, with a confidence score and a clock-drift estimate. Save the offsets, an NLE timeline (FCPXML or Premiere XML), or synced audio files.

Clips

8 files at most, each up to 30 minutes. Audio is read at 8 kHz.

Drop video or audio files here

Offsets are searched within ±90 seconds: first against the whole reference, then refined in up to nine 10-second windows spread across it. Clips with no shared sound (a lavalier far from the room, or a camera that heard something else) score low.

Add the clips, choose which one is the reference, and press Find the offsets. The table shows where each clip starts relative to the reference, how confident the match is, and any clock drift.

Multicam Audio Sync

Operator: Abdulla Al Fahad. How tools are built and checked

Two cameras and a recorder started at different moments, and nobody clapped. The one thing every device did record is the room, so this page lines the files up by their sound: it finds where each clip's audio matches a reference clip, to a fraction of a millisecond, says how sure it is, and checks whether a recorder's clock slowly drifts against the camera's. You can then save the offsets, a timeline for Final Cut Pro or Premiere, or one synced WAV per file.

Key features

  • Two to eight video or audio files from the same event, one chosen as the reference
  • Offsets by GCC-PHAT correlation: a whole-clip pass finds where each clip sits, then up to nine 10-second windows refine it to a fraction of a sample
  • A confidence rating for each file and how many windows agreed, and a clock-drift estimate in parts per million
  • An audition with the reference in the left ear and the clip in the right, and a nudge in milliseconds or frames
  • Offsets as CSV, a timeline as FCPXML or Premiere XML, and a drift-corrected 24-bit WAV for each file

How offsets and drift are measured, and what the exports can carry

Each file can be a video (MP4, MOV, M4V, WebM) or audio (WAV, MP3, M4A, AAC, FLAC) of up to 30 minutes, with 120 minutes in total across all files. Audio is read at 8 kHz mono for the matching, so a clip needs sound the devices share; offsets are searched within 90 seconds either way.

The offsets CSV lists each file's start on a timeline that begins with the reference, in seconds, milliseconds and frames at the rate you choose, with the match strength, confidence, windows agreeing and drift. A name that starts with = + - or @ is written with a leading apostrophe. The FCPXML 1.8 puts the clips on lanes over a gap, and the Premiere XML (xmeml 4) puts each file on its own track; both use bare file names, so relink the media.

How it works

A first pass finds where each clip sits against the whole reference. Both are reduced to 1 kHz, cross-correlated end to end with GCC-PHAT (Knapp and Carter, 1976) between 100 and 450 Hz, and the tallest peak gives a rough offset within 90 seconds either way. That is what finds a camera that started 40 s into a 60 s reference; a few short windows alone cannot, because most of them would have no counterpart. If the whole-clip peak is weak, the page falls back to searching the full 90 seconds in every window.

Up to nine windows of 10 seconds are then taken from the reference between 8% and 92% of its length. Each is cross-correlated with the clip's audio within half a second of the rough offset, using GCC-PHAT: the spectra are multiplied, whitened to unit magnitude between 150 Hz and 2.5 kHz so that every frequency counts equally, and transformed back. The tallest peak is the lag, refined by a parabola through its neighbours. Windows that the clip does not cover entirely are skipped, so a clip that overlaps the reference only in part is judged on the windows it can really be matched in.

The peak's strength is compared with the rest of the correlation outside 10 ms of it, as a peak-to-sidelobe ratio. A value of 12 or more is rated high, 7 to 12 medium and below 7 low. Unrelated recordings usually score below 7 (values from 4.9 to 6.3 turned up), so a low rating means little shared sound.

The offset is anchored on the window with the strongest peak, and windows within 20 ms of it count as agreeing. If several windows were tried and only one agrees, the rating is at most low. With three or more agreeing windows over at least 20 seconds, a straight line is fitted through offset against time. Its slope is the drift, and its value at time 0 is the offset at the start.

Synced audio re-reads each file at the fitted offset, with a cubic interpolation when drift above 20 parts per million is corrected, and pads or trims all files to the same timeline.

The nudge adds to the offset after all this, in milliseconds, with a button for one frame.

Common use cases

  • A wedding videographer syncs two cameras and a recorder in the groom's pocket, finds the recorder is 2.4 s out, and exports a drift-corrected WAV to use as the main audio.
  • A podcast editor lines up three remote recordings of one conversation with the host's room mix as the reference.
  • A conference crew syncs a camera and a slide recorder over 45 minutes and reads a drift of 30 ppm, enough to be 80 ms out by the end.
  • A musician syncs a phone video of a rehearsal to the studio recording of the same take.

How to use this tool

  1. Add the files, choose the reference (the clip with the best sound, usually a camera), and press Find the offsets.
  2. Check each file's confidence and drift, and press Play to hear the pair with the offset applied.
  3. Nudge a file if you can hear a small echo, then choose the frame rate and export.
  4. Import the timeline into your editor and relink the media.

Example

A 60-second recording of speech-like noise, delayed copies of it, and a copy that starts 40 s into it

Copies delayed by 0.1234 s, 1.7321 s and 4.25 s, and a clip that begins at the reference's 40-second mark, matched against the reference with a 90-second search

Offsets found

0.1234 s, 1.7321 s and 4.2500 s, all rated high, with every window agreeing
The clip that begins 40 s in reads -40.0000 s (on the timeline it starts at +40 s) and is rated high, from the one window that lies wholly inside the overlap
The first file's start reads -0.1234 s on the timeline in the CSV, because it starts 123.4 ms before the reference
An unrelated recording was rated low, with one window of five agreeing

Tips for best results

  • Choose as reference the clip that sounds most like what everyone heard, normally the camera nearest the action rather than a close lavalier.
  • If a file rates medium, use a longer stretch with clearer sound or play it against the reference through the audition before you accept it.
  • Export the synced WAVs when drift is above about 20 ppm; the timelines can only place a clip at a start offset.

Common pitfalls

Recordings with very different microphone positions, such as a lavalier and a room microphone, share less sound and score lower, and a correct offset can still read medium.

Music with a repeating beat can match at the wrong lag, one beat away; windows that disagree will show in the count of agreeing windows.

Recordings with no overlapping sound in the search range report no match; the file is then placed at the reference's start.

A drift estimate over a short clip is noisy. It is only fitted when at least three windows agree over 20 seconds or more.

Common errors and how to fix them

A file is longer than 30 minutes, or the total passes 120 minutes
Trim the clip or leave out the file; matching holds every clip's audio in memory at 8 kHz.
The reference and a file overlap for under 2 seconds
There is nothing to audition, and the offset is probably wrong; choose a reference that shares more of the event.
The shared timeline is longer than 30 minutes
The synced WAV export is limited to 30 minutes per file; trim the clips first.

Best practices

  • Change the reference once and run the match again: every clip's start should shift by the same amount, and a clip that does not is the one to distrust.

Accuracy and drift

Offsets on clean material are accurate to about 0.1 ms. Noise, low-passing and echo make them less exact: a copy at -3 dB signal-to-noise is still found to about 0.1 ms, but a room recording against a close microphone will be less precise, and no clap-sync comparison on real two-camera footage backs the sub-millisecond figure.

A copy stretched by 120 parts per million is fitted with a drift of about 119.9 ppm, and over 30-second windows the drift smears the correlation so much that matching fails, which is why the page uses 10-second windows.

What the timelines can and cannot carry

The timeline files hold a start offset for each clip, to a whole frame at the rate you choose. They cannot hold clock drift, which is why the WAV export can correct it. They are stacked tracks, not multicam clips: in Premiere, nest them and create a multicam source sequence from the nest. They are written to FCPXML 1.8 and xmeml 4, and the media paths are file names only, so relink the media after import.

No video render

The page does not render a split-screen or switched video. It produces offsets, timelines and synced audio, which a video editor turns into a multicam edit more reliably than a browser could.

Frequently asked questions

Does it need a clap or timecode?

No. It uses the sound itself, so any shared sound works: speech, music, a crowd, or a clap if there is one.

What is the drift number telling me?

How fast the two clocks part: the offset changes by as many milliseconds per 1,000 seconds as the ppm value. At 30 ppm a 45-minute recording is out by about 81 ms by the end.

Can the files be different lengths and start at different times?

Yes. The offset is how far apart they start; files that only partly overlap are fine as long as the reference windows fall in the overlap, which is why nine windows are tried.