Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于摄像头带音频时播放卡在第一帧 #780

Open
fengbozs opened this issue Apr 11, 2023 · 5 comments
Open

关于摄像头带音频时播放卡在第一帧 #780

fengbozs opened this issue Apr 11, 2023 · 5 comments

Comments

@fengbozs
Copy link

你好,我在使用flv.js解码海康威视摄像头视频时,如果摄像头不带音频,一切正常,当配置为复合流,音频格式配置为AAC后,播放会卡住第一帧,无法播放,用官方在线demo沟通hasAudio测试也无法播放,请问有可能是什么造成的呢,视频fps为25,音频aac配置为16kHz,采样率为32kbps

@PigXiuYang
Copy link

请问问题解决了吗?我也遇到了这个问题。

@songbiaoself
Copy link

请问解决了吗?遇到类似的问题

@PigXiuYang
Copy link

@songbiaoself 如果你用的是海康的安防平台。可以找海康的人员要下两个软件更新包。至少是我更新完后基本上是正常了。
image

@songbiaoself
Copy link

songbiaoself commented Jan 31, 2024

@PigXiuYang 请问这两个软件包是起什么作用,我现在没有走海康平台,而是走的海康的rtsp流媒体协议,后端用javacv处理的

@PigXiuYang
Copy link

@songbiaoself 这考虑就有点多了,我也不是专业的。你可以看下你们的音频编码是不是浏览器兼容的
这是兼容表:https://privacycheck.sec.lrz.de/active/fp_cpt/fp_can_play_type.html
chrome的对acc音频格式兼容好像就audio/mp4; codecs="mp4a.40.2"audio/mp4; codecs="mp4a.40.5"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants