Using RTSPS (TLS/SSL) vs. RTSP results in performance/rendering issues

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
dGPU GeForce GTX 1660 SUPER
• DeepStream Version
6.2
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
12.0
• 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)

We’re having problems decoding and rendering an incoming RTSPS stream as compared to a standard RTSP stream.

We can reproduce what we believe is the issue with the following gst-launch command.

gst-launch-1.0 rtspsrc location="rtsps://192.168.0.40:30322/stream-eo" tls-validation-flags=4 latency=100 ! rtph264depay ! queue ! h264parse ! nvv4l2decoder ! nvvideoconvert ! nveglglessink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Got context from element 'eglglessink0': gst.egl.EGLDisplay=context, display=(GstEGLDisplay)NULL;
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsps://192.168.0.40:30322/stream-eo
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
Progress: (request) SETUP stream 0
Progress: (request) SETUP stream 0
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
WARNING: from element /GstPipeline:pipeline0/GstEglGlesSink:eglglessink0: A lot of buffers are being dropped.
Additional debug info:
gstbasesink.c(3003): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstEglGlesSink:eglglessink0:
There may be a timestamping problem, or this computer is too slow.

When testing with our application, we tried setting the sync property to false… not much of a difference.

The video below shows the rendering/throughput issue on the left using gstreamer - and on the right using opencv which seems to work fine. I’m including this in the hopes that someone might recognize the issue.

If anyone has any experience with RTSPS and the gstreamer rtspsrc plugin, Any help would be greatly appreciated.

Regards,
Robert.

Can you monitor the CPU loading and GPU loading while running the pipeline you post?

The GPU loading can be monitored by “nvidia-smi dmon”.

Here is the log taken from the video in question

root@yyj-avikus:/tmp# nvidia-smi dmon
# gpu   pwr gtemp mtemp    sm   mem   enc   dec  mclk  pclk
# Idx     W     C     C     %     %     %     %   MHz   MHz
    0     32     43      -     4      2      0      7   6801   1530 
    0     33     43      -     4      1      0      7   6801   1530 
    0     33     43      -     5      2      0      7   6801   1530 
    0     33     43      -     5      2      0      6   6801   1530 
    0     34     43      -     6      2      0      7   6801   1530 
    0     34     43      -     6      2      0      7   6801   1530 
    0     33     43      -     3      1      0      7   6801   1530 
    0     37     44      -     4      2      0      7   6801   1530 
    0     34     44      -     6      2      0      6   6801   1530 
    0     34     44      -     6      2      0      7   6801   1530 
    0     35     44      -     6      2      0      7   6801   1530 
    0     34     44      -     5      2      0      6   6801   1530 
    0     34     44      -     6      2      0      7   6801   1530 
    0     34     44      -     5      2      0      7   6801   1530 
    0     33     44      -     4      2      0      7   6801   1530 
    0     33     44      -     5      2      0      7   6801   1530 
    0     34     44      -     3      1      0      7   6801   1530 
    0     34     44      -     4      2      0      7   6801   1530 
    0     33     44      -     6      2      0      6   6801   1530 
    0     33     44      -    11      3      0      7   6801   1530 
    0     32     44      -     7      3      0      6   6801   1530 
    0     33     44      -     3      2      0      7   6801   1530

What is the CPU loading?

@Fiona.Chen
application name is test-stream

cc. @prominence_ai

It seems to consume about 20-30%

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

Can you set “sync=0” with the nveglglessink in the pipeline?

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