Skip to content

Why Synchronisation Matters

A capture rig records several streams at once: cameras, an IMU, often audio, sometimes other devices worn by the same person or standing in the room. Every downstream step assumes it knows when each sample was taken. Stereo depth matches a left frame with a right frame. Visual-inertial tracking integrates the IMU between frames. Hand triangulation combines views of a hand that is moving. If the timing is wrong, all of these quietly get worse.

The camera calibration guide and the IMU calibration guide treat the time offset as part of calibration. This section goes further: what “in sync” means, how much error is acceptable, and every practical way to get there. This page sets out the terms and the numbers. The next pages cover hardware sync, software and visual sync, and a comparison of all the methods.

People say the cameras are in sync and mean one of two different things.

Synchronised exposure means the cameras capture at the same instant. Their shutters open together, so frame 100 from one camera and frame 100 from another show the world at the same moment. This needs a shared trigger or frame-timing signal.

Synchronised timestamps means every sample carries a time from the same clock, or from clocks whose relationship is known. The frames may be taken at different moments, but you know exactly when each one was taken, so you can pair them or interpolate between them.

The two are independent. Meta’s documentation for its Aria Gen 2 glasses describes a multi-device time alignment that puts every pair of glasses on a common time base, and then notes that playback alternates between devices: “This is expected and correct, because the host and client devices’ RGB cameras are NOT trigger aligned by nature” (Aria Gen 2 time alignment tutorial).

Timestamp sync without exposure sync leaves a residual error even if the clocks are perfect, because the frames themselves fall at different moments. The RocSync authors put it this way for clock-based methods: “the shutters themselves are not synchronized across cameras. As a result, residual misalignment of up to half a frame can remain even when pairing the closest timecodes between two video streams.”

Why a single event only syncs to the nearest frame Two cameras both recording at 30 frames per second, with their frames starting at different moments. A hand hits the table at 72 ms. Camera A's first frame showing it starts at 66.7 ms and camera B's at 81.7 ms, so the two cameras disagree by 15 ms about an event that happened once. The error can be up to one frame, 33 ms at 30 fps. 050100150200 ms Each box is one frame's exposure, 30 frames per second Hand hits the table: 72 ms Camera A Camera B A first shows it: 66.7 ms B first shows it: 81.7 ms
Two cameras at 30 frames per second whose frames start at different moments. A hand hits the table at 72 ms; camera A first shows it in the frame starting at 66.7 ms and camera B in the frame starting at 81.7 ms. Matching each event to the nearest frame leaves an error of up to one frame, 33 ms at 30 fps, unless the exposures themselves are synchronised.

For the field guide’s terms in one place, grouped by topic, see the glossary.

Term Meaning
Clock A counter driven by an oscillator, usually a quartz crystal. Every camera, IMU and computer has its own.
Clock offset The difference between two clocks’ readings at the same instant.
Clock drift (skew) The difference between two clocks’ rates. With drift, the offset changes over time.
ppm Parts per million. A rate error of 50 ppm means a clock gains or loses 50 µs every second.
Timestamp The time a system attaches to a sample. Which instant it marks (start of exposure, end of readout, arrival at the computer) varies by device.
Exposure midpoint The middle of the interval during which the sensor collects light. The usual best single instant to represent a frame.
Readout time For a rolling-shutter sensor, the time taken to read every row of one frame, top to bottom.
Latency A delay between when something happened and when it was timestamped. A constant latency is an offset.
Jitter Random variation in that delay from sample to sample.
Phase Where in its frame period a camera starts each frame. Two cameras at the same frame rate but different phase never expose together.
Hardware trigger An electrical pulse that tells a camera when to capture.
Genlock Locking a camera’s frame timing to an external reference so that its frames start at chosen instants.

The error budget: how much timing error is too much

Section titled “The error budget: how much timing error is too much”

How much error a rig can tolerate depends on how fast things move in the image. The arithmetic is simple, and worth doing for your own rig.

Take a hand moving at 1 m/s. That speed is an assumption for the example, not a measured typical value; use the speeds from your own task.

Timing error Hand moves
1 ms 1 mm
10 ms 10 mm
16.7 ms (half a frame at 30 fps) 16.7 mm
33.3 ms (one frame at 30 fps) 33.3 mm

Distance is speed times time, so the table is exact for that speed. If two cameras disagree by one frame at 30 fps, a triangulated fingertip can be off by several centimetres, which is larger than the fingertip.

