Skip to content

C301 Lesson 4: Quality Control, Storage and Documentation

Footage that nobody checks is not data yet. This lesson follows a recording from the rig to a documented dataset: the checks it passes, the files it travels in, the storage and network it needs, and the record that explains it to whoever trains on it. The full treatments are on Quality Control for Egocentric Footage, Storage, Upload and Data Volume, Recording Containers and Documenting a Dataset.

See also the glossary’s datasets, formats and storage section.

Term Meaning
Quality control (QC) The automated and human checks a recording goes through before it is used
Curation The filtering after QC that scores, cuts and deduplicates accepted hours into a training set
Manifest A list of every clip with its metadata and hour count, so files can be checked and hours counted once
Offload Copying a shift’s recordings off the rig to a staging machine, verifying them, and clearing the rig
Uplink The upload bandwidth from the collection site to central storage
Recording container A file format that interleaves several sensor streams, their timestamps and metadata in one file
Datasheet for a dataset A document recording why a dataset was made, what it contains, how it was collected and how it should be used

The field guide’s reference table gives a published example for each check, from the named source and for that source’s data (Quality Control). None of them is a universal setting.

Check What to measure Published example
File integrity Every record decodes vrs check on VRS files
Manifest Each clip has its metadata and each device its calibration file Egocentric-10K: a .json per .mp4, an intrinsics.json per worker folder
Hour counting The same episode is not counted twice EgoStandard: LeRobot and MCAP copies are the same episodes
Frame timing Gaps between frame timestamps against 1000 / fps ms Mean, 99th-percentile and maximum gap, and slow-frame count, per file
Brightness, sharpness, entropy Mean grey level; variance of the Laplacian; histogram entropy MBARI’s underwater defaults, a starting point only
Motion Mean optical flow plus share of fast-moving pixels EgoVid-5M’s flow bins
Hand pose Per-joint confidence, wrist first EgoDex: low wrist confidence means the finger joints are unreliable
Cross-camera sync Offset at the start and end of each recording Ego-Exo4D: every GoPro within 1 frame of the Aria RGB camera
Calibration drift Epipolar residual between the cameras of a pair RoboCap: per-session correction
Privacy Face-detector recall before anyone views footage Claru’s guide: above 98% recall on a held-out set
Quality-control checks at four levels Four columns of checks from the quality-control reference table, ordered from cheapest and most general to most specific. Every file, at offload and ingest: records decode, the manifest is complete, no episode is counted twice, and the gaps between frame timestamps match the frame rate. Every frame: cheap image metrics, brightness, sharpness as the variance of the Laplacian, and entropy to catch featureless frames. Every clip: a clarity score, motion from optical flow, hands in view and hand-pose confidence, wrist first. Every session: the sync offset at the start and end, the epipolar residual as a sign of calibration drift, and face-detector recall before anyone views footage. A note says thresholds are per source and must be set on your own footage. Every file at offload and ingest records decode manifest complete no episode counted twice frame-gap timing Every frame cheap image metrics brightness sharpness (variance of the Laplacian) entropy, to catch featureless frames Every clip content checks clarity score motion (optical flow) hands in view hand-pose confidence (wrist first) Every session rig health sync offset at start and end epipolar residual (calibration drift) face-detector recall Published thresholds belong to their own data: set yours on your own footage.
The checks in this page's reference table, grouped by what they run on: every file at ingest, every frame, every clip and every session. Cheap file and frame checks come first, so that expensive clip and session checks only see footage worth keeping. No published threshold transfers to your footage unchanged.

Sharpness scores depend on resolution, compression and scene. MBARI’s typical range on its underwater footage is 20–100; a driving-video paper puts its threshold “usually” between 300 and 1000 (Quality Control). A number from one dataset cannot be copied to another. MBARI’s method transfers instead: run the metrics over representative footage, look at the percentiles, choose a tier (conservative, moderate or strict), then inspect 20–50 of the selected frames and adjust (MBARI Triton). Sample every site, lighting condition and device.

Two traps from the sources:

  • Do not filter out a still head. Dropping low-flow clips removes the ones where the head is still and the hands do fine work; EgoVid-5M kept low-flow clips when enough pixels moved fast, noting they have “a static background while capturing detailed and extensive motion in hands” (EgoVid-5M).
  • Look at every recording as well. The Ego-1K team “manually checked all videos and discarded 43 problematic recordings with dark images or an insufficient number of frames” (Ego-1K). For daily review, Claru’s guide suggests spot-checking 10–15% of each day’s footage. Unidata, another data vendor, gives the reason for reviewing each session before the operator leaves: it “catches systematic errors (camera drift, tracker disconnections, sync failures) before they compound across a full day” (Unidata).

