Hardware Platform (Jetson / GPU) - Jetson orin nano • DeepStream Version - 7.0 • TensorRT Version - 8.6.2.3 • CUDA - 12.2 • Issue Type( questions, new requirements, bugs) - Question
Hi, I am using nvrtspoutsinkbin plugin as a sink to get the processed stream out using the rtsp url, when I run locally in the device, and try to play the output RTSP url in the VLC, it works.
However, when I run the pipeline, inside the container (using deepstream 7.0 image) as the network attached to the host, I am having issue playing the same RTSP url in the VLC. It is not working, Any idea/suggestion how I can fix this?
And one more thing, is this nvrtspoutsinkbin depreciated now, I couldn’t find anything related this in the new deepstream documentation.
And is this the optimal way to do this or is there any better way to get the processed stream’s Output RTSP url. All I need is to get a working RTSP url for processed stream and play it using VLC while the pipeline is running inside the container in the jetson device? Thanks in advance
This problem is usually caused by the network inability of docker to connect to the host.
How do you start docker? Did you add the --network=host parameter?
I can use vlc to play the rtsp stream output by docker in the host
You can continue to use nvrtspoutsinkbin, or you can also refer to create_udpsink_bin in /opt/nvidia/deepstream/deepstream/sources/apps/apps-common/src/deepstream_sink_bin.c.
nvrtspoutsinkbin is used for graphcomposer, not a public plugin, so some issues may not be solved in time.
Yes, I have used the host network to start the docker, But it doesn’t work.
Can I able to print a log for output RTSP url inside the docker container terminal?, I am running compiled c++ pipeline
Note that you are using Orin nano, which does not support hardware encoding. Try the following command line to use software encoding. But please install x264enc first.
However I still have issue viewing the rtsp stream in VLC on my local computer,
for you info, my orin nano and local computer are on the same network, and I am accessing the device through ssh in my vscode and by forwarding rtsp port , I am trying to play in my vlc
This is rtsp url formar I used in vlc - rtsp://host-ip:8554/ds-test
I don’t understand why the rtsp-server returns 404, the ds-test endpoint should exist
If ffplay and gst-launch-1.0 are run on the same device, it works. But when you run ffplay on another device, it doesn’t work? I can’t think of any other reason besides network issues
This works with the different RTSP port now. And also in the pipeline there was a element not properly loaded, so it’s working now when tried to fix it.