Can deepstream be used in multiple threads?

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) GTX1660s
• DeepStream Version 6.1
• JetPack Version (valid for Jetson only)
• TensorRT Version 8.4.3
• NVIDIA GPU Driver Version (valid for GPU only) 510.39.01
• 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)

Hi everyone,
I am working with deepstream to implement object tracking. I read an RTSP stream, perform object tracking, and then output another RTSP video stream. I have encapsulated this functionality into a C++ class and am using multiple threads to execute this process, aiming for multiple individual RTSP inputs and outputs. However, only one thread is able to execute correctly. Could you please let me know if there is an issue with my approach?

DeepStream is based on GStreamer. GStreamer core itself is multiple threads framework. You can use DeepStream APIs in multiple threads.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.