当前位置:网站首页>How can easycvr access the Dahua CVS video recorder and download a video file with an empty name?

How can easycvr access the Dahua CVS video recorder and download a video file with an empty name?

2022-06-23 08:12:00 Tsingsee green rhino video

EasyCVR Video convergence cloud service is TSINGSEE Qingxi video is a video monitoring platform that supports the most comprehensive access protocol , In addition to the standard protocol ( National standard GB/T28181、Onvif、RTSP Agreements, etc ), It also supports the private agreement of the manufacturer ( The sea, SDK、 Dahua SDK、Ehome Agreements, etc ).

In performance ,EasyCVR Excellent video transcoding 、 Play 、 videotape 、 Look back 、 Cascade and other capabilities , It is also able to pass the video through RTMP Push to Ali agreement 、 Tencent and other public cloud manufacturers in the video services , The usage scenarios are also very rich .

In the near future , We received feedback from users ,EasyCVR Access to Dahua CVS video recorder , The live video broadcast and video review are normal , But the video download failed .

Therefore, the technicians checked the problem at the first time . During the investigation, it was found that ,EasyCVR When downloading videos , The downloaded file name is empty , Pictured :

meanwhile , The open IP Also wrong : There are two “//”, As shown in the figure :

After summarizing these questions , The technician carefully checked the code , The front-end channel attribute is found to be empty , And “ File name not specified ”, Pictured :

The attribute of the channel is through Dahua SDK obtain . To verify that the channel name is not empty , The technician wrote a small program alone , To test Dahua SDK Whether the obtained file name is empty , Pictured :

Found by testing , Through Dahua SDK The obtained file name is indeed empty data , As shown in the figure :

And normally , Through Dahua SDK The correct file name obtained should be as shown in the following figure :

So come to the conclusion , The reason for the above problem is that the Dahua interface cannot obtain the file name .

So we should solve the above problems , You need to correct the problem that there is no file name . Add a name value exactly like Dahua in the code .

Get to use other interfaces ( Other interfaces are not verified , Using the same name ), The following figure shows the implementation code :

summary : appear “//” The problem is that there is no channel name .“//” In the middle is the channel name .

solve : By customizing a video file name , You can solve the problem that there is no file name for downloading videos .

EasyCVR The function of is gradually improving , At present, as a video intelligent analysis platform , In the field of face recognition and license plate recognition, there are also relatively perfect R & D achievements , And for the display of new demand is also constantly promoting research and development . You can do it in TSINGSEE Download the latest version directly from the official website of Qingxi video for actual deployment test .

We will share information about... In our articles from time to time EasyCVR Function development and optimization of 、 Code tricks 、FAQ Problem solving 、 Scenario scheme, etc . If the EasyCVR Interested in , Welcome to pay attention to our update , Or leave a message to interact with us .

原网站

版权声明
本文为[Tsingsee green rhino video]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/01/202201121854510544.html