# Sync Methods Compared

> Every way to synchronise cameras, IMUs and other devices in one table: what each method syncs, its published accuracy, the hardware it needs and whether it works across separate devices. Then how to choose, how to verify your sync, and prompts you can give an AI.

Page: https://egocam.ai/sync/sync-methods-compared/

This page puts every method from the [hardware sync](https://egocam.ai/sync/hardware-sync/) and [software and visual sync](https://egocam.ai/sync/software-and-visual-sync/) pages side by side. The terms are defined on [why synchronisation matters](https://egocam.ai/sync/why-sync-matters/#terms-used-in-this-section).

## All methods in one table

Accuracy figures are the ones published by each source, under that source's conditions. They are not directly comparable: some are maximum errors, some standard deviations, some RMSE, and some are vendor claims. "Depends" means we found no published figure.

| Method | What it syncs | Published accuracy | Hardware needed | Across separate devices? | Best for |
|---|---|---|---|---|---|
| Hardware trigger, primary and secondary cameras | Exposure start | "within microseconds of each other" ([Teledyne FLIR](https://www.teledynevisionsolutions.com/globalassets/support/iis/application-notes/tan2016008-configuring-synchronized-capture.pdf)) | Cameras with trigger input and strobe output, wiring | Only if wired together | Cameras on one rigid rig |
| Sensor-level frame sync (XVS, XHS, FSIN) | Frame start | Depends | Sensors whose sync pins are brought out ([Raspberry Pi](https://www.raspberrypi.com/documentation/accessories/camera.html#synchronous-captures), [Arducam](https://docs.arducam.com/USB-Industrial-Camera/Connect-and-Sync-Multi-Stereo-Cameras/Hardware-Trigger-with-External-Signal/)) | Only if wired together | Embedded stereo or multi-sensor boards |
| Genlock (trigger starts exposure) | Exposure start | Fixed pulse-to-exposure delay of about 790–880 µs; depth to colour about 170–260 µs ([FRAMOS](https://docs.framos.com/en/latest/D400e/ApplicationGuides/ExternalEventCameraSynchronization.html)) | Global-shutter camera with genlock mode | Only if wired together | Depth cameras around a capture space |
| Trigger selects next free-running frame ("external event") | Which frame is kept | Up to one frame: "will never exceed the 1 frame readout time" ([FRAMOS](https://docs.framos.com/en/latest/D400e/ApplicationGuides/ExternalEventCameraSynchronization.html)) | Trigger input | Only if wired together | Event-driven capture, not motion |
| Exposure-compensated triggering | Exposure midpoint | Camera to camera "better than" 0.5 ms ([VersaVIS](https://arxiv.org/abs/1912.02469)) | Microcontroller trigger board reading exposure signals | Only if wired together | Auto-exposure cameras with an IMU |
| One microcontroller clock for cameras and IMU | Timestamps | About 10 µs, LiDAR to IMU ([Faizullin et al.](https://arxiv.org/abs/2107.02625)); constant sensor delays remain ([TUM-VIE](https://arxiv.org/abs/2108.07329)) | Microcontroller with trigger and interrupt lines | Only if wired together | Head-worn visual-inertial rigs |
| UVC PTS and SCR | Timestamps on the camera's clock | Depends | UVC camera that sends the fields ([UVC 1.5](https://www.usb.org/document-library/video-class-v15-document-set)) | No | Single USB cameras |
| Host arrival timestamps | Timestamps on the computer's clock | Jitter: 82.64 µs standard deviation, extremes to 8931.40 µs for ROS on LiDAR packets ([Faizullin et al.](https://arxiv.org/abs/2107.02625)); ±5 ms on a serial-over-USB link ([VersaVIS](https://arxiv.org/abs/1912.02469)) | None | Only within one computer | Quick prototypes |
| PTP with hardware timestamping | Clocks | "sub-microsecond accuracy" ([Red Hat](https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/7/html/system_administrators_guide/ch-configuring_ptp_using_ptp4l)); exposure "ideally" "within 1μs" for free-running cameras aligned to the grandmaster ([Vision Systems Design](https://www.vision-systems.com/articles/print/volume-22/issue-4/features/integration-insights-ieee1588-simplifies-camera-synchronization.html)) | PTP-capable network cards, switches, GigE cameras | Yes, over Ethernet | Fixed cameras around a space |
| NTP (chrony) | Clocks | 35 ± 8 µs to 1603 ± 447 µs in chrony's simulation, depending on network jitter ([chrony](https://chrony-project.org/comparison.html)) | Network | Yes | Computers that each stamp their own sensors |
| GPS and PPS | Clocks | PPS "much more accurate" than message time, which is "accurate to milliseconds" ([chrony FAQ](https://chrony-project.org/faq.html)) | GNSS receiver with PPS output, sky view | Yes | Outdoor capture |
| Lab Streaming Layer | Timestamps | About 0.5 ms standard deviation between two streams ([Kothe et al.](https://www.ncbi.nlm.nih.gov/pmc/articles/PMC12434378/)) | Network; device delays measured separately | Yes | Mixed sensors: eye trackers, EEG, cameras |
| Project Aria TICSync (Gen 1) | Timestamps | "better than 1ms on average after approximately 45 seconds warm-up" ([Meta](https://facebookresearch.github.io/projectaria_tools/docs/ARK/sdk/concepts/about_ticsync)) | Aria Gen 1 glasses on one Wi-Fi hotspot | Yes | Several Aria wearers |
| Project Aria SubGHz (Gen 2) | Timestamps | Depends | Aria Gen 2 glasses | Yes | Several Aria wearers |
| SMPTE timecode | Frame labels | Frame level; "sub-millisecond" in the Aria pilot dataset ([Meta](https://facebookresearch.github.io/Aria_data_tools/docs/pilotdata/timestamps)) | Timecode generator or sync box per device | Yes | Mixing with film and audio gear |
| GPS timecode (GoPro Labs) | Frame labels | "typically within a frame or two" ([GoPro](https://gopro.github.io/labs/control/gpssync)) | GoPro with GPS, sky view | Yes | Outdoor action cameras |
| QR code read by the camera | Camera clock | Under 50 ms, as cited from GoPro by [RocSync](https://arxiv.org/abs/2511.14948) | Phone screen; GoPro Labs or Tentacle app | Yes | Action cameras, coarse sync |
| QR code decoded from footage | Timestamps after the fact | Depends; see [accuracy limits](https://egocam.ai/sync/software-and-visual-sync/#accuracy-limits) | Any screen | Yes | Any camera, start-and-end sync |
| Single light flash | One instant | Depends | A light | Yes, if all see it | Quick checks |
| Random LED blinking (ROOLS) | Offset | "up to subframe interval precision" ([Zhao and Chen](https://doi.org/10.1117/1.3247860)) | One LED and controller | Yes, if all see it | Fixed cameras that share a view |
| LED clock (RocSync) | Timestamps and exposure window | "1.34 ms RMSE" against hardware sync ([Meyer et al.](https://arxiv.org/abs/2511.14948)) | LED clock board, about US$20 | Yes, shown to each camera | Mixed consumer and wearable cameras |
| Rolling-shutter LED strips | Sub-frame time | "approximately 15 µs" ([Nazarenus et al.](https://arxiv.org/abs/2511.22459)) | LED strips and microcontroller | Yes, if all see it | High-speed fixed cameras |
| Audio clap or cross-correlation | Audio tracks | Sound takes "roughly 30 milliseconds" to cross a 10 m room ([Meyer et al.](https://arxiv.org/abs/2511.14948)) | Microphones | Yes | Coarse alignment of video with sound |
| Motion correlation (gyroscope and image rotation) | Camera–IMU offset | "within a domain of ±0.2 ms" ([Furgale et al.](https://furgalep.github.io/bib/furgale_iros13.pdf)) | Motion, calibration target for Kalibr | Yes, if rigidly attached | Camera–IMU offset, every session |
| Raspberry Pi software camera sync | Frame start (phase) | "several tens of microseconds", same model on one board ([Raspberry Pi](https://www.raspberrypi.com/documentation/computers/camera_software.html#software-camera-synchronisation)) | Raspberry Pi cameras, network | Yes | Raspberry Pi rigs without wires |
| Smartphone phase alignment (libsoftwaresync) | Exposure phase | Maximum 121 µs between two phones ([Ansari et al.](https://arxiv.org/abs/1812.09366)) | Android phones on Wi-Fi | Yes | Phone arrays |
| Smartphone video sync (RecSync) | Exposure phase | "does not exceed 250 µs" ([Akhmetyanov et al.](https://arxiv.org/abs/2107.00987)) | Android phones with real-time timestamps | Yes | Phone video with IMU |

## How to choose

> **Diagram:** The six patterns published rigs use to share time across devices, each with a published example (the examples are tabled on Syncing Multiple Devices). Only the first, one trigger and one clock on one board, aligns exposures by construction; network and radio sync align clocks, and visual events and latency matching align streams after the fact.

Start from the question that decides most of it: are the sensors on one rigid rig that you can wire, or on separate devices?

**Sensors on one rig.** Use hardware sync. Trigger the cameras from one source, timestamp exposures and IMU samples on one clock, and record exposure times so midpoints can be computed. Then calibrate the remaining constant offsets, such as IMU readout delay, with Kalibr or an online estimator, as on the [IMU calibration guide](https://egocam.ai/calibration/imu-calibration/#calibrating-the-imu-to-the-cameras).

**Separate devices that you control.** Sync clocks continuously during the recording: PTP if the devices are on Ethernet, a vendor method such as TICSync for Aria glasses, LSL for mixed lab equipment, or NTP with local servers. Clock sync does not align exposures, so add a visual event at the start and end if you need sub-frame accuracy.

**Cameras you cannot modify.** Use event sync at the start and end of every recording. An LED clock gives the best published accuracy and also measures exposure. A QR timestamp needs only a screen. Fit a line through both ends to remove drift, and interpolate between frames if the pipeline needs sub-frame timing.

**Phones.** Use a phase-alignment app such as RecSync or OpenCamera Sensors, and check that the phone reports a real-time timestamp source.

**Always.** Repeat the sync during or at the end of a session. A single sync at the start cannot measure drift.

## How to verify your sync

A sync method can fail silently: everything looks plausible until 3D reconstruction or tracking is worse than it should be. These checks catch it.

### Film a fast light or a millisecond clock

Point every camera at a light source that changes faster than a frame and compare what each camera captured at the same claimed time. The research projects above do this: Ansari et al. filmed an LED panel stepping every 200 µs, VersaVIS checked 400 image pairs against a 1 kHz LED timing board, and RocSync's LED ring advances one LED per millisecond. The cheapest version is a single LED blinking a known pattern. Use short exposures so the light does not smear across many steps.

### Check against the IMU

Estimate the camera–IMU time offset with Kalibr, or read it from your online estimator, on several recordings. With hardware sync the offset should be nearly the same every time; VersaVIS reported standard deviations below 0.05 ms across exposure settings. An offset that changes between sessions, or across a single session, points to software timestamps or drift.

### Measure drift directly

Sync at the start and at the end, and compute the drift. Compare it with crystal ratings: consumer crystals are typically rated at ±20 to ±50 ppm, so two devices can differ by up to 100 ppm ([Fora Soft](https://www.forasoft.com/learn/audio-for-video/articles-audio/drift-correction-resampling-frame-drop); see also [measured drift](https://egocam.ai/sync/why-sync-matters/#measured-drift-on-real-devices)). If you have readings in between, look for steps. In a stream whose times are computed from frame counts, a dropped or duplicated frame shows up as a sudden jump in offset of one frame interval, not as a steady slope.

### Use a moving target

When there is no reference clock, use the scene. RocSync compared sync methods by calibrating two cameras on a fast-moving checkerboard: the reprojection error "is minimized when the video streams are perfectly synchronized, thus providing a direct and quantitative measure of the temporal alignment achieved by each approach" ([Meyer et al., 2025](https://arxiv.org/abs/2511.14948)). The same works with a hand: triangulate it from several cameras and check that the error does not grow when it moves fast.

### Check the counters

Read frame sequence numbers and timestamp intervals for every stream. Gaps and doubled intervals are dropped frames; uneven bursts are buffering. Kalibr's guide shows a typical bad pattern: IMU samples sent "at a rate of 1ms with gaps of 6ms between" ([Kalibr camera–IMU guide](https://github.com/ethz-asl/kalibr/wiki/camera-imu-calibration)).

## Prompts you can give an AI

These prompts are written to be pasted into a coding assistant. Each asks for code you can check yourself; read the output before trusting it.

### Decode QR timestamps and estimate offset and drift

```text
Write a Python script that takes several video files, one per camera. Each video
shows a screen with a QR code encoding the current time in milliseconds since the
Unix epoch, near the start and near the end of the recording. For every frame:
read the frame's presentation timestamp from the container (use PyAV), decode any
QR code with OpenCV's QRCodeDetector, and record (frame_time, qr_time). Skip
frames where decoding fails. For each camera, fit qr_time = a * frame_time + b
with a robust fit (RANSAC or Huber), report the offset b in ms, the drift (a - 1)
in parts per million, the residual standard deviation, and the number of readings
at each end. Warn if only one end has readings, because then drift cannot be
measured. Write a CSV mapping every frame of every camera to the common time base.
Plot the residuals per camera.
```

### Estimate camera–IMU offset from gyroscope and optical flow

```text
Write a Python script that estimates the time offset between a camera and an IMU
that are rigidly attached. Inputs: a video with per-frame timestamps, and an IMU
CSV with timestamps and gyroscope x, y, z in rad/s. Estimate the camera's
frame-to-frame rotation from tracked features (OpenCV goodFeaturesToTrack and
calcOpticalFlowPyrLK, then findEssentialMat and recoverPose with the given
intrinsics), convert it to angular speed, and compare it with the gyroscope
angular speed. Resample both to a common rate, then find the time shift that
maximises their normalised cross-correlation over a range of plus or minus 200 ms,
refined to sub-sample precision with a parabolic fit around the peak. Report the
offset in ms with the sign convention t_imu = t_cam + shift, and plot both signals
after alignment. Explain that the result is coarse and that Kalibr or an online
estimator should be used for the final value.
```

### Compute drift and correct timestamps from two sync points

```text
I have two sync events per recording. At each event I know the time on a reference
clock and the time on a device clock. Write a small Python function that computes
the offset and the drift in parts per million between the two clocks, then
converts any device timestamp to reference time by linear interpolation (and
extrapolation outside the two events, with a warning). Include unit tests using
this example: the device is 1240 ms ahead at the start and 1312 ms ahead 60
minutes later, which should give 20 ppm and an offset of 1276 ms at 30 minutes.
```

### Check a recording for dropped frames and timestamp jitter

```text
Write a Python script that reads per-frame timestamps from several camera streams
and an IMU stream (CSV files with a timestamp column in nanoseconds). For each
stream, report the nominal rate, the median interval, the standard deviation of
intervals, the number of intervals longer than 1.5 times the median (likely
dropped samples), and bursts where several intervals are much shorter than the
median (likely buffering). Plot a histogram of intervals per stream and a timeline
marking each gap. Flag any stream whose timestamps go backwards.
```

## Sources

- Teledyne FLIR (2017). [TAN2016008: Configuring synchronized capture](https://www.teledynevisionsolutions.com/globalassets/support/iis/application-notes/tan2016008-configuring-synchronized-capture.pdf).
- Raspberry Pi. [Camera hardware: synchronous captures](https://www.raspberrypi.com/documentation/accessories/camera.html#synchronous-captures) and [software camera synchronisation](https://www.raspberrypi.com/documentation/computers/camera_software.html#software-camera-synchronisation).
- Arducam. [Hardware trigger with external signal](https://docs.arducam.com/USB-Industrial-Camera/Connect-and-Sync-Multi-Stereo-Cameras/Hardware-Trigger-with-External-Signal/).
- FRAMOS. [External event camera synchronization (D400e)](https://docs.framos.com/en/latest/D400e/ApplicationGuides/ExternalEventCameraSynchronization.html).
- Tschopp, F. et al. (2020). [VersaVIS: An open versatile multi-camera visual-inertial sensor suite](https://arxiv.org/abs/1912.02469). *Sensors*.
- Faizullin, M., Kornilova, A. and Ferrer, G. (2021). [Open-source LiDAR time synchronization system by mimicking GNSS-clock](https://arxiv.org/abs/2107.02625). arXiv.
- Klenk, S., Chui, J., Demmel, N. and Cremers, D. (2021). [TUM-VIE: The TUM stereo visual-inertial event dataset](https://arxiv.org/abs/2108.07329). *IEEE/RSJ IROS*.
- USB Implementers Forum. [USB Video Class 1.5 document set](https://www.usb.org/document-library/video-class-v15-document-set).
- Red Hat. [RHEL 7: Configuring PTP using ptp4l](https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/7/html/system_administrators_guide/ch-configuring_ptp_using_ptp4l).
- Eikawa, S. (2017). [Integration insights: IEEE1588 simplifies camera synchronization](https://www.vision-systems.com/articles/print/volume-22/issue-4/features/integration-insights-ieee1588-simplifies-camera-synchronization.html). Vision Systems Design.
- chrony. [Frequently asked questions](https://chrony-project.org/faq.html) and [comparison of NTP implementations](https://chrony-project.org/comparison.html).
- Kothe, C. et al. (2025). [The lab streaming layer for synchronized multimodal recording](https://www.ncbi.nlm.nih.gov/pmc/articles/PMC12434378/). *Imaging Neuroscience*.
- Meta Project Aria: [About TICSync](https://facebookresearch.github.io/projectaria_tools/docs/ARK/sdk/concepts/about_ticsync) and [pilot data timestamps](https://facebookresearch.github.io/Aria_data_tools/docs/pilotdata/timestamps).
- GoPro Labs. [GPS time synchronization](https://gopro.github.io/labs/control/gpssync).
- Meyer, J. et al. (2025). [RocSync: Millisecond-accurate temporal synchronization for heterogeneous camera systems](https://arxiv.org/abs/2511.14948). arXiv.
- Zhao, Q. and Chen, Y. Q. (2009). [High-precision synchronization of video cameras using a single binary light source](https://doi.org/10.1117/1.3247860). *Journal of Electronic Imaging* 18(4).
- Nazarenus, J. et al. (2025). [Gaussians on Fire](https://arxiv.org/abs/2511.22459). arXiv.
- Furgale, P., Rehder, J. and Siegwart, R. (2013). [Unified temporal and spatial calibration for multi-sensor systems](https://furgalep.github.io/bib/furgale_iros13.pdf). *IEEE/RSJ IROS*.
- Ansari, S., Wadhwa, N., Garg, R. and Chen, J. (2019). [Wireless software synchronization of multiple distributed cameras](https://arxiv.org/abs/1812.09366). *IEEE ICCP*.
- Akhmetyanov, A. et al. (2021). [Sub-millisecond video synchronization of multiple Android smartphones](https://arxiv.org/abs/2107.00987). *IEEE Sensors*.
- Fora Soft. [Drift correction: resampling, frame drop, frame insertion](https://www.forasoft.com/learn/audio-for-video/articles-audio/drift-correction-resampling-frame-drop).
- Kalibr: [camera–IMU calibration](https://github.com/ethz-asl/kalibr/wiki/camera-imu-calibration), ETH Zurich ASL.
