Zoom and Cropping Issues in .avi Files Exported from .svo Using ZED 2i

I want to convert the videos I captured with the ZED 2i camera from .svo format to .avi format. I am using the example from this link: zed-sdk/recording/export at master · stereolabs/zed-sdk · GitHub; however, the videos are being cropped from all sides and my .avi video looks zoomed in. Can you help me with this?

Hi @zedev,

Can you send the exact command that you are using so we can reproduce the issue?

I tried the following examples. I encountered the same issue when exporting AVI or image sequences.

(AVI LEFT+RIGHT) ZED_SVO_Export “path/to/file.svo” “path/to/output/file.avi” 0

(SEQUENCE LEFT+RIGHT) ZED_SVO_Export “path/to/file.svo” “path/to/output/folder/” 2

https://github.com/stereolabs/zed-sdk/tree/master/recording/export/svo

Hi @zedev,

Thank you for the additional information.

Can you experience this crop in other tools and samples of the ZED SDK, such as Depth Viewer or the object detection sample?

I didn’t exactly understand what you wanted me to do. Initially, I wanted to export the SVO files in video format. I want the view in the SVO file to remain the same. Where can I find the examples you mentioned? Thank you.

Hi @zedev,

I would like to validate if the issue you are encountering comes from the specific sample you are using, or something repeatable in the other tools that use the ZED SDK as well.

ZED_Depth_Viewer can be run with the command line with:

ZED_Depth_Viewer

The sample I suggested you use can be found here: zed-sdk/object detection/image viewer at master · stereolabs/zed-sdk · GitHub

Same issue. When I opened it with ZED_Depth_Viewer, a part of the image was cut off (image appeared zoomed in).

Hi @zedev,

Thank you for checking this, if think this is a calibration issue. Have you recalibrated your camera recently?

If this is the case, can you copy the file named SN[serial_number].conf located in /usr/local/zed/settings, (change the name with the serial number of the camera) to another place, delete the file in /usr/local/zed/settings, and open ZED_Depth_Viewer again?

This will download the factory calibration from our servers and the camera should come back to normal.

No, I had not calibrated my camera. All the cameras I use have this problem.

Can you run ZED_Diagnostic on your PC, and share the resulting JSON file, as well as the calibration files of your cameras which have this issue?