# C203: Time Sync Across Devices

> An Ego Cap University course that takes a team from separate cameras, each on its own clock, to a head camera, a wrist camera and an external camera on one timeline, with offset and drift measured, corrected and verified. Four short lessons, a hands-on lab, a printable checklist and copy-paste prompts for an AI assistant.

Page: https://egocam.ai/university/c203/

C203 is the time-sync course of Ego Cap University. It takes a team from a set of devices that each count time on their own crystal to recordings in which every frame of a head camera, a wrist camera and an external camera has a time on one shared clock, with the drift measured and corrected and the result checked by a test whose error you can read.

The course is built for current rigs. Current multi-camera head rigs keep their own cameras in step with one electrical trigger, and many collections add wrist cameras, a handheld gripper or cameras standing in the room, which sit on separate devices with separate clocks ([Syncing Several Devices](https://egocam.ai/sync/syncing-multiple-devices/), [Head-Plus-Wrist Capture](https://egocam.ai/hardware/head-plus-wrist-capture/)). Sync inside one rig and sync between devices are different problems, and the course covers both.

Every lesson is short and links to the field guide for depth. Nothing in the course is new: each claim comes from a reviewed field-guide page or from the tools' own documentation, and each page ends with its sources.

## Who it is for

- Teams whose recordings combine a head rig with wrist cameras, a gripper, room cameras or other wearers.
- Engineers who have paired frames "by eye" with a clap and want a number for how far apart they really are.
- Anyone who has to sign off that a dataset's streams are aligned before they go into calibration, SLAM, hand triangulation or policy training.

## What you will be able to do

By the end of the course you will be able to:

1. Explain the two meanings of "in sync" (synchronised exposure and synchronised timestamps), and the terms behind them: [clock offset, clock drift in ppm, exposure midpoint, latency and jitter](https://egocam.ai/reference/glossary/#synchronisation-and-timing).
2. Work out a timing error budget for your own motion, and how far two free-running clocks drift apart in a session.
3. Choose a sync method for each device: a hardware trigger for sensors you can wire, clock sync (PTP, NTP, timecode) for devices on a network or a timecode source, and event sync (QR, light, LED clock, motion) for cameras you cannot modify.
4. Measure each device's offset and drift from sync events at the start and end of a session, after counting dropped frames.
5. Correct the streams by remapping timestamps, and prove the result with a test whose error you can measure.

## Prerequisites

- **[C101, Egocentric capture fundamentals](https://egocam.ai/university/c101/)** and **[C102, Choosing a capture setup](https://egocam.ai/university/c102/)**. The [Basics](https://egocam.ai/basics/anatomy-of-a-capture-pipeline/) section of the field guide covers the same ground.
- Comfort with a Linux command line, Python, and FFmpeg's `ffprobe`.
- Helpful but not required: [C201](https://egocam.ai/university/c201/), because a moving-checkerboard calibration is one of the ways to test sync, and [C202](https://egocam.ai/university/c202/) for the camera–IMU time offset.

## The lessons, in order

| # | Page | What it teaches | Time |
|---|---|---|---|
| 1 | [Clocks, offset and drift](https://egocam.ai/university/c203/lesson-1-clocks-offset-and-drift/) | The two meanings of in sync, the error budget, drift in ppm, which instant a timestamp marks | about 10 min |
| 2 | [Sync on one rig](https://egocam.ai/university/c203/lesson-2-sync-on-one-rig/) | Hardware triggers, genlock versus "external event", exposure midpoints, camera and IMU on one clock, USB timestamps and dropped frames | about 10 min |
| 3 | [Clocks across devices](https://egocam.ai/university/c203/lesson-3-clocks-across-devices/) | PTP with linuxptp, NTP with chrony, SMPTE and GPS timecode, the six patterns published rigs use | about 10 min |
| 4 | [Events, drift correction and verification](https://egocam.ai/university/c203/lesson-4-events-drift-and-verification/) | QR, light, LED-clock, audio and motion sync; fitting offset and drift; correcting and proving the result | about 12 min |
| Lab | [Sync your head, wrist and external cameras](https://egocam.ai/university/c203/lab/) | The whole job on your own devices, step by step, with checkpoints | a working session, depending on your devices |
| | [Checklist](https://egocam.ai/university/c203/checklist/) | A printable list: before the session, during, after, sign-off | 5 min to read |
| | [Prompts](https://egocam.ai/university/c203/prompts/) | Copy-paste prompts for an AI assistant, each with inputs, target tool and a way to check the output | as needed |

The times are planning estimates: reading time for each lesson, plus its self-check. The lab's length depends on which methods your devices support and whether PTP-capable network hardware is part of the set-up.

## What you need

- **Your devices:** the head camera or rig, the wrist camera, and at least one external camera, each recording as it will in real sessions. If your head and wrist cameras already share one trigger and one clock, the lab treats them as one device.
- **A sync event every camera can see:** a phone or laptop screen showing a QR timestamp or a millisecond timer, a light you can switch on and off, or an LED clock board of the kind described on [QR, LED and Flash Sync](https://egocam.ai/sync/qr-and-visual-sync/#the-rocsync-led-clock).
- **A computer** with FFmpeg (`ffprobe`) and Python, to read frame timestamps and fit offsets.
- **Optional:** for recording computers or cameras on Ethernet, network cards with hardware timestamping and the linuxptp tools; for GoPro cameras, GoPro Labs firmware.

## What this course does not cover

- **Estimating the camera–IMU time offset** with Kalibr or an online tracker is course C202; the field guide covers it on [Camera-IMU Time Offset](https://egocam.ai/calibration/camera-imu-time-offset/).
- **Rolling-shutter modelling** in calibration is on [Rolling-Shutter Calibration](https://egocam.ai/calibration/rolling-shutter-calibration/); this course only covers what rolling shutter does to timing.
- **Spatial alignment** of the wrist camera to the head, frame by frame, is a tracking problem; see [Head-Plus-Wrist Capture](https://egocam.ai/hardware/head-plus-wrist-capture/).
- **Latency matching for robot policies at inference** is on [Syncing Several Devices](https://egocam.ai/sync/syncing-multiple-devices/#latency-matching-for-robot-policies).

## Sources

- Field guide: [Why Synchronisation Matters](https://egocam.ai/sync/why-sync-matters/), [Hardware Synchronisation](https://egocam.ai/sync/hardware-sync/), [PTP and Network Time Sync](https://egocam.ai/sync/ptp-and-network-time/), [Software and Visual Synchronisation](https://egocam.ai/sync/software-and-visual-sync/), [QR, LED and Flash Sync](https://egocam.ai/sync/qr-and-visual-sync/), [Syncing Several Devices](https://egocam.ai/sync/syncing-multiple-devices/), [Measuring Sync Quality and Correcting Drift](https://egocam.ai/sync/drift-correction-and-verification/), [Sync Methods Compared](https://egocam.ai/sync/sync-methods-compared/), [Head-Plus-Wrist Capture](https://egocam.ai/hardware/head-plus-wrist-capture/), [Camera-IMU Time Offset](https://egocam.ai/calibration/camera-imu-time-offset/), [glossary](https://egocam.ai/reference/glossary/#synchronisation-and-timing).
