• Hardware Platform (Jetson / GPU) GPU
• DeepStream Version 6.2
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only) 525
• Issue Type( questions, new requirements, bugs) questions
Hi, I’m trying to create a deepstream app that takes 3 video files as input and outputs 3 RTSP streams without any pgie or model inference. The purpose is that I just want to leverage deepstream to handle streams and use another script to run inference on the streams. Is it possible?
yes, please refer to sample deepstream-app, you can add 3 [sourcex] and 3 [sinkx] in its configuration.
@fanzh is there any python deepstream app available for this?
there is no ready python sample, you might combine deepstream_test_3.py and deepstream_test1_rtsp_out.py, the first one can accept multiple inputs, the second one can output multiple rtsp streams after modifying.
@fanzh How should I modify it to output multi RTSP streams?
udpsink, as the code shown, first you need to dump stream to a udpsink with different udp port, second you might use gstreamer opensource lib gst-rtsp-server to set up a rtsp server with different rtsp port, here is the relevant code: rtspserver, the important thing is that udp port, rtsp port, rtsp url should be different.
Hi @fanzh, this is my implementation based on your suggestion. If two inputs are given, the expected streams should be:
rtsp://localhost:8554/ds-test
rtsp://localhost:8555/ds-test
But I can only view rtsp://localhost:8554/ds-test
on VLC not rtsp://localhost:8555/ds-test
. Can you check it?
are you using the diffrent updsink_port_num?
you might open the vlc’s debug log, then check the RTSP interaction process when palying rtsp://localhost:8555/ds-test, or you might capture the network packets when playing that url.
@fanzh I’m using different updsink_port_num and this is the log from VLC:
videotoolbox: Using Video Toolbox to decode 'h264'
videotoolbox error: decoder failure, Abort.
main error: buffer deadlock prevented
live555 error: Failed to connect with rtsp://192.168.64.230:8555/ds-test
The first three lines come from rtsp://192.168.64.230:8554/ds-test
, which I use to view RTSP from LAN network; and the last line for rtsp://192.168.64.230:8555/ds-test
. For 8554, I can view just fine, but not 8555.
Btw, can you try to run the script on your computer for a quick check if you are witnessing the same issue?
There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks
I noticed udpsink0 is for rtsp://192.168.64.230:8554/ds-test, udpsink1 is for rtsp://192.168.64.230:8558/ds-test, to narrow down this issue, can you remove udpsink0 and rtsperver0 temporarily to check if playing rtsp://192.168.64.230:8558/ds-test is ok?
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.