Timing and calibration errors leave no trace in a single frame (Sync and calibration checks). Ego-Exo4D showed a QR-code clock to every camera at the start and end of each capture; within a frame at both ends means within a frame throughout (Ego-Exo4D). Multi-camera rigs drift: across RoboCap’s fleet the rotation between cameras shifted by 0.2–1.1°, and RoboCap re-estimates it once per session, accepting a correction only if it improves a held-out residual (RoboCap). Courses C201 and C203 cover the methods.

  • Privacy first. Claru: “Run privacy processing BEFORE any annotation begins — annotators should never see unblurred faces.” (Claru guide). The bystanders in the footage never agreed to be seen by anyone, and an annotator labelling hand actions needs the hands, not the faces; blurring first keeps the number of people who see those faces as small as possible (Detect and blur at ingest). The methods are on Anonymisation, course C302.
  • Blur filter before deduplication. Roychowdhury and Sato warn: “Altering the order of filtering or parallelizing the two processes may lead to uneven quality in retained/training data.” (Video-Data Pipelines).
  • Check clip boundaries and that clip and label agree, as on Quality Control.

Published dataset rigs record locally. At the end of a shift someone copies the recordings off the rig, checks them, and clears the rig (Offload at the end of a shift).

How recordings move from the rig to training storage Five steps left to right. One, record: the rig writes to its own storage with light lossless compression. Two, offload at the end of the shift over USB 3; RoboCap's paper gives 60 to 200 megabytes per second. Three, verify: check or checksum every file before the rig's copy is deleted. Four, upload from the site: raw and privacy-processed copies are stored apart with access controls, and the uplink is sized to the daily volume. Five, process centrally: quality control, time alignment, privacy processing and pose estimation, then tighter recompression and packaging into large shard files. Below, the uplink formula: required megabits per second equals daily gigabytes times 8,000, divided by the upload window in hours times 3,600, divided by the link efficiency. And a worked example from the page: at RoboCap's 10.8 gigabytes per rig-hour, an 8-hour day is 86.4 gigabytes, which takes 7.2 minutes to offload at 200 megabytes per second and 24 minutes at 60. 1. Record on the rig, to local storage, light lossless compression 2. Offload end of shift, over USB 3 (RoboCap: 60–200 MB/s) 3. Verify checksum or vrs check every file before wiping the rig 4. Upload raw and privacy copies kept apart; uplink sized to the day 5. Process QC, sync, privacy and pose; then recompress and pack into shards Uplink (Mbps) = daily GB × 8,000 / (upload window h × 3,600) / link efficiency Link efficiency is measured on your own line, not a constant. Worked example (RoboCap figures): 10.8 GB per rig-hour × 8 h = 86.4 GB a day Offload: 7.2 min at 200 MB/s, 24 min at 60 MB/s for each rig
How recordings move from the rig to training storage, step by step, with the page's uplink formula and its RoboCap worked example. Verifying every file before the rig is wiped is the step that protects the data; the uplink and the processing stage are where a growing fleet runs out of room.

Offload time. RoboCap offloads “via USB 3 at 60–200 MB/s”. At its 24 Mbps (10.8 GB per hour), an 8-hour day is 86.4 GB: 7.2 minutes at 200 MB/s, 24 minutes at 60 MB/s. Ten rigs offloaded one after another at the slow end take 4 hours. Time one offload in your pilot.

Integrity before deletion. Check every file before the rig’s copy is deleted. For VRS, vrs check “decodes every record in the VRS file and prints how many records were decoded successfully”, and vrs checksum gives a logical checksum that still matches after recompression (VRS CLI tool). For other formats, compare a file-level hash such as SHA-256 between the rig and staging copies. The lab gives the commands.

Uplink. The sustained upload a site needs is (Sizing the uplink):

Required uplink (Mbps) = daily volume (GB) × 8,000 / (upload window (h) × 3,600) / link efficiency

At a measured efficiency of 0.8, sending 1 TB in an 8-hour window needs about 347 Mbps sustained. If the line cannot clear one day’s data in one window, the backlog grows every day.

Raw and privacy copies. Claru advises: “Store raw and privacy-processed versions separately with access controls. Delete raw versions after privacy verification”. The raw copy has to wait for verification because blurring cannot be undone: a missed face, or a blur over the wearer’s hands, can only be redone from the original (Raw footage, privacy copies and storage tiers). The raw backlog is then bounded by how fast verification keeps up; whether you may keep raw footage at all is set by your consent terms.

Three containers cover most public egocentric capture (Recording Containers): MCAP, the default storage of ROS 2 bags; VRS, Meta’s per-device format used by Aria glasses; and GPMF, GoPro’s telemetry track inside the MP4. After QC, many teams repackage episodes into a training format such as LeRobotDataset v3.0.

