SVO2 corrupted on Jetson Orin Nano (ZED SDK 5.4.1)

Hi,
With the recent SDK update it is now possible to save compressed SVO2 movies on Jetson Orin Nano (CPU fallback). That is great news, makes life much easier.
It is working when movie is recorded with e.g. ZED Explorer. However, with a simple grab loop (Python), files are corrupted (can’t be opened by ZED Explorer, or must be repaired).

Loop:

import pyzed.sl as sl
zed = sl.Camera()
init_params = sl.InitParameters()
err = zed.open(init_params)
if err != sl.ERROR_CODE.SUCCESS:
    print(f"Error opening camera: {err}")
    exit()
recording_params = sl.RecordingParameters(
    "output.svo2",
    sl.SVO_COMPRESSION_MODE.H264
)

err = zed.enable_recording(recording_params)
if err != sl.ERROR_CODE.SUCCESS:
    print(f"Error enabling recording: {err}")
    zed.close()
    exit()

# Capture 100 frames
runtime_params = sl.RuntimeParameters()
i = 0
while i < 100:
    if zed.grab(runtime_params) == sl.ERROR_CODE.SUCCESS:
        i += 1
        print(f"Frame {i}/100 recorded", end="\r")
print("\nRecording complete.")
zed.disable_recording()
zed.close()

Recorded with ZED-X, I’m getting:

ZED_SVO_Editor --inf output.svo2
-inf option detected
*FAIL : failed to get infos from “output.svo2”
You can try the -repair option to repair the SVO file

Switching to SVO v1

export ZED_SDK_SVO_VERSION=1

results in working recordings:
Opening in BLOCKING MODE
NvMMLiteOpen : Block : BlockType = 261
NvMMLiteBlockCreate : Block : BlockType = 261
Encrypted : No
SVO Infos : SVO v 1
Image Size : [ 1920 x 1200 ]
Framerate : 30
Number of Frames : 96
ZED Serial Number : 59325244
Compression mode : " H264 Lossy (GPU) compression"
Camera model : “ZED X Mini”
Camera Fw version : 2001
[ERROR] (../src/sl_input/mmapi/R392/NvV4l2ElementPlane.cpp:380) <�> Capture Plane:Getting format: failed: Invalid argument

Is it a bug or am I doing something wrong here?
thanks!

Art.

Hi,

Could you please send me the output of ZED_Diagnostic so that I can dig a little further?

Best,

Tristan Leduc

StereoLabs Support

Hi,

As a new user I can’t upload attachments, so here is the result.

Thanks!

ZED_Diagnostic --cli
ZED Diagnostic Tool

Running ZED SDK Diagnostic : OK
ZED SDK version: 5.4.1
CUDA version: V13.2.86

Running Processor Diagnostic : OK
Processor:
Motherboard:  Jetson, NVIDIA
Error: unable to open display stic : 50%

Running Graphics Card Diagnostic : OK
Graphics card:  Orin

Running CUDA Operations Diagnostic : OK
GPU 0 (Orin): CUDA operations working correctly

Running AI Models Diagnostic : OK
MULTI CLASS DETECTION is not optimized
MULTI CLASS MEDIUM DETECTION is not optimized
MULTI CLASS ACCURATE DETECTION is not optimized
HUMAN BODY FAST DETECTION is not optimized
HUMAN BODY MEDIUM DETECTION is not optimized
HUMAN BODY ACCURATE DETECTION is not optimized
HUMAN BODY 38 FAST DETECTION is not optimized
HUMAN BODY 38 MEDIUM DETECTION is not optimized
HUMAN BODY 38 ACCURATE DETECTION is not optimized
PERSON HEAD DETECTION is not optimized
PERSON HEAD ACCURATE DETECTION is not optimized
REID ASSOCIATION is not optimized
NEURAL PLUS DEPTH is not optimized
NEURAL LIGHT DEPTH is optimized
NEURAL DEPTH is optimized

Running USB Camera Diagnostic : OK
Camera: ZED X Mini

Running GMSL DRIVER Diagnostic : OK

Running Log Kernel Trace (for ZED X) Diagnostic : OK

