# ZED SDK 5.6.0: H264\_LOSSLESS and H265\_LOSSLESS recording errors on Orin NX

**URL:** <https://community.stereolabs.com/t/zed-sdk-5-6-0-h264-lossless-and-h265-lossless-recording-errors-on-orin-nx/11855>\
**Category:** Python\
**Tags:** sdk, jetson\
**Created:** [November 18, 2026, 4:34am UTC](https://community.stereolabs.com/t/zed-sdk-5-6-0-h264-lossless-and-h265-lossless-recording-errors-on-orin-nx/11855 "2026-11-18T04:34:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Terrensou](https://community.stereolabs.com/user_avatar/community.stereolabs.com/terrensou/32/5943_2.png) [@Terrensou](https://community.stereolabs.com/u/Terrensou)\
**Post date:** [November 18, 2026, 4:34am UTC](https://community.stereolabs.com/t/zed-sdk-5-6-0-h264-lossless-and-h265-lossless-recording-errors-on-orin-nx/11855/1 "2026-11-18T04:34:52Z")

</div>

Hello,

I am experiencing SVO2 recording errors with a **ZED X Mini connected to a ZED BOX Mini (Orin NX 16 GB)**. I recently updated to ZED SDK 5.6.0 and ZED X driver 1.5.0.

The camera opens successfully, but errors appear immediately after recording starts with `H264_LOSSLESS` or `H265_LOSSLESS`.

### Environment

- ZED SDK **5.6.0** , pyzed **5.6** , Python **3.14.3** in Conda.

- Kernel: `5.15.148-tegra`.

- NVIDIA L4T core, camera and multimedia packages: `36.4.7-20250918154033`.

- Driver package: `stereolabs-zedbox-mini`, version `1.5.0-SL-MAX9296-ZEDBOX-MINI-L4T36.4.0`.

- Camera firmware: **2001**.

### Recording configuration and results

I use a Python script with **HD1200, 30 FPS, `DEPTH_MODE.NONE`, SVO2, and the default encoding preset**. I tested the following compression modes using the same script and camera settings, saving each run to a separate file. Approximately 133 GB of disk space was available.

| Compression mode | Observed recording behavior |
| --- | --- |
| `H264` | No recording errors observed |
| `H264_LOSSLESS` | Encoder errors immediately after starting |
| `H265` | No recording errors observed |
| `H265_LOSSLESS` | Repeated NVMAP errors immediately after starting |
| `LOSSLESS` | No recording errors observed |

The script uses `enable_recording()` followed by a `grab()` loop. Its Ctrl+C handler calls `disable_recording()` and then `close()`.

### Error messages

With **`H264_LOSSLESS`** :

```plaintext
VENC: NvVideoEncBlockReportError: 2469: BlockSide error 0x4
NvVideoEnc: BlockError
NvVideoEncTransferOutputBufferToBlock: DoWork failed line# 680
NvVideoEnc: NvVideoEncTransferOutputBufferToBlock TransferBufferToBlock failed line=691

```

With **`H265_LOSSLESS`** , these messages repeat:

```plaintext
NVMAP_IOC_READ:1077431815 failed [22]
NVMAP_IOC_WRITE:1077431814 failed [22]

```

Opening an affected `H265_LOSSLESS` recording also failed with:

```plaintext
Opening in BLOCKING MODE
NvMMLiteOpen : Block : BlockType = 279
NvMMLiteBlockCreate : Block : BlockType = 279
Segmentation fault (core dumped)

```

Is there a recommended fix or configuration change?

Thank you.

---

<div class="post-metadata">

**Author:** ![Myzhar](https://community.stereolabs.com/user_avatar/community.stereolabs.com/myzhar/32/11_2.png) [@Myzhar](https://community.stereolabs.com/u/Myzhar)\
**Post date:** [November 18, 2026, 9:32am UTC](https://community.stereolabs.com/t/zed-sdk-5-6-0-h264-lossless-and-h265-lossless-recording-errors-on-orin-nx/11855/2 "2026-11-18T09:32:41Z")

</div>

Hi @Terrensou,

> Is there a recommended fix or configuration change for the H264\_LOSSLESS and H265\_LOSSLESS errors on the ZED Box Mini?

Thank you for the detailed report.

ZED SDK v5.6.0 changed how `H264_LOSSLESS` and `H265_LOSSLESS` work on Jetson. Before v5.6.0, these modes were actually lossy. They are now near lossless, so the encoder handles a much higher bitrate, about 12x for H.265 and 30x for H.264 (see the [v5.6.0 release notes](https://www.stereolabs.com/developers/release)). At HD1200 and 30 FPS, this could be pushing the Orin NX hardware encoder past its limits. We have not confirmed this yet.

To help us narrow it down, can you please:

1. Record again with both modes at 15 FPS, then at HD1080, and tell us whether the errors are still there.
2. Record with `ZED_Explorer`, so we can rule out the Python environment (Python 3.14 in Conda).

We will try to reproduce this on a ZED Box Mini with a ZED X Mini.

Until then, `SVO_COMPRESSION_MODE::LOSSLESS` works on your setup and gives frames identical to the live images.
