I am using the following environment
Device: Jetson NX
JetPack: 4.6
OpenCV: 4.1.1
GStreamer: 1.14.5
CUDA: 10.2.300
Problem:
I am using GStreamer pipelines to connect to three rtsp camera source and one hdmi camera, push, pull and record them (H264, 1080p30). There are totally 5 nvv4l2h264enc plugins and 7 nvv4l2decoder plugins in these pipelins. The problem is that the ipc camera’s latency is getting higher and higher over time. When removed one encoder/decoder plugin(now 4 nvv4l2h264enc and 7 nvv4l2decoder), the problem disappeared.
So if hardware codec reaches performance bottleneck, or I can do something to improve the performance.
Any help to improve this would be appreciated.
And not sure what sunk plugin you use in the gstreamer pipeline, but please set sync=false to the plugin and try. It is to disable synchronization mechanism in gstreamer frameworks.