# Issues using zedsrc and zeddemux with DeepStream SDK

**URL:** <https://community.stereolabs.com/t/issues-using-zedsrc-and-zeddemux-with-deepstream-sdk/10287>\
**Category:** Software\
**Tags:** zed-gstreamer, deepstream\
**Created:** [November 6, 2025, 1:01pm UTC](https://community.stereolabs.com/t/issues-using-zedsrc-and-zeddemux-with-deepstream-sdk/10287 "2025-11-06T13:01:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kwonok](https://community.stereolabs.com/user_avatar/community.stereolabs.com/kwonok/32/2199_2.png) [@kwonok](https://community.stereolabs.com/u/kwonok)\
**Post date:** [November 6, 2025, 1:01pm UTC](https://community.stereolabs.com/t/issues-using-zedsrc-and-zeddemux-with-deepstream-sdk/10287/1 "2025-11-06T13:01:32Z")

</div>

I am using the following setup:

- **Camera:** ZED X Mini

- **Jetson:** Jetson NX 16GB ( **zed**  **Mini Carrier Board** )

- **ZED SDK:** 5.0

- **DeepStream SDK:** 7.1

I am trying to use the ZED SDK’s `zedsrc` and `zeddemux` elements with DeepStream. I need both the left and right images, so I implemented a pipeline using `zeddemux`.

However, I frequently encounter the following error:

```auto
gst_buffer_unmap: assertion 'GST_IS_BUFFER (buffer)' failed

```

In addition, memory usage keeps increasing until an OOM occurs.

When I added a `queue` between `zedsrc` and `zeddemux`, the frequency of the error reduced but did not disappear completely. As a workaround, I implemented the pipeline using `videocrop` instead of `zeddemux`.

Could you please advise the correct way to use `zedsrc` and `zeddemux` in a DeepStream SDK or GStreamer pipeline without causing errors or memory leaks?

Thank you in advance for your help.

---

<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 7, 2025, 10:01am UTC](https://community.stereolabs.com/t/issues-using-zedsrc-and-zeddemux-with-deepstream-sdk/10287/2 "2025-11-07T10:01:07Z")

</div>

Hi @kwonok

What’s the pipeline that you use?  
Without details, it’s not possible to identify the cause of the issue.

---

<div class="post-metadata">

**Author:** ![kwonok](https://community.stereolabs.com/user_avatar/community.stereolabs.com/kwonok/32/2199_2.png) [@kwonok](https://community.stereolabs.com/u/kwonok)\
**Post date:** [November 8, 2025, 10:30am UTC](https://community.stereolabs.com/t/issues-using-zedsrc-and-zeddemux-with-deepstream-sdk/10287/3 "2025-11-08T10:30:37Z")

</div>

Thank you for your response.  
Here are the details of my current pipeline configuration.

I am using the **DeepStream Python SDK (7.1)** to integrate the **ZED SDK(5.0)**’s `zedsrc` and `zeddemux` elements.

**[deepstream\_python\_apps](https://github.com/NVIDIA-AI-IOT/deepstream_python_apps)**

The pipeline structure is as follows:

```yaml
zedsrc 
  stream-type=2 
  camera-fps=30 
  camera-resolution=1 
  opencv-calibration-file=opencv.yml
    → queue 
    → zeddemux name=demux 
      → demux.src_left → queue 
      → demux.src_aux → queue
    → streammux
    → pgie
    → sink

```

Please let me know if you would like me to provide more detailed information, such as the full pipeline configuration or logs, to help with troubleshooting.

---

<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 10, 2025, 10:29am UTC](https://community.stereolabs.com/t/issues-using-zedsrc-and-zeddemux-with-deepstream-sdk/10287/4 "2025-11-10T10:29:57Z")

</div>

> [@kwonok](#):
>
> `opencv-calibration-file=opencv.yml`

Is this calibration file valid?  
Does the stream work without this option?

Have you tested the same pipeline with GStreamer to check that the stream can start?

---

<div class="post-metadata">

**Author:** ![kwonok](https://community.stereolabs.com/user_avatar/community.stereolabs.com/kwonok/32/2199_2.png) [@kwonok](https://community.stereolabs.com/u/kwonok)\
**Post date:** [November 11, 2025, 4:54am UTC](https://community.stereolabs.com/t/issues-using-zedsrc-and-zeddemux-with-deepstream-sdk/10287/5 "2025-11-11T04:54:30Z")

</div>

**Q1. Is this calibration file valid?**  
Yes, the calibration file is valid and properly formatted.

**Q2. Does the stream work without this option?**  
Yes, I have tested the stream without specifying the calibration file, and it works as expected.

**Q3. Have you tested the same pipeline with GStreamer to check that the stream can start?**  
Yes, I have tested the same pipeline directly with GStreamer, and the stream starts successfully.

---

<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 11, 2025, 9:42am UTC](https://community.stereolabs.com/t/issues-using-zedsrc-and-zeddemux-with-deepstream-sdk/10287/6 "2025-11-11T09:42:38Z")

</div>

> [@kwonok](#):
>
> `opencv-calibration-file=opencv.yml`

Try to provide the absolute path to the calibration file.
