Detailed explanation of slow optimization steps for video aggregation/video cloud storage/video surveillance management platform EasyCVR distribution rtsp stream start-up

Security video surveillance/video centralized storage/cloud storage/disk array EasyCVR platform has strong scalability, flexible video capabilities, and easy deployment. It supports mainstream standard protocols such as national standard GB28181, RTSP/Onvif, RTMP, etc., as well as supports manufacturer's private protocols and SDK access, including SDK for Hikvision Ehome, HaiDayu and other devices. The platform has both traditional security video surveillance capabilities and the ability to access AI intelligent analysis. It has strong scalability and flexible video capabilities, and can externally distribute RTMP, RTSP, HTTP-FLV, WebSocket-FLV, HLS, WebRTC and other video streams. .


There is on-site feedback from customers: the RTSP stream distributed after accessing the infrared camera RTSP stream address will start much slower than the RTSP stream distributed by the camera under normal circumstances. After receiving user feedback, technical staff immediately began to solve the problem.

1. It can be seen from the user's site remotely: the rtsp stream of the infrared camera takes 6-8s to play normally, while the normal playback time of the rtsp stream of other devices is about 1-2s.

2. First determine whether it is a problem with the video source stream, so first map the live video stream to the external network for testing;

3. After local testing, it was found that it was indeed a problem with the video source stream. It took 9 minutes to generate 54 key frames. Normally, according to this configuration, there should be one key frame every 2 seconds. In 9 minutes, there were about 270 key frames, but there were only 50 on site. The same Duration, there are too few keyframes on the user side, resulting in slow playback of the picture.

4. After finding the problem, you only need to change the live i-frame interval to be smaller, and the broadcast can start normally.


EasyCVR, a video centralized storage/cloud storage/video surveillance management platform, can centrally gather, integrate and centrally manage various scattered video resources in a complex network environment to achieve authentication management, on-demand access, and comprehensive video resource Internet distribution, intelligent analysis, etc. The AI ​​intelligent/big data video analysis EasyCVR platform has been widely used in construction sites, factories, parks, buildings, campuses, warehousing and other scenarios. Interested users can go to the demo platform for experience or deployment testing.

Guess you like

Origin blog.csdn.net/EasyNVS/article/details/132984480