Deepstream Python Multiple input RTSP and multiple output RTSP

i work on custom Yolov3 model applied to multiple RTSP camera inputs (at least 5 streams) and
get quite good performance results. I’m developing with python and i modified the python sample app “deepstream-imagedata-multistream” to access batch metadata and do some stuff with it.
To finish my project I need to re-stream each individual camera stream (with attached boxes) to a different RTSP sink output to be seen by other clients. How can I achieve this?
I’m not quite confident with deepstream/gstream and haven’t found very much support for python to do that.


For demuxing the streams you can use nvstreamdemux plugin. There is no python sample for it and pleaase refetr to C samples. Please check
How to re-stream RTSP input or sink separately each RTSP output streaming in DS4.0 - #3 by DaneLLL

For RTSP output, can refer to
deepstream_python_apps/apps/deepstream-test1-rtsp-out at master · NVIDIA-AI-IOT/deepstream_python_apps · GitHub