Diagnostic finished, a file has been generated : ZED_Diagnostic_Results.json
{
    "AI Models": {
        "info": [
            "MULTI CLASS DETECTION is not optimized",
            "MULTI CLASS MEDIUM DETECTION is not optimized",
            "MULTI CLASS ACCURATE DETECTION is not optimized",
            "HUMAN BODY FAST DETECTION is not optimized",
            "HUMAN BODY MEDIUM DETECTION is not optimized",
            "HUMAN BODY ACCURATE DETECTION is not optimized",
            "HUMAN BODY 38 FAST DETECTION is not optimized",
            "HUMAN BODY 38 MEDIUM DETECTION is not optimized",
            "HUMAN BODY 38 ACCURATE DETECTION is not optimized",
            "PERSON HEAD DETECTION is not optimized",
            "PERSON HEAD ACCURATE DETECTION is not optimized",
            "REID ASSOCIATION is not optimized",
            "NEURAL PLUS DEPTH is not optimized"
        ],
        "valid": [
            "NEURAL LIGHT DEPTH is optimized",
            "NEURAL DEPTH is optimized"
        ]
    },
    "CUDA Operations": {
        "cudaDeviceCount": 1,
        "cudaDriverVersion": 13020,
        "cudaDriverVersionString": "13.2",
        "cudaGetDeviceCountResult": 0,
        "cudaRuntimeLoaded": true,
        "cudaRuntimeVersion": 13020,
        "cudaRuntimeVersionString": "13.2",
        "cudaTestVersion": "1.0",
        "gpuTests": [
            {
                "computeCapability": "8.7",
                "computeCapabilityMajor": 8,
                "computeCapabilityMinor": 7,
                "freeResult": 0,
                "freeSuccess": true,
                "gpuId": 0,
                "gpuName": "Orin",
                "mallocResult": 0,
                "mallocSuccess": true,
                "memcpyD2HResult": 0,
                "memcpyD2HSuccess": true,
                "memcpyH2DResult": 0,
                "memcpyH2DSuccess": true,
                "memoryBusWidthBits": 128,
                "memsetResult": 0,
                "memsetSuccess": true,
                "multiProcessorCount": 8,
                "pciBusId": 0,
                "pciDeviceId": 0,
                "pciDomainId": 0,
                "setDeviceResult": 0,
                "testElements": 1048576,
                "testPassed": true,
                "testSizeBytes": 4194304,
                "totalGlobalMemMB": 7545,
                "validationPassed": true
            }
        ],
        "testSizeMB": 1,
        "valid": [
            "<b>GPU 0 (Orin):</b> CUDA operations working correctly"
        ]
    },
    "GMSL DRIVER": {
        "GMSL driver": "ii  stereolabs-zedlink-mono                       1.4.3-SL-MAX9296-L4T39.2.1                       arm64        NVIDIA Kernel DTB Modified Package by Stereolabs\n"
    },
    "Graphics Card": {
        "deviceCount": 1,
        "deviceDriverVersion": 13020,
        "devices": [
            {
                "arch": "Ampere",
                "computeCapability": "8.7",
                "cores": 1024,
                "name": "Orin",
                "totalMemoryBytes": "7912292352",
                "totalMemoryMB": 7545.75
            }
        ],
        "glx_info": "",
        "initResult": 0,
        "valid": [
            "<b>Graphics card: </b> Orin"
        ]
    },
    "Log Kernel Trace (for ZED X)": {
        "dmesg": {
            "DMESG [DTS] LOG ": [
                "dmesg: read kernel buffer failed: Operation not permitted"
            ],
            "DMESG [MAX9x] LOG": [
                "dmesg: read kernel buffer failed: Operation not permitted"
            ],
            "DMESG [PCA] LOG ": [
                "dmesg: read kernel buffer failed: Operation not permitted"
            ],
            "DMESG [ZEDX] LOG": [
                "dmesg: read kernel buffer failed: Operation not permitted"
            ],
            "DTB list SLabs": [
                "board.py",
                "extlinux.py",
                "fio.py",
                "Headers",
                "Jetson",
                "Linux",
                "__pycache__",
                "Utils",
                "zlconfig"
            ],
            "DTB list original": [
                "/boot/dtb/kernel_tegra234-p3768-0000+p3767-0005-nv-super.dtb"
            ],
            "Dpkg list Stereolabs": [
                "ii  stereolabs-zedlink-mono                       1.4.3-SL-MAX9296-L4T39.2.1                       arm64        NVIDIA Kernel DTB Modified Package by Stereolabs"
            ],
            "Dpkg list zed": [
            ],
            "Driver list": {
                "/usr/lib/modules/6.8.12-1021-tegra/kernel/drivers/stereolabs/max9295/sl_max9295.ko": "exists",
                "/usr/lib/modules/6.8.12-1021-tegra/kernel/drivers/stereolabs/max9296/max9296.ko": "not found",
                "/usr/lib/modules/6.8.12-1021-tegra/kernel/drivers/stereolabs/max9296/sl_max9296.ko": "exists",
                "/usr/lib/modules/6.8.12-1021-tegra/kernel/drivers/stereolabs/max96712/max96712.ko": "not found",
                "/usr/lib/modules/6.8.12-1021-tegra/kernel/drivers/stereolabs/max96712/sl_max96712.ko": "not found",
                "/usr/lib/modules/6.8.12-1021-tegra/kernel/drivers/stereolabs/zedone4k/sl_zedxone_uhd.ko": "exists",
                "/usr/lib/modules/6.8.12-1021-tegra/kernel/drivers/stereolabs/zedx/max96712.ko": "not found",
                "/usr/lib/modules/6.8.12-1021-tegra/kernel/drivers/stereolabs/zedx/sl_zedx.ko": "exists",
                "/usr/lib/modules/6.8.12-1021-tegra/kernel/drivers/stereolabs/zedxpro/sl_zedxpro.ko": "not found"
            },
            "EXTlinux file": [
                "TIMEOUT 30",
                "DEFAULT Stereolabs",
                "MENU TITLE L4T boot options",
                "LABEL primary",
                "      MENU LABEL primary kernel",
                "      LINUX /boot/Image",
                "      INITRD /boot/initrd",
                "      APPEND ${cbootargs} root=PARTUUID=0bc2d952-115d-439a-8af2-f022731e7f72 rw rootwait rootfstype=ext4 mminit_loglevel=4 console=ttyTCU0,115200 firmware_class.path=/etc/firmware fbcon=map:0 video=efifb:off console=tty0 efi_pstore.pstore_disable=1 pstore.backend=ramoops efi=runtime pci=pcie_bus_perf nvme.use_threaded_interrupts=1 swiotlb=2048 nv-auto-config ",
                "# When testing a custom kernel, it is recommended that you create a backup of",
                "# the original kernel and add a new entry to this file so that the device can",
                "# fallback to the original kernel. To do this:",
                "#",
                "# 1, Make a backup of the original kernel",
                "#      sudo cp /boot/Image /boot/Image.backup",
                "#",
                "# 2, Copy your custom kernel into /boot/Image",
                "#",
                "# 3, Uncomment below menu setting lines for the original kernel",
                "#",
                "# 4, Reboot",
                "# LABEL backup",
                "#    MENU LABEL backup kernel",
                "#    LINUX /boot/Image.backup",
                "#    INITRD /boot/initrd",
                "#    APPEND ${cbootargs}",
                "LABEL Stereolabs",
                "\tMENU LABEL Stereolabs kernel",
                "\tLINUX /boot/Image",
                "\tFDT /boot/dtb/kernel_tegra234-p3768-0000+p3767-0005-nv-super.dtb",
                "\tINITRD /boot/initrd",
                "\tAPPEND ${cbootargs} root=PARTUUID=0bc2d952-115d-439a-8af2-f022731e7f72 rw rootwait rootfstype=ext4 mminit_loglevel=4 console=ttyTCU0,115200 firmware_class.path=/etc/firmware fbcon=map:0 video=efifb:off console=tty0 efi_pstore.pstore_disable=1 pstore.backend=ramoops efi=runtime pci=pcie_bus_perf nvme.use_threaded_interrupts=1 swiotlb=2048 nv-auto-config",
                "\tOVERLAYS /boot/tegra234-p3768-camera-zedlink-mono-sl-overlay.dtbo"
            ],
            "I2C Trace list": {
                "I2C Trace /dev/i2C-0": [
                    "     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f",
                    "00:                         -- -- -- -- -- -- -- -- ",
                    "10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- ",
                    "20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- ",
                    "30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- ",
                    "40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- ",
                    "50: UU -- -- -- -- -- -- UU -- -- -- -- -- -- -- -- ",
                    "60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- ",
                    "70: -- -- -- -- -- -- -- --                         "
                ],
                "I2C Trace /dev/i2C-1": [
                    "     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f",
                    "00:                         -- -- -- -- -- -- -- -- ",
                    "10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- ",
                    "20: -- -- -- -- -- UU -- -- -- -- -- -- -- -- -- -- ",
                    "30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- ",
                    "40: UU -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- ",
                    "50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- ",
                    "60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- ",
                    "70: -- -- -- -- -- -- -- --                         "
                ],
                "I2C Trace /dev/i2C-10": [
                    "     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f",
                    "00:                         -- -- -- -- -- -- -- -- ",
                    "10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- ",
                    "20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- ",
                    "30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- ",
                    "40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- ",
                    "50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- ",
                    "60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- ",
                    "70: -- -- -- -- -- -- -- --                         "
                ],
                "I2C Trace /dev/i2C-2": [
                    "     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f",
                    "00:                         -- -- -- -- -- -- -- -- ",
                    "10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- ",
                    "20: UU -- -- -- -- -- -- -- UU -- -- -- -- -- -- -- ",
                    "30: -- -- -- -- -- -- -- -- -- -- -- UU -- -- -- -- ",
                    "40: -- -- -- -- -- -- -- -- UU -- -- -- -- -- -- -- ",
                    "50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- ",
                    "60: -- -- UU -- -- -- -- -- -- -- -- -- -- -- -- -- ",
                    "70: -- -- -- -- -- -- -- --                         "
                ],
                "I2C Trace /dev/i2C-7": [
                    "     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f",
                    "00:                         -- -- -- -- -- -- -- -- ",
                    "10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- ",
                    "20: -- -- -- 23 -- -- -- -- -- -- -- -- -- -- -- -- ",
                    "30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- ",
                    "40: -- 41 -- -- -- -- -- -- -- -- -- -- -- -- -- -- ",
                    "50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- ",
                    "60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- ",
                    "70: 70 -- -- -- -- -- -- --                         "
                ],
                "I2C Trace /dev/i2C-9": [
                    "     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f",
                    "00:                         -- -- -- -- -- -- -- -- ",
                    "10: -- -- -- -- -- -- -- -- -- 19 -- -- -- -- -- -- ",
                    "20: UU -- -- -- -- -- -- -- UU -- -- -- -- -- -- -- ",
                    "30: -- -- -- -- -- -- -- -- -- -- -- UU 3c -- -- -- ",
                    "40: -- -- -- -- -- -- -- -- UU 49 -- -- -- -- -- -- ",
                    "50: -- -- -- -- 54 55 -- -- -- -- -- -- -- -- -- -- ",
                    "60: -- -- UU -- -- -- -- -- -- 69 -- -- -- -- -- -- ",
                    "70: -- -- -- -- -- -- -- --                         "
                ]
            },
            "Jetpack": [
                "# R39 (release), REVISION: 2.1, GCID: 46758480, BOARD: generic, EABI: aarch64, DATE: Fri Aug  7 05:54:22 AM UTC 2026",
                "# KERNEL_VARIANT: oot",
                "TARGET_USERSPACE_LIB_DIR=nvidia",
                "TARGET_USERSPACE_LIB_DIR_PATH=usr/lib/aarch64-linux-gnu/nvidia"
            ],
            "Linux_uname": [
                "Linux localhost.localdomain 6.8.12-1021-tegra #1 SMP PREEMPT Thu Aug  6 21:56:04 PDT 2026 aarch64 aarch64 aarch64 GNU/Linux"
            ],
            "ZED SDK Version": {
                "Diag": "5.4.1",
                "RT": "5.4.1"
            },
            "ZEDX Daemon Status LS": [
                "● zed_x_daemon.service - ZED-X Daemon service",
                "     Loaded: loaded (/etc/systemd/system/zed_x_daemon.service; enabled; preset: enabled)",
                "     Active: active (running) since Sat 2026-08-22 10:07:32 +08; 1h 3min ago",
                "   Main PID: 2706 (ZEDX_Daemon)",
                "      Tasks: 5 (limit: 8721)",
                "     Memory: 1.3M (peak: 1.8M)",
                "        CPU: 5.640s",
                "     CGroup: /system.slice/zed_x_daemon.service",
                "             └─2706 /usr/sbin/ZEDX_Daemon",
                "Aug 22 10:07:32 localhost.localdomain systemd[1]: Started zed_x_daemon.service - ZED-X Daemon service."
            ],
            "ZEDX Driver State": [
                "sl_zedxone_uhd         36864  0",
                "sl_zedx                36864  1",
                "sl_zedxhdr             24576  0",
                "sl_max9295             16384  3 sl_zedxhdr,sl_zedxone_uhd,sl_zedx",
                "sl_max9296             28672  4 sl_zedxhdr,sl_zedxone_uhd,sl_max9295,sl_zedx",
                "tegra_camera          208896  8 tegra_capture_isp,sl_zedxhdr,sl_zedxone_uhd,nvhost_nvcsi,nvhost_vi5,sl_zedx",
                "videodev              262144  9 v4l2_async,v4l2_fwnode,sl_zedxhdr,videobuf2_v4l2,tegra_camera,sl_zedxone_uhd,sl_zedx"
            ],
            "i2C Trace": [
                "i2c-0\ti2c       \t3160000.i2c                     \tI2C adapter",
                "i2c-1\ti2c       \tc240000.i2c                     \tI2C adapter",
                "i2c-2\ti2c       \t3180000.i2c                     \tI2C adapter",
                "i2c-4\ti2c       \tTegra BPMP I2C adapter          \tI2C adapter",
                "i2c-5\ti2c       \t31b0000.i2c                     \tI2C adapter",
                "i2c-7\ti2c       \tc250000.i2c                     \tI2C adapter",
                "i2c-9\ti2c       \ti2c-2-mux (chan_id 1)           \tI2C adapter",
                "i2c-10\ti2c       \ti2c-2-mux (chan_id 0)           \tI2C adapter"
            ]
        }
    },
    "Processor": {
        "L4T version": "39.2.1",
        "OS": "Ubuntu 24.04.4 LTS ",
        "avxSupported": false,
        "coreCount": "676%",
        "cpu": "",
        "datetime": "2026-08-22 11:10:50",
        "hyperThreading": "0",
        "motherboard": "Jetson, NVIDIA",
        "platform": "NVIDIA Jetson (L4T)",
        "ramCapacity": "7.912292",
        "ramUsage": "",
        "ramUsed": "6.639342",
        "threadCount": "676",
        "valid": [
            "<b>Processor: </b> ",
            "<b>Motherboard: </b> Jetson, NVIDIA"
        ]
    },
    "USB Camera": {
        "CorruptedFirmware": [
        ],
        "GMSL driver": [
        ],
        "GMSLList": [
            {
                "Serial": "59325244",
                "Sub Model": "ZED-XG Mini",
                "id": 0,
                "path": "/dev/i2c-9",
                "state": "Available"
            }
        ],
        "InternalDevicesCount (GMSL)": [
        ],
        "InternalDevicesCount (USB)": [
        ],
        "Serial Number": [
        ],
        "USBList": [
            {
                "USB_path": "/1",
                "idProduct": "0x0489",
                "idVendor": "0x0bda"
            },
            {
                "USB_path": "/3",
                "idProduct": "0x3549",
                "idVendor": "0x13d3"
            },
            {
                "USB_path": "/2",
                "idProduct": "0x5489",
                "idVendor": "0x0bda"
            }
        ],
        "ZEDCount": [
        ],
        "ZEDs": [
        ],
        "camera": [
        ],
        "resolutions": [
        ],
        "sensors": [
        ],
        "valid": [
            "<b>Camera: </b>ZED X Mini"
        ]
    },
    "ZED SDK": {
        "CUDA Toolkit version": "V13.2.86 -->located in /usr/local/cuda-13.2/bin/nvcc",
        "CUDA loading": false,
        "GPU Driver Version": "Driver Version                                         : 595.78",
        "GPU Performance": "    Performance State                                  : N/A",
        "ZED SDK Version (Diag)": "5.4.1",
        "ZED SDK Version (RT)": "5.4.1",
        "ai": {
            "checkAI": true,
            "cudaVersion": 13020,
            "tensorVersion": 101602
        },
        "binFiles": [
            "libsl_ai.so",
            "libsl_zed.so"
        ],
        "resourcesFiles": [
            "neural_depth_5.3.model",
            "neural_depth_light_5.3.model"
        ],
        "resourcesFilesExpected": [
            "objects_performance_3.2"
        ],
        "valid": [
            "<b>ZED SDK version:</b> 5.4.1",
            "<b>CUDA version:</b> V13.2.86"
        ]
    }
}

