stereolabs / zed-python-api

Python API for the ZED SDK
https://www.stereolabs.com/docs/app-development/python/install/
MIT License
212 stars 94 forks source link

Video export slower than real-time on Jetson Nano #186

Closed ama-jesper closed 2 years ago

ama-jesper commented 3 years ago

The reason why it is slow: When "replaying" SVO files for video export, I believe the grab() and retrieve_image() commands need to decompress the H264 video frame-by-frame, and then when using OpenCVs VideoWriter()-class, as per your examples, we again need to compress each frame. Reading is rather fast, but it is the writing to a video file (compression) that is horribly slow on the Jetson.

Question Is there a way to directly "pipe" the H264 video from the SVO-file directly into a video container? Without having to open, read, decompress, compress, write?

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment otherwise it will be automatically closed in 5 days