How does the video surveillance/video aggregation/security video surveillance platform EasyCVR change the raw format of the default snapshot to jpg/base64 format?

Video surveillance/video aggregation/security video surveillance platform 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. Video cloud storage EasyCVR platform can gather, integrate and centrally manage all kinds of scattered video resources in a complex network environment, and realize authentication management of video resources, on-demand access, network-wide distribution, intelligent analysis, etc.

In order to meet the needs of users for integration, calling, and secondary development, the video surveillance service platform EasyCVR also provides a wealth of API interfaces for users to use. Users in need can refer to the official API documents.

According to user feedback, the snapshot is called through the interface of EasyCVR (/api/v1/devices/getsnapurl), and the raw file is returned, while the snapshot returned by the previous platform is in base64 format or jpg format.

This is because in the old version, we used back-end transcoding, using ffmpeg to convert I-frames into pictures, and then passed the picture data to the front-end. This method will take up server performance, so in the new version, we adopt the front-end transcoding method, and hand over the work of converting I frame snapshots to the front end, and the back end only saves I frames. When the front end needs a snapshot, it obtains the I frame information and converts it into a snapshot, which can greatly reduce the performance consumption of the server.

If users need to use the snapshot acquisition mode of the old version of the platform, they can also modify it through the following steps, changing the front-end decoding to back-end decoding.

Method: Change the snap_mode parameter in the easycvr.ini configuration file to 0, save and restart the service, so that the snapshot will become jpg or base64 format.

Security monitoring system/video monitoring convergence platform EasyCVR has high openness and strong compatibility, and can realize video live broadcast, video recording, playback, retrieval, cloud storage, alarm reporting, voice intercom, electronic map, cluster and platform cascading, etc., and can support Flexible expansion and third-party integration. In terms of video monitoring, the EasyCVR platform can support multi-screen display of the screen, view any channel video, and support video timing patrol. The platform has been applied in a large number of offline scenarios, such as smart factory, smart construction site, smart security, smart campus, smart water conservancy, etc. Interested users can go to the demonstration platform for experience or deployment testing.

Guess you like

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