Hi Art,

Thanks, the diagnostic is exactly what I needed. Your report is unusually clean: same machine, same camera, ZED Explorer fine, grab loop corrupt, SVO v1 fine. That points at our side, not at your code. Your loop is correct.

Two quick things would help me narrow it before I hand this to the SDK team. First, could you try setting bitrate and framerate explicitly instead of leaving them at the default of 0?

python

rec = sl.RecordingParameters()
rec.video_filename = "output.svo2"
rec.compression_mode = sl.SVO_COMPRESSION_MODE.H264
rec.bitrate = 8000
rec.target_framerate = 30

Second, does the same loop produce a readable file with sl.SVO_COMPRESSION_MODE.LOSSLESS? That tells us whether the problem is the encoder or the SVO2 container itself.

Either way, keep using SVO v1 in the meantime, it is a valid workaround. I am logging this as a bug on our side and will come back to you once engineering has looked at it.

Best,


Tristan Leduc


Stereolabs Support

Hi,

So changing fps and bitrate - same problem

ZED_SVO_Editor --inf output_v2_8000_30fps.svo 
-inf option detected
*FAIL : failed to get infos from  "output_v2_8000_30fps.svo" 
 You can try the -repair option to repair the SVO file

But, using LOSSLESS compression alone works fine for V2:

