Why is the public network snapshot not displayed when the security video surveillance aggregation platform EasyCVR accesses Ehome alarm?

The intelligent video surveillance convergence platform TSINGSEE Qingxi Video EasyCVR has strong scalability, flexible video capabilities, and easy deployment. The mainstream standard protocols that can be supported include national standard GB28181, RTSP/Onvif, RTMP, etc., and support manufacturers' private protocols and SDK access, including The SDK of Haikang Ehome, Haidayu and other equipment, etc., and the video surveillance management platform TSINGSEE Qingxi EasyCVR can distribute video streams in RTSP, RTMP, FLV, HLS, WebRTC and other formats. Based on the cloud-edge-end integrated architecture, the platform has powerful data access, processing and distribution capabilities.

According to user feedback, the security video surveillance aggregation platform EasyCVR is connected to the Ehome device, and the platform is deployed on the public network to test the alarm. When an alarm message is triggered, the Ehome alarm information is checked from the video surveillance aggregation platform EasyCVR. The snapshot is obtained, as shown in the following figure:

In response to the feedback, we immediately analyze and troubleshoot. There is an alarm message on the video surveillance integrated management EasyCVR platform, but the picture cannot be displayed. There are two points to be analyzed:

1) Check whether the path is correct

As you can see in the above code, the obtained I frame data is converted into a picture and saved to the database, and there is no problem with saving the path written in the database.

It can be seen from the scene that the security monitoring platform EasyCVR starts with a service, while the local test starts with a process, and the path of the alarm image found by the two is incorrect.

2) Check whether the stream is not pulled, and the I frame cannot be obtained

When there are I frames in the streaming, the video surveillance integrated management EasyCVR platform will trigger a message to convert the program into a picture.

In the process of using ehome to debug, it is not found that the I frame is obtained but the platform does not trigger it.

To sum up, the problem that the alarm snapshot cannot be obtained is caused by the path.

Solution:

Modify to the correct path. First obtain the path of executing the program, and then splice with the alarm path to generate a completed path, that is, the real path to save the alarm picture.

After the modification is as follows:

The video capabilities provided by the video surveillance integrated management platform EasyCVR include: video surveillance live broadcast, cloud recording, cloud storage, video retrieval and playback, alarm reporting, platform cascading, PTZ control, voice intercom, electronic map, H.265 Automatic transcoding, etc., also has the ability to access AI intelligent analysis. TSINGSEE Qingxi video security monitoring platform can support 1, 4, 9, 16 screen windows to play, play multiple video streams at the same time, and also support video timing rotation. Interested users can go to the demo platform for experience or deployment test.

Guess you like

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