Inside MCAP, VRS and GPMF files Three file layouts side by side, top of file to bottom. MCAP: magic bytes, a header, then the data section holding schema and channel records and chunks; each chunk batches messages, each with log_time and publish_time, and is compressed with zstd or lz4; a message index follows each chunk; attachments, which can hold calibration, and metadata records sit outside chunks; a data end record; then a summary section with indexes and statistics, a summary offset section, a footer and the magic bytes again. VRS: file tags readable on open, then streams, each identified by a device type and instance such as 200-1 for a camera and 372-1 for motion data; each stream has tags and three record types, configuration, state and data, and the index is written last at the end of the file, so an interrupted recording can have it rebuilt. GPMF: an MP4 file with four tracks, video, audio, timecode and a meta track whose data format is gpmd; the telemetry is key-length-value items with four-character keys, a DEVC device block nesting STRM streams, sticky modifier keys such as SCAL, SIUN and TYPE, and sensor data such as ACCL and GYRO. MCAP VRS GPMF in a GoPro MP4 Magic + Header Data section Schema, Channel records Chunk (zstd / lz4)Messages: log_time, publish_timeMessage Index Chunk (zstd / lz4)Messages: log_time, publish_timeMessage Index Attachment (calibration), Metadata Data End record Summary: indexes, statistics Summary Offset, Footer, Magic File tags (read on open) Stream 200-1 (camera) stream tags Configuration records State records (often empty) Data records: images, IMU Stream 372-1 (motion) stream tags Configuration records State records (often empty) Data records: images, IMU Index, written last cut off? vrs fix-index rebuilds it MP4 tracks vide: video soun: audio tmcd: timecode meta: telemetry (gpmd) KLV: FourCC, type, size, repeat DEVC (device) STRM (stream) SCAL, SIUN, TYPE (sticky) ACCL samples STRM (stream) SCAL, SIUN, TYPE (sticky) GYRO samples lens model FOVL, readout SROT in global metadata
What is inside each file, top to bottom. MCAP batches timestamped messages into compressed chunks and writes indexes in a summary at the end. VRS keeps one stream per device, each with configuration, state and data records, and writes its index last, so a cut-off file can be repaired. A GoPro MP4 carries telemetry as a fourth track of nested key-length-value items. From the MCAP spec, the VRS docs and the gpmf-parser README.

If you publish the same episodes in two formats, say so. Lightwheel’s card: “LeRobot and MCAP are alternative representations of the same episodes and must not be counted as additional hours” (EgoStandard). Keep hour counts in a manifest so a representation is never counted as new data.

The datasheet is a planning document, not a release chore. Gebru et al. say the composition and collection questions are read “prior to any data collection” and answered once collection is complete (Datasheets for Datasets). The paper’s reason for reading the collection questions early is “to flag potential issues”: some answers, such as the consent wording or how timing was established, can only be recorded while the data is being collected.

When to read and answer each datasheet section A timeline of when to read and when to answer each of the seven Datasheets for Datasets sections (Gebru et al.), across five stages: plan, capture, process, release and after release. Motivation is answered while planning, before capture. Composition and Collection process are read while planning, before any data is collected, and answered once collection is complete. Preprocessing, cleaning and labelling is read before processing and answered after it. Uses and Distribution are answered before release. Maintenance is answered before release and kept up to date afterwards. So the datasheet is opened during planning, not after the last upload. plan capture process release after release Motivation Composition Collection process Preprocessing, labelling Uses Distribution Maintenance read the questions answer them keep updated
When Datasheets for Datasets (Gebru et al.) says to read and to answer each of its seven sections. Composition and Collection process are read before any data is collected and answered once collection is complete; Preprocessing, cleaning and labelling is read before processing and answered after; Uses, Distribution and Maintenance are answered before the dataset is distributed, and Maintenance stays current afterwards. Motivation is answered before capture, as in the table on this page. Open the datasheet while planning, not after the last upload.

Two rules from the field guide’s sources (Documenting a Dataset): “the process of creating a datasheet is not intended to be automated”, and known unknowns count. Data Cards’ study participants said “‘known unknowns’ were as important as known facets of the dataset in decision making” (Data Cards): if you did not measure inter-camera skew on every session, say so. An egocentric card must state the rig, projection model and the resolution the calibration applies to, how timing was established, which annotation layers are predictions, consent and licence.

  1. A file reports 30 fps on average. Why log frame gaps anyway, and which four numbers?
  2. A colleague copies MBARI’s sharpness threshold of 25 into your pipeline. What should you do instead?
  3. Ten rigs each record 86.4 GB a day and share one staging machine at 60 MB/s. How long is offload, and what follows?
  4. Your release ships each episode as MCAP and as LeRobot. What must the card say?
  5. When should the datasheet’s collection questions first be read?
  1. A file can average 30 fps and still freeze or skip frames. Log the mean gap, the 99th-percentile gap, the maximum gap and the number of slow frames.
  2. Run the metric over representative footage from every site and device, read the percentiles, pick a tier, inspect 20–50 selected frames and adjust. MBARI’s defaults are for underwater footage.
  3. About 4 hours one after another, from the field guide’s RoboCap arithmetic. Add staging machines or faster links, and time it in the pilot.
  4. That they are alternative representations of the same episodes and must not be counted as additional hours.
  5. Before any data is collected; they are answered once collection is complete.