Output of DeepStream inference is stuttered

I’m running AI-NVR with RTSP stream from an IP camera, Tapo C510w.
But output via DeepStream inference is stuttered as below.

It always duplicated, even if getting an output from another device in same LAN with Jetson.
The below video is overlayed a result of VLC Media Player on Windows PC.

What should I do to get smooth inferenced output?

Livestream on webUI of VST seems smoothly as below.

And as below video, RTSP stream from the IP cam is captured and showed fine, with ffplay command.


So I think there are no issue connecting between the IP cam and Jetson.

My environment is below.
Jetson AGX Orin Devkit 32GB / JetPack 6.0DP / Tapo C510w

Best regards,

Additional:
I’ve faced same symptom on local DeepStream application.
I’ve asked that in below forum.

Seems it is related with the player. Can you playback it with GStreamer command line? Seems we need set larger latency for the player. So the player can playback it smoothly.

Hi, @kesong

Thank you for your reply.

Seems it is related with the player. Can you playback it with GStreamer command line? Seems we need set larger latency for the player. So the player can playback it smoothly.

OK, I want to try.
But what command should I run?
Should I config “gst_pipeline_set_latency” or “min-threshold-time”?
https://gstreamer.freedesktop.org/documentation/gstreamer/gstpipeline.html?gi-language=c#gst_pipeline_set_latency
https://gstreamer.freedesktop.org/documentation/coreelements/queue.html?gi-language=c#queue:min-threshold-time
I know I should learn GStreamer fundamental, but we must solve this issue immediately because we must prepare a MMJ solution for a big exhibition on this May.
Please tell sample command to adjust latency of GStreamer pipeline?

I really appreciate your kindly support.

Best regards,

Please use below command line to check if there is any stutter. Below command line will display the video ASAP when received the video. Please change the RTSP URI to your own:
$ gst-launch-1.0 rtspsrc latency=10000 location=rtsp://10.19.225.209/media/video1 ! decodebin ! nv3dsink sync=false qos=false

Please use below command line to check if there is any stutter. Below command line will display the video by delay 10 seconds:
$ gst-launch-1.0 rtspsrc latency=10000 location=rtsp://10.19.225.209/media/video1 ! decodebin ! nv3dsink

Hi, @kesong

Thank you for your kindly instruction.

I tried commands below, and attached video of results.

$ gst-launch-1.0 rtspsrc latency=10000 location=rtsp://10.19.225.209/media/video1 ! decodebin ! nv3dsink sync=false qos=false

$ gst-launch-1.0 rtspsrc latency=10000 location=rtsp://10.19.225.209/media/video1 ! decodebin ! nv3dsink

I’m sorry for there ware no improvement.
There ware still stuttering in both results.
So I think cause of this problem is within DeepStream pipeline, not player.

Best regards,

Can you have a try with run $ ./clocks.sh --max before run your application?

clocks.sh (1.8 KB)

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.