Head rotation moves the whole image at once. Assume a head turning at 100 °/s (again an example value) and a camera 1280 pixels wide with a 90° horizontal field of view and no distortion. The pinhole focal length is 640 / tan(45°) = 640 pixels, so near the image centre one degree is about 11 pixels.

Timing error Rotation Image shift near the centre
1 ms 0.1° about 1.1 px
10 ms 1° about 11 px
16.7 ms 1.7° about 19 px
33.3 ms 3.3° about 37 px

So a 1 ms error is about one pixel for this camera and motion, while a one-frame error is tens of pixels. Published examples make the same point at larger scale. Olson (2010): “Consider, for example, a robot rotating at a modest 90 deg/s that is observing an object 10 m away: a synchronization error of just 10 ms results in a projection error of 15.7 cm.” Faizullin, Kornilova and Ferrer (2021) give a second: a “time offset of 10 milliseconds leads to rotation error of 3 degrees that corresponds to 50 cm shift between observations of an object located at 10 meter distance” for a platform turning at 5 radians per second.

The same arithmetic applies to stereo depth, as plain geometry. Stereo matching assumes the left and right images show the scene at one instant: depth comes from the horizontal shift (disparity) of a point between the two views. If the second camera exposes 1 ms after the first during this head turn, everything in its image has already moved by about 1.1 px. A horizontal shift of that kind adds straight onto the disparity and so biases the depth, and a vertical one pushes the match off the line where the matcher looks for it. One pixel of disparity is about a centimetre of depth at 0.65 m on RoboCap’s front pair (Mono vs Stereo), so on a similar camera even the 1 ms row of the table matters at arm’s length. This is why the two cameras of a pair have to expose together, not just carry good timestamps.

Visual-inertial trackers fail outright when the camera–IMU offset is large and unmodelled. Testing on the EuRoC benchmark with artificial offsets, Ling et al. (2018) report: “OKVIS fails to track in sequence 2 ∼ 5 when the time offset is set to be 60 ms. We have tested different approaches under larger time offsets, such as 90 ms. However, neither OKVIS or VINS-Mono provides reasonable estimates.”

Below that, an unmodelled offset degrades a tracker before it breaks it. The mechanism: visual-inertial odometry uses the IMU to predict the motion between two frames, and an offset makes that prediction describe a slightly different moment from the one the images show, so the two disagree by an amount that grows with how fast the head turns. Qin and Shen (2018) shifted the EuRoC IMU timestamps artificially and ran VINS-Mono with no temporal calibration: “The performance deteriorates dramatically when the time offset increases. The tolerance interval is only within 6 milliseconds.” With the offset estimated online, accuracy no longer depended on it. Their full table, including OKVIS’s trajectory error rising from 0.284 m at 5 ms to 2.805 m at 30 ms on one sequence, is on Camera-IMU Time Offset.

For multi-view hands, sub-frame timing helps even after frames are matched. RocSync triangulated 3D hands from cameras at 30 fps and found that interpolating to a common instant “reduced the mean Euclidean distance between poses from 26.07 mm without interpolation to 7.52 mm with interpolation” (Meyer et al., 2025).

Every device keeps time with its own oscillator, and no two run at exactly the same rate. The relationship between two clocks over a recording is, to a good approximation, a straight line:

time on clock B = (1 + drift) × time on clock A + offset

The offset is where the line starts. The drift is its slope minus one, usually given in parts per million. Measuring the offset once, at the start, removes the offset but not the drift.

A clock that is off by 50 ppm gains or loses 50 µs per second. Over an hour, that is 3600 × 50 µs = 180 ms.

Rate difference Drift per hour Frames at 30 fps Frames at 60 fps
1 ppm 3.6 ms 0.11 0.22
20 ppm 72 ms 2.2 4.3
50 ppm 180 ms 5.4 10.8
100 ppm 360 ms 10.8 21.6

This matches a classic calculation from production sound. Writing about audio recorders with 50 ppm crystals, Schneider (2009) worked out that “this equates to 5.4 frames per hour of drift”. At 50 ppm, two 30 fps cameras drift half a frame apart in about 5.6 minutes.

The two clocks’ errors add. Fora Soft’s guide to drift correction notes: “Consumer-grade crystals are typically rated at ±20 to ±50 ppm, so two ordinary devices can differ from each other by as much as 100 ppm in the worst case.” For free-running timecode, the SMPTE standard sets a looser limit: a generator “without a reference” has a “frequency tolerance” of “±100 ppm” (SMPTE ST 12-1:2014).

