Extract raw H.265 video and sensor data from Stereolabs SVO2 files without the SDK.
SVO2 is Stereolabs' "proprietary" container format for ZED camera recordings. Under the hood, it uses the MCAP format.
In addition to the Python API, the svo2 command-line tool can be used to convert SVO2 files to standard formats. For example, to extract the raw H.265 video stream:
svo2 recording.svo2 output.h265The output format is inferred from the file extension, or can be specified explicitly with --mode. Three modes are currently supported:
| Mode | Description |
|---|---|
mp4 |
Extract the raw H.265 video stream and save it as an MP4 file. |
h265 |
Extract the raw H.265 video stream and save it as a raw H.265 bitstream. |
npz |
Extract the raw IMU data and save it as a NumPy archive. |
The official Stereolabs SDK only provides decoded frames through retrieveImage(). This tool allows you to:
- Extract raw H.265/HEVC bitstreams directly without decoding
- Access video data without installing the ZED SDK
- Work with the raw encoded data for custom processing pipelines
- MCAP Format
- Stereolabs ZED SDK
- FFmpeg for video conversion