IMPLEMENTATION GUIDE / EM002

From recorded frames
to usable sessions.

A practical guide to the EM002 recording format, based on User Manual V1.3.1 (20 November 2026).

What does EM002 record?

EM002 records two independent H.265 video streams, a 6-axis IMU and stereo WAV audio. Per-frame timestamps, session metadata and calibration files support alignment and traceability. Copy the entire session rather than video files alone.

SESSION / DATA STRUCTURE ↗
device_SN/
├── device_camchain.yaml Calibration
└── YYYYMMDD_HHMMSS/
    ├── cam0/            Left video + CSV
    ├── cam1/            Right video + CSV
    ├── imu/             6-axis motion
    ├── audio/           Stereo WAV
    ├── log/             Diagnostics
    └── session_*.json   Session metadata
H.265 · CSV · WAV · JSON · YAML

How do video timestamps work?

Each video frame includes frame_seq and pts_ns in SEI metadata. A matching .pts.csv also records seq, frame_seq, pts_ns, exp_start_ns, exp_us and key. Skip comment lines beginning with # when parsing. Timestamps in nanoseconds describe the representation, not a guarantee of nanosecond synchronization accuracy.

Which metadata is included?

The IMU CSV records frame_seq, imu_pts_ns, ax/ay/az (m/s²), gx/gy/gz (rad/s) and temperature. session_*.json records firmware, frame rate, IMU output rate, exposure, file sizes and calibration hash. camchain.yaml provides intrinsics, distortion and camera–IMU transforms.

How do I open raw H.265 video?

Use a compatible player or remux with FFmpeg. Match the input frame rate to session_*.json; the example below is for 30 fps.

ffmpeg -framerate 30 -i cam0_0000.h265 -c copy cam0.mp4

This command remuxes video only. Keep the original timestamp CSV and WAV files for accurate alignment; the resulting MP4 does not replace the complete session.

How should data integrity be checked?

  1. Check that frame_seq increases by one without gaps.
  2. Compare frame count / fps against session duration (allow ±1 frame).
  3. Check adjacent frame intervals and match cam0/cam1 sequence ranges.
  4. Check audio xruns and ring_drops are zero and captured_frames equals frames.
  5. For stricter validation, cross-check video SEI against CSV timestamps frame by frame.
Source: EM002 User Manual V1.3.1, sections 3.1–3.7. Firmware applicability: v0.6.x. Read the manual ↗

LET’S BUILD YOUR DATA PIPELINE

Your next breakthrough
starts with better data.

Talk to our team