Deepstream restreaming rtsp to my rtspserver instead of using gstreamerserver in deepstream examples

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) gpu
• DeepStream Version 7
• JetPack Version (valid for Jetson only)
• TensorRT Version i install it using deepstream 7 instalation guide
• NVIDIA GPU Driver Version (valid for GPU only) 535
• 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
I have a rtsp server and i want to use that instead of gstreamer server that exist in your deepstream binding examples
I tried gstreamer server and it works but i have another server
You can think of it as i have a twitch link (rtsp not rtmp) and i want to restream there what howud i add to my pipeline instead of creating gstreamer server
Should I use rtspclientsink or not? How?
Thank you for taking the time to read this long message.

You can try that and just set the location parameter correctly.

Ty for responding
What about pipeline is it correct?i tried this but didn’t work correctly
Nvurisrcbin-> streammux-> pgie->tracker->demux - - for every camera - - > queue->nvvideoconvert->nvosd->nvvideoconvert->encoder->h264parse->rtspclientsink
I even tried :
Nvurisrcbin-> streammux-> pgie->tracker->demux - - for every camera - - > nvvideoconvert->caps->encoder->rtppay(rth264…)->rtspclientsink

Can you make sure your own server works properly? If that is working, you can try to use the following piepline.

................->nvvideoconvert ! nvv4l2h264enc ! rts
pclientsink protocols=tcp location=<your_own_url>

It’s not work too
My server work correctly

Please use the following pipeline to verify that your server is working properly. If the pipeline can not working properly, there may be a problem with your server, or it is not compatible with Gstreamer.

gst-launch-1.0 filesrc location=/opt/nvidia/deepstream/deepstream/samples/streams/sample_720p.h264 ! video/x-h264 ! h264parse ! rtspclientsink protocols=tcp location=<your_server>

It work correctly!! Ty for responding
Can you help me now in my pipeline?

You can gradually add plugins to the pipeline to analyze this problem. Now the 1st pipeline works properly. You can try the 2nd pipeline …

  1. h264 source->h264parse->rtspclientsink OK
  2. Nvurisrcbin-> nvvideoconvert → encoder → h264parse->rtspclientsink
  3. Nvurisrcbin-> streammux-> nvvideoconvert → encoder → h264parse->rtspclientsink

Ty for responding
Your answer has a lot of work in my side forexample build another python code with ncurisrcbin and other things
I think i now have 2 question
Is there any command to do this?like your last response cuz i only use python
don’t you know the exact pipeline for my
situation?

You can refer to our Guide to get some pipelines like How to use nvurisrcbin in a pipeline.

I’m ok with urisrcbin i’m talking about which pipeline should i use for my problem
For example in my last reply i said my pipeline was it correct or not? Where should i focus to fix it?

Because you need to check which plugin causes the problem, the fastest way is to to use gst-launch-1.0 command. I have attached some pipeline command and how to use the nvurisrcbin in the gst-launch-1.0 command.

Another way you can address the problem is by modifying your own code to add and replace plugins and attach the log.

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

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