当前位置:网站首页>What is the reason why the video cannot be played normally after the easycvr access device turns on the audio?
What is the reason why the video cannot be played normally after the easycvr access device turns on the audio?
2022-07-05 18:05:00 【Tsingsee green rhino video】
EasyCVR It is the video management platform with the widest access protocol , In addition to the standard protocol GB28181、RTSP/Onvif、RTMP etc. , It also supports the private agreement of the manufacturer and SDK, Like Haikang Ehome、 The sea, SDK、 Dahua SDK etc. . The platform supports massive video convergence and management , Based on cloud edge end integration architecture , Powerful data access 、 Processing and distribution capabilities , Functionally , It can provide live video 、 Cloud video 、 Cloud storage 、 Video retrieval and review 、 Intelligent alarm 、 Platform cascading 、 Intelligent analysis, etc .
We found in our tests that ,EasyCVR After the access device of turns on the audio , There is a situation that cannot be played , So we checked this .
Analyze the causes during troubleshooting , It's because the program doesn't parse the audio data sent by the device .
Add the following reference code , Set channel audio parameters , Pass it to the device to play , Then in the callback data sent by the device , Analyze the specific audio and video data , Then transcode and play .
multi := utils.Conf().Section("ehome").Key("enable_realplay_multi_port").MustInt(0)
if multi == 0 {
enableEHomeChannel(channel, devID, 1, false)
return enableEHomeChannel(channel, devID, 0, false)
} else {
playPortPoolLock.Lock()
defer playPortPoolLock.Unlock()
port := setPort(devID, channel, 1, 0)
enableEHomeChannelV2(channel, devID, 1, port, false)
port = setPort(devID, channel, 0, 0)
return enableEHomeChannelV2(channel, devID, 0, port, false)
}
Test the playback again , At this time, the video can be played normally .
EasyCVR The platform can be used in complex network environment , Gather all kinds of scattered video resources in a unified way 、 Integrate 、 centralized management , Realize the authentication management of video resources 、 Read on demand 、 Network wide distribution 、 Intelligent analysis, etc , around “ Video convergence 、 Data fusion 、 Share, share ” principle , Empower video capabilities to various industries and fields , Meet the needs of diversified business scenarios .
边栏推荐
- Sophon base 3.1 launched mlops function to provide wings for the operation of enterprise AI capabilities
- 消除`if()else{ }`写法
- 小白入门NAS—快速搭建私有云教程系列(一)[通俗易懂]
- Data access - entityframework integration
- Leetcode exercise - 206 Reverse linked list
- Crontab 日志:如何记录我的 Cron 脚本的输出
- 第十届全球云计算大会 | 华云数据荣获“2013-2022十周年特别贡献奖”
- Record a case of using WinDbg to analyze memory "leakage"
- 隐私计算助力数据的安全流通与共享
- How to solve the error "press any to exit" when deploying multiple easycvr on one server?
猜你喜欢
Star Ring Technology launched transwarp Navier, a data element circulation platform, to help enterprises achieve secure data circulation and collaboration under privacy protection
图扑软件数字孪生 | 基于 BIM 技术的可视化管理系统
EPM related
Find the first k small element select_ k
To solve the stubborn problem of Lake + warehouse hybrid architecture, xinghuan Technology launched an independent and controllable cloud native Lake warehouse integrated platform
第十一届中国云计算标准和应用大会 | 云计算国家标准及白皮书系列发布 华云数据全面参与编制
Tencent music launched its new product "quyimai", which provides music commercial copyright authorization
Sophon autocv: help AI industrial production and realize visual intelligent perception
分享:中兴 远航 30 pro root 解锁BL magisk ZTE 7532N 8040N 9041N 刷机 刷面具原厂刷机包 root方法下载
「运维有小邓」用于云应用程序的单点登录解决方案
随机推荐
Disorganized series
Record a case of using WinDbg to analyze memory "leakage"
Size_t 是无符号的
「运维有小邓」用于云应用程序的单点登录解决方案
IDC report: Tencent cloud database ranks top 2 in the relational database market!
What are the changes in the 2022 PMP Exam?
ITK Example
星环科技重磅推出数据要素流通平台Transwarp Navier,助力企业实现隐私保护下的数据安全流通与协作
较文心损失一点点性能提升很多
Generate XML schema from class
Sophon CE社区版上线,免费Get轻量易用、高效智能的数据分析工具
职场进阶指南:大厂人必看书籍推荐
Check namespaces and classes
Cmake tutorial step5 (add system self-test)
Penetrate the whole intranet through socks agent
图像分类,看我就够啦!
Can communication of nano
Xiaobai getting started with NAS - quick building private cloud tutorial series (I) [easy to understand]
Sophon KG升级3.1:打破数据间壁垒,解放企业生产力
Tkinter window preload