Error when stop recording

Hi, I’m having a problem when I try to record from two ZED 2i cameras connected to a Jetson AGX ORIN with Ubuntu 22.04 using a python program.

The procedure seems to be executed correctly, but the problem is when I try to end the recording using disable_recording() method, where i get two errors (the same for each camera) like this:

[ERROR] (/builds/sl/ZEDKit/lib/src/sl_input/mmapi/R364/NvV4l2ElementPlane.cpp:256) <> Capture Plane:Error while Qing buffer: Device or resource busy

Many times, even with the error, the svo files seem to be correct, but some other times the generated files are corrupted (although later it can be fixed with the SDK tool). Could this be related to the error above? Thanks.

2 Likes

Hi @benferpo,

Sorry for the late reply.

Could you run the ZED_Diagnostic tool and send the resulting JSON file, in order for our team to reproduce the issue?

Here is with only one of the cameras connected to Jetson

ZED_Diagnostic_Results.json (11.1 KB)

Hi @benferpo,

Thank you for sharing the Diagnostic file.

We have reproduced the issue specifically on Jetpack 36.4, but in practice the error does not lead to any errors in the SVO2 files.

We have logged the issue internally to fix whatever is happening here, as this is not the case on other Jetpacks.

Regarding the corrupted SVOs, I would suggest upgrading your ZED SDK to the latest 4.2.5 which has seen a few SVO2 fixes from 4.2.2.

1 Like

Thanks @mattrouss for the response.

There were exceptional cases that produced corrupt files for me. In any case, I’ll update the SDK.

1 Like

Can confirm the same issue (the error, not the corruption) exists with SDK version 4.2.5 on Jetpack 6.2 (R36, 4.3) - svo2 file gets saved but the error is still thrown, seems to be related to 264/5 encoding, as setting the compression_mode to SVO_COMPRESSION_MODE.LOSSLESS removes the error.