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.
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 metadataHow 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?
- Check that frame_seq increases by one without gaps.
- Compare frame count / fps against session duration (allow ±1 frame).
- Check adjacent frame intervals and match cam0/cam1 sequence ranges.
- Check audio xruns and ring_drops are zero and captured_frames equals frames.
- For stricter validation, cross-check video SEI against CSV timestamps frame by frame.