I got the real-time video from my IP camera. But when I tested it by using opencv VideoCapture(), the video is not in real-time, and the delay is accumulating over time.
Thank you very much for you reply. My IP camera is connected with the TX2 by using an Internet cable, not the onboard camera. I built the OpenCV with Gstreamer support and I was able to open the camera, the only problem is that the video is not in real time, the delay is accumulating over time.
Hi,
One performance bottleneck is to do RGBA to BGR conversion via ‘videoconvert’. You shall see improvement by giving I420/NV12 to appsink. In this case you can avoid the SW conversion.
We do see improvement in running the sample and share the information. Also other users can share their experience/suggestion.
Hi DaneLLL,
Thank you very much for your reply! You are right, it seems the bottleneck is ‘videoconvert’. I setup the same environment and code on a server, It runs in real-time.
After I change the code to the following on TX2:
I have the same problem. How can I fix this in windows?
I have a camera that works with RTPS. When I try with opencv in windows, there is a delay of 4-5 seconds. But when I try the same code with opencv on Ubuntu 20, there is a 300ms delay. How can I fix this?