At fist latency was very low and it worked okay but latency increases as time goes by.
When I use test-launch with single camera without nvcompositor there isn’t increasement.
It doesn’t depend on number of cameras, I tried it with few cameras and single camera but the phenomenon was same.
Also I checked stream from the IP camera but there wasn’t latency increasment.
What is the reason for latency increasement an what can I do to keep the latency?
Hi,
Please share which release you are using. And for further check, you may try videotestsrc, use USB camera to try v4l2src, or use Bayer camera to try nvarguscamerasrc. See if the issue is seen with other types of sources.
Hi,
I’m using 1.16.3 found by gst-inspect-1.0 --gst-version.
I don’t have usb or bayer right now, I can try with videotestsrc but how can I check latency with that?
I applied vic frequency as maximum and I’m testing it now. If it resolve this problem I’ll let you know.
WARNING: erroneous pipeline: could not link comp to nvvconv0, comp can't handle caps video/x-raw, format=(string)RGBA, width=(int)3840, height=(int)2160, framerate=(fraction)20/1
Hi,
I tested with udpsink. It seems like increasement of latency doesn’t occur in upd communication.
I’m sending stream to web server which only can take rtsp not rtp.
In this case, is there something I can do?
Can I send udp stream with gst-rtsp-server?
Hi,
The issue seems to be in synchronization mechanism in gstreamer. In gst-launch-1.0, we can set sync=0 to disable it, but I am not sure how to disable it in test-launch. This would need other users to share experience.
Hi,
I just found that thre IDR frame of nvv4l2h264enc was the problem.
When I use default IDR frame frquency there wasn’t increasment of latency.
Thank you for all your help!
By any chance, do you have any recommandation for the key frame configuration?
Hi,
The default IDR interval is 128 and this is a bit larger for streaming. It may be set to 60, 30 , or 15. So that when certain frames are corrupted it does not last for seconds.
And by default IDR and I frames are enabled. You may also try IDR only.