we use Jetson AGX Orin device to receive Network video streaming,we test the delay are130ms,This delay is a bit high, can you lower it
I use DISPLAY=:1 gst-launch-1.0 uridecodebin uri=‘rtsp://192.168.2.107:554/12’ ! nvvidconv ! video/x-raw ! xvimagesink sync=0 to receive Network video streaming and display it.
I test the delay was 130ms.
data are as follows:
I’ve optimized the front camera delay,it was 48ms
could you please Optimize back-end decode display delay
thanks!
Hi,
Please set to environment variable:
$ export GST_DEBUG=*FACTORY*:4
And check if hardware decoder is selected by uridecodebin
Hi,
Please refer to the prints to construct pipeline instead of using uridecodebin. So that you can set the property to nvv4l2decoder:
enable-max-performance: Set to enable max performance
flags: readable, writable
Boolean. Default: false
And please try to enable:
disable-dpb : Set to disable DPB buffer for low latency
flags: readable, writable
Boolean. Default: false
Enabling disable-dpb
can reduce latency but certain stream may not be well decoded. Please try and check if your source can be well decoded.
Hi,
how to construct pipeline?
Enabling disable-dpb?
Can you send me a direct order?
Hi,
The command may very due to the camera source. Please refer to examples in user guide and do trials:
Accelerated GStreamer — Jetson Linux Developer Guide documentation
is this?
DISPLAY=:1 gst-launch-1.0 uridecodebin uri=‘rtsp://192.168.2.107:554/12’ ! nvvidconv ! video/x-raw ! xvimagesink sync=0 enable-max-performance=1 disable-dpb=1
Could you take a look? We’re in a bit of an emergency
I have use the follow,the latency not improvement,still is 130ms
DISPLAY=:1 gst-launch-1.0 uridecodebin uri=‘rtsp://192.168.2.107:554/12’ enable-max-performance=1 disable-dpb=1 ! nvvidconv ! video/x-raw ! xvimagesink sync=0
Hi,
Please try the pipeline like:
gst-launch-1.0 rtspsrc ! rtph264depay ! h264parse ! nvv4l2decoder enable-max-performance=1 disable-dpb=1 ! 'video/x-raw(memory:NVMM)' ! nv3dsink
This is optimal and if the latency is still 130ms, there may not be further room for improvement.
rtsp://192.168.2.107:554/12How do I write this? No ip address
Hi,
Please try h265:
gst-launch-1.0 rtspsrc location="rtsp://192.168.2.107:554/12" ! rtph265depay ! h265parse ! nvv4l2decoder enable-max-performance=1 disable-dpb=1 ! 'video/x-raw(memory:NVMM)' ! nv3dsink sync=0
still 130ms
What do I see how long it took to decode and display?
Front to encode and rtsp send is 48ms
back-end decode and display Time consuming 82ms?
Hi,
Your analysis looks correct. The command is optimal so there’s no further room for improvement.
What do I see how long it took to decode and display?