ZED_SVO_Editor --inf output_v2_lossless.svo2 
-inf option detected
Encrypted : No
SVO Infos : SVO v 2
Image Size : [ 1920  x  1200 ]
Framerate :  30
Number of Frames :  100
ZED Serial Number :  59325244
Compression mode :  "Lossless compression (png)"
Camera model :  "ZED X Mini"
Camera Fw version :  2001
ZED SDK version that generated this file :  5.4.1

Thanks for looking into that.

Art.

Hi Art,

Thanks for the test results. LOSSLESS uses PNG and ZSTD on the CPU, so it never reaches the video encoder. It clears the SVO2 container and leaves the H264 path as the suspect. The Orin Nano has no NVENC engine, so H264 runs in software on your board, and that combination is what we need to characterise.

Four short checks and I can hand this over with a complete file.

What does ZED_SVO_Editor --repair recover from a bad file, and how many frames does it report afterwards? How large is that file next to the lossless one?

Does the same loop produce a readable file with SVO_COMPRESSION_MODE.H265?

Could you run --inf on a ZED Explorer recording and tell me the compression mode it prints? I want to confirm Explorer is also using H264, otherwise we are comparing two different paths.

Finally, your bitrate test wrote to a filename ending in .svo rather than .svo2. Could you repeat that one with .svo2?

