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?
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
The reason why it is slow: When "replaying" SVO files for video export, I believe the
grab()
andretrieve_image()
commands need to decompress theH264
video frame-by-frame, and then when using OpenCVsVideoWriter()
-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?