I used the following Gstreamer pipeline on Orin to perform hard and soft decoding of RTSP separately, and found that the delay is about the same, around 260ms; And I tried to use ffmpeg decoding on x86 notebook win10 system, and the result was that the delay was only 140ms, which is a big difference.
Question: Why is the delay of hard and soft decoding similar on Orin? How to optimize the hardware decoding to reduce the latency to the same level as the x86 notebook?
When the above pipeline is opened with opencv on orin, the delay is very large (tens of seconds), and it will accumulate over time, but this does not happen on an x86 notebook. What should I do?
include “opencv2/imgcodecs.hpp” include “opencv2/highgui.hpp” include “opencv2/stitching.hpp”
Hi @1443660560 , you could try using the nvidia gstreamer elements for decoding and video convert instead of avdec_h264 ! videoconvert you could use nvv4l2decoder ! nvvideoconvert. Also you could add a queue with the properties max-size-buffer=1 and leaky=2 before the appsink