Best,


Tristan Leduc


Stereolabs Support

Here it is:

Bitrate test with ZED_SDK_SVO_VERSION=2, saved as svo2:

recording_params.compression_mode = sl.SVO_COMPRESSION_MODE.H264
recording_params.bitrate = 8000
recording_params.target_framerate = 30
ZED_SVO_Editor --inf output_v2_8000_30fps_h264.svo2 
-inf option detected
*FAIL : failed to get infos from  "output_v2_8000_30fps_h264.svo2" 
 You can try the -repair option to repair the SVO file

Repair (of the same file):

ZED_SVO_Editor --repair output_v2_8000_30fps_h264.svo2

-repair option detected
* Repair in progress… Please wait *
** SUCCESS : SVO file has been repaired under the name :  “output_v2_8000_30fps_h264_repaired.svo2”

ZED_SVO_Editor --inf output_v2_8000_30fps_h264_repaired.svo2
-inf option detected
*FAIL : failed to get infos from  “output_v2_8000_30fps_h264_repaired.svo2”
You can try the -repair option to repair the SVO file

Try H265 with repair:

recording_params.compression_mode = sl.SVO_COMPRESSION_MODE.H265
ZED_SVO_Editor --inf output_v2_8000_30fps_h265.svo2 
-inf option detected
*FAIL : failed to get infos from  "output_v2_8000_30fps_h265.svo2" 
 You can try the -repair option to repair the SVO file

ZED_SVO_Editor --repair output_v2_8000_30fps_h265.svo2 
-repair option detected
* Repair in progress... Please wait *
 ** SUCCESS : SVO file has been repaired under the name :  "output_v2_8000_30fps_h265_repaired.svo2"

ZED_SVO_Editor --inf output_v2_8000_30fps_h265_repaired.svo2 
-inf option detected
*FAIL : failed to get infos from  "output_v2_8000_30fps_h265_repaired.svo2" 
 You can try the -repair option to repair the SVO file

As for ZED Explorer test, unfortunately I can’t perform it now. I am now on remote connection to my jetson-zed rig, and ZED Explorer refuses to work with no display (I use remote-login). Unless there is some CLI option?

Thanks,
Art.

Unfortunately, you cannot use ssh -X tunneling. Unless, you apply this fix: