4K ip camera Latency issues

Hi @an-ron

The bandwidth consumption of a 4k IP camera, at its maximum quality, varies between 12000-20000 Kbps, therefore the average consumption is usually about 15 Mbps so this is not the problem. I have some 30 Mbps connections and transmit 4k IP cameras without problem at their maximum data rate.

The PC you indicate should be able to view the live camera without problems, but it all depends on how you are streaming. For example, through a web browser, most 4k IP cameras fail to offer a fluid image without latency, I never use the web browser except to configure the camera.

I always use dedicated software (IVMS-4200 from Hikvision or DSS Express from DAHUA), since they are specific software designed for streaming. With these two softwares you should be able to see the live image without latency, with small adjustments depending on your PC.

If you want to use Qgroundcontrol via rtsp, your PC is not enough, to view a 4k IP camera in its maximum quality through Qgroundcontrol you need a much more powerful PC. I myself created a post in this forum to find out why Qgroundcontrol could not transmit with the same latency as the third-party software that I indicated before.

My conclusion was clear, through third-party software, even using gstreamer directly via the command line in CMD, I can view the 4k IP cameras without latency at their maximum quality with less powerful PCs, but not in qgroundcontrol.

I thought it was a problem in the pipeline, but I changed my PC to a much more powerful one with Nvidia GeForce RTX 3050i graphics and the problem was resolved, now in Qgroundcontrol I view all my 4k IP cameras from different manufacturers at their highest quality. So I understand that due to the construction structure of Qgroundcontrol, a very powerful processor and good graphics are needed to achieve quality streaming without latency.

Regarding your question about GOP, simply means Group of Pictures. The group of pictures (GOP) structure is the sequence in which frames are placed within a video stream. The GOP structure always includes intra-coded frames (I-frames) and predictive coded frames (P-frames), but it can also include bi-directionally predictive coded frames (B-frames).

This setting should ALWAYS be set to the same value as the camera’s frame rate. If you are adjusting the frame rate the GOP should automatically adjust itself. If this is not the case, adjust it manually.

With dynamic Group of Pictures (GOP), the interval between I-frames is adjusted dynamically, based on the amount of the motion in the scene. I-frames contain the whole scene and are usually larger than P-frames which only contain changes compared to the previous frame. In scenes with limited or no motion, very few new I-frames need to be sent, so the overall savings in the bitrate and bandwidth are considerable, while still maintaining the required level of detail. The GOP length of the compressed video is adjusted in real-time, according to the amount of motion.

Best regards