Deepstream deepstream_imagedata-multistream.py error

Hi,
I’m running the out of the box version of deepstream_imagedata-multistream.py from an RTSP stream and the frames are not decoded correctly. The model correctly shows the detection but the rest of the image is black.

Jetson Thor, Deepstream 8.

python3 deepstream_imagedata-multistream.py rtsp://admin:pass@192.168.1.180:8554/XXX /home/zzz/tmp2

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU): Jetson Thor
• DeepStream Version: 8.0
• JetPack Version (valid for Jetson only): R38, Revision 2.0. Date Aug 22 2025
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description):

I can reproduce the same issue on AGX Thor.

Have you seen the following errors in your log?

nvbufsurface: mapping of memory type (2) not supported
nvbufsurface: error in mapping
get_nvds_buf_surface: Failed to map buffer to CPU
nvbufsurface: NvBufSurfaceSyncForCpu: wrong memType(2)
get_nvds_buf_surface: Failed to sync buffer to CPU

Yes, I saw that and I forgot to mentioned it.
I tried to change it to type 3 which is something that I read online that can be the right constant for newer versions without success.
I’m have this pipeline running with Xavier models and deepstream 6.2 and it works perfectly.

Can you try this fix?
deepstream_imagedata-multistream.py (18.5 KB)

Hi Fiona,

This version works.
So the primary change is this one?

nvvidconv1.set_property("copy-hw", 2)
nvvidconv1.set_property("nvbuf-memory-type", 4)

is this for Thor or for any Jetson with the new Deepstream?
Regards

DeepStream 8.0 only works on Thor. It is for DeepStream 8.0 on Thor.

Thanks, we can close it