How to capture RTSP stream by using deepstream 5.0 pipleline on ubuntu GPU system

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
GPU
• DeepStream Version
5.0
• JetPack Version (valid for Jetson only)
• TensorRT Version
7,0
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
question
• 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)
I would like to capture my IP camera via deepstream
I can run successfully by using below pipeline on jetson nano and I can see the video via NVDSOSD GUI.
gst-launch-1.0 rtspsrc location=“rtsp://admin:yd1008610086@192.168.1.106:554/Streaming/Channels/101” ! rtph264depay ! h264parse ! nvv4l2decoder ! nvvidconv ! ‘video/x-raw(memory:NVMM),format=(string)RGBA,width=(int)1280, height=(int)720,fFramerate=30/1’ ! nvdsosd ! nvegltransform ! nveglglessink
While I trying to run it on ubuntu 18.04 with GPU(by removing nvegltransform because it is jetson specific )the pipeline is running but noting was showed could someone help on it?
gst-launch-1.0 rtspsrc location=“rtsp://admin:yd1008610086@192.168.1.106:554/Streaming/Channels/101” ! rtph264depay ! h264parse ! nvv4l2decoder ! nvvidconv ! ‘video/x-raw(memory:NVMM),format=(string)RGBA,width=(int)1280, height=(int)720,fFramerate=30/1’ ! nvdsosd ! nveglglessink

It is of no use to just put your command line here. The command line is OK. You need to provide useful information to identify the problem. You need to check your log first to find some clue first.

What does it mean “noting was showed”? There is no display window appear or there is no video in the display window? What can you see instead?

Firstly, you need to make sure that your ubuntu18.04 with GPU has installed DeepStream correctly. Have you tested with deepstream-test1?

If the test app can work well, you need to check whether your network setting is OK. Can you show the rtsp stream with VLC player in your ubuntu18.04 GPU device?

Thanks for your reply
Please see the log
0:00:00.548051367 10224 0x55573983c870 WARN structure gststructure.c:1832:priv_gst_structure_append_to_gstring: No value transform to serialize field ‘display’ of type ‘GstEGLDisplay’
Got context from element ‘eglglessink0’: gst.egl.EGLDisplay=context, display=(GstEGLDisplay)NULL;
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://admin:yd1008610086@192.168.1.106:554/Streaming/Channels/101
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
Progress: (request) SETUP stream 0
Progress: (open) Opened Stream
Setting pipeline to PLAYING …
New clock: GstSystemClock
Progress: (request) Sending PLAY request
Progress: (request) Sending PLAY request
Progress: (request) Sent PLAY request

I am sure the network setting is OK because I use below pipeline it works well
gst-launch-1.0 --gst-debug-level=4 uridecodebin uri=rtsp://admin:yd1008610086@192.168.1.106:554/Streaming/Channels/101 ! nvvideoconvert ! ‘video/x-raw(memory:NVMM),format=(string)RGBA,width=(int)1280, height=(int)720,fFramerate=30/1’ ! nvdsosd ! nveglglessink

What does it mean “noting was showed”? There is no display window appear or there is no video in the display window? What can you see instead?
It means no display window.

Can deepstream-test1 work in your ubuntu 18.04 with GPU? Can anything be displayed?

Hi

Yes deepstream-test1 works well

nvvidconv is not compatible to DeepStream, you can use nvvideoconvert both on Jetson and dGPU.

Thanks. I already noticed the error. But there is no help for my issue on Ubuntu 18.04 with GPU even I changed it to nvvideoconvert.

Can you get log with:
gst-launch-1.0 --gst-debug=v4l2videodec:5,nveglglessink:5 rtspsrc location=rtsp://admin:yd1008610086@192.168.1.106:554/Streaming/Channels/101 ! rtph264depay ! nvv4l2decoder ! nvvideoconvert ! ‘video/x-raw(memory:NVMM),format=(string)RGBA,width=(int)1280, height=(int)720,framerate=30/1’ ! nvdsosd ! nveglglessink

H264parse is not needed.

Hi This command can work. Thanks a lot
But I still not understand why H264parse is not needed although it works on Jteson nano.Could you explain more?

nvv4l2decoder has some small difference in Jetson and dGPU.

OK I decide to use uridecodebin to avoid the unexpected issue

Can you share your pipeline? for receiving RTSP and running inference on in.

Hi below is my pipeline I didn’t do inference on it
gst-launch-1.0 --gst-debug-level=4 uridecodebin uri=rtsp://admin:yd1008610086@192.168.1.106:554/Streaming/Channels/101 ! nvvideoconvert ! ‘video/x-raw(memory:NVMM),format=(string)RGBA,width=(int)1280, height=(int)720,fFramerate=30/1’ ! nvdsosd ! nveglglessink