Devices Measured drift Equivalent Source
A microcontroller clock against the main (event camera) clock “usually around 2 milliseconds per minute” about 33 ppm TUM-VIE (Klenk et al., 2021)
Most of 47 Android phone models “less than 1.2 ms per minute” under 20 ppm Akhmetyanov et al. (2021)
Two eye-tracking glasses against the computer running LSL fitted slopes of 0.99999247 and 0.99999221 about 7.5 and 7.8 ppm Pupil Labs LSL relay guide
Consumer headsets against motion capture “can exceed 2 ms per minute for consumer-grade devices” over 33 ppm Shu et al. (2025)

Sensors inside a device can be worse than its main clock. GoPro’s GPMF documentation says the camera’s audio and video share a crystal around 50 ppm, but “Camera internal sensors or data via a connected Bluetooth device, will have timing errors in the range ±1%.” That is 10,000 ppm, which is why GoPro tells parsers to derive the IMU sample rate from sample counts against the video clock rather than trust the nominal rate.

Because of drift, a single sync at the start of a session decays. Tentacle Sync’s guide to setting GoPro timecode by QR code warns: “Keep in mind that time drifting over the day depends on GoPros internal clock (unless you re-sync your GoPro)” (Tentacle Sync). GoPro’s own precision time page says: “As the camera’s internal clock will drift slowly over time, use this QR Code just before your multi-camera shoot for the best synchronization.”

The fix is two sync points, one at the start and one at the end, and a straight line between them. With two points you get both the offset and the drift, and every frame in between can be corrected.

Clock drift between two cameras over an hour A plot of the time offset between camera B and camera A against recording time. A cluster of QR readings at the start gives an offset of about 1240 ms, and a cluster at the end, sixty minutes later, about 1312 ms. A straight line through both clusters gives the offset for every frame in between; the 72 ms of drift corresponds to the clocks disagreeing by 20 parts per million. 13201300128012601240 015304560 Recording time (minutes) Offset, B minus A (ms) QR at the start QR at the end Every frame in between reads its offset off this line 72 ms of drift
Clock drift between two cameras over an hour. Sync readings at the start give an offset of about 1240 ms and readings at the end, sixty minutes later, about 1312 ms. A straight line through both gives the offset for every frame in between; 72 ms of drift in an hour means the clocks run 20 parts per million apart.

Worked example: drift from two sync points

Section titled “Worked example: drift from two sync points”

Suppose camera B reads 1240 ms ahead of camera A at the start of a recording and 1312 ms ahead 60 minutes later. The drift is (1312 − 1240) ms ÷ 3,600,000 ms = 20 × 10⁻⁶, or 20 ppm. Halfway through, at 30 minutes, the offset is 1240 + 72 × 0.5 = 1276 ms. If you had only used the starting offset, frames near the end would be 72 ms out, more than two frames at 30 fps.

The straight-line model assumes the clock rate stays steady. It does not, exactly: the chrony FAQ notes that the stability of a computer’s clock “mainly depends on the temperature sensitivity of the crystal oscillator and the maximum rate of the temperature change”. Long sessions, or rigs that warm up on someone’s head, benefit from more than two sync points, or from continuous sync.

A frame is not captured in an instant. The sensor collects light for the exposure time, then the image is read out, processed and sent. A timestamp can mark any of these moments, and different devices choose differently.

The Linux video API makes the choice explicit. V4L2’s buffer flags distinguish “End Of Frame. The buffer timestamp has been taken when the last pixel of the frame has been received or the last pixel of the frame has been transmitted” from “Start Of Exposure. The buffer timestamp has been taken when the exposure of the frame has begun.” The USB Video Class specification defines its presentation timestamp as “the source clock time in native device clock units when the raw frame capture begins” (UVC 1.5).

For motion, the instant that best represents a frame is the middle of the exposure. Furgale, Rehder and Siegwart (2013), the paper behind Kalibr, state that “The middle of the exposure time constitutes the ideal point to timestamp an image”.

The reason is how a sensor records motion. A pixel adds up the light it receives over the whole exposure, so a moving point leaves a short streak, and for steady motion the centre of that streak is where the point was halfway through the exposure. The blur is symmetric about that centre, so a detector that locates the blurred feature by its centre reports the position at the mid-exposure instant. A timestamp at the start or the end of the exposure is then off by half the exposure time, and the error changes whenever the exposure does. In their experiments the images were stamped at the start of exposure, so the estimated camera–IMU offset grew with exposure time, as they expected: “fixed communication and filter delays plus half the exposure time”.

Worked example: cameras with different exposure times

Section titled “Worked example: cameras with different exposure times”

Two cameras are triggered at exactly the same instant. One exposes for 1 ms, the other for 10 ms. Their exposure midpoints are 0.5 ms and 5 ms after the trigger, so the frames represent instants 4.5 ms apart, even though the trigger was perfect. With auto-exposure, the gap changes from frame to frame. The hardware sync page covers the fix.

Same trigger, different exposure midpoints Two panels on a time axis from minus 6 to plus 12 milliseconds. Top panel, same start: camera A exposes from 0 to 1 ms and camera B from 0 to 10 ms, both triggered at 0. Their midpoints, 0.5 ms and 5 ms, are 4.5 ms apart. Bottom panel, same midpoint: camera B starts 4.5 ms early, at minus 4.5 ms, so both exposures are centred on 0.5 ms. Same start Same midpoint Camera ACamera B Camera ACamera B 1 ms exposure midpoints 4.5 ms apart trigger B starts 4.5 ms early midpoints aligned −6−3036912 ms Dark bar marks each exposure's midpoint
Two cameras triggered at the same instant but exposing for 1 ms and 10 ms. Their exposure midpoints, the instants the frames best represent, are 4.5 ms apart (top). Starting the longer exposure half its length earlier, as exposure-compensated triggering does, puts both midpoints at the same instant (bottom).

Most CMOS sensors have a rolling shutter: they expose and read the image one row at a time. Gyroflow’s documentation describes it plainly: “Rolling shutter artifacts are caused by camera sensors reading lines sequentially instead of simultaneously (global shutter).”

Each row therefore has its own capture time. If a frame’s timestamp marks the first row, the last row was captured one readout time later. The readout time is the number of rows times the row time. One measured example: the authors of Gaussians on Fire (2025) observed a row readout time of 2.85 µs on their GoPro Hero 13 Black setup. In the phone experiment of Ansari et al. (2019), “it takes 3.3 ms to capture the fraction of the scene shown”.

This matters for sync in three ways:

  • Different cameras, different readout. Two cameras exposing their first rows together still disagree at their last rows if their readout times or scan directions differ.
  • Which row is the time. A common approximation treats a rolling-shutter frame as a global-shutter frame taken at its middle row. Ling et al. (2018) approximate “the rolling-shutter images … with global-shutter images captured at the ‘middle-row’ readout time”.
  • Readout as a measuring tool. Because each row is a separate moment, a fast-blinking light filmed by a rolling-shutter camera leaves bands whose position gives time to within microseconds. The visual sync section uses this.

You can measure readout time yourself. Gyroflow: “One approach is by recording a rapidly flashing source of light with a known frequency or pulse width, and analyzing the resulting image.” GoPro cameras record it: the GPMF track includes SROT, “Sensor Read Out Time” (gpmf-parser).

Between the moment a sample is taken and the moment it is timestamped lies a delay. Its constant part is latency; its random part is jitter. They need different treatment.

The authors of the Lab Streaming Layer model an observed timestamp as the true time plus three terms: a fixed per-device delay (τ), the averaged clock offset between computers (OFS) and zero-mean noise (ε) (Kothe et al., 2025). The fixed delay can only be measured, never inferred from the stream itself: LSL “cannot itself learn or estimate whatever on-device delays within each recording device occurred”.

  • Latency shifts every sample by the same amount. It looks exactly like a clock offset, and is removed the same way, by calibrating it once. A real example: in TUM-VIE, a microcontroller timestamped both images and IMU samples, but “due to the IMU readout delay, there exits a constant offset of 4.77 milliseconds” (Klenk et al., 2021).
  • Jitter scatters samples around their true times. It cannot be calibrated away, only reduced by timestamping closer to the sensor, or smoothed by fitting a model to many samples.
  • Drift is neither. Fora Soft gives a good test: “A slow, monotonic slide is always a clock mismatch, never network jitter.”

Jitter is worst when a computer stamps data on arrival. Faizullin et al. measured a LiDAR whose packets arrive every 1328 µs: stamped by ROS on arrival, the period varied with a standard deviation of 82.64 µs and an extreme of 8931.40 µs, against 1.35 µs when a microcontroller stamped them (Faizullin et al., 2021). Transport settings matter too. Olson notes that the common FTDI USB-to-serial converter “artificially waits 16ms before transmitting data” by default, a latency timer that on Linux “can be reduced to 1 ms” (Olson, 2010).

Kalibr’s camera–IMU guide shows what bad timestamps look like in practice: “a burst of IMU are send at a rate of 1ms with gaps of 6ms between (caused by sending messages in buffers and directly republishing them).” Its verdict: “If you have this, than likely your hardware is messed up and you will run into calibration problems.”