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

某些摄像头流无法播放 #227

Closed
ForMyHeart opened this issue Jul 19, 2022 · 6 comments
Closed

某些摄像头流无法播放 #227

ForMyHeart opened this issue Jul 19, 2022 · 6 comments

Comments

@ForMyHeart
Copy link

ForMyHeart commented Jul 19, 2022

image

播放器配置useMSE为true时出现,但去掉该配置后播放单路视频浏览器占用内存可达到3500M,不满足多屏播放需求,希望作者能解惑,配置useMSE后就不支持播放H265编码了吗?

@bosscheng
Copy link
Collaborator

目前浏览器还不支持H265的硬解码,只能软解。我看这报错,应该是老版本的,你可以升级到最新版本看下,内存应该不会占用这么大了。

目前也就360浏览器支持H265的硬解码,或者在edge里面购买独立的H265解码。

可以了解下:https://jessibuca.com/pro.html#windows%E7%B3%BB%E7%BB%9F%E4%B8%8B-360%E6%B5%8F%E8%A7%88%E5%99%A8%E5%8F%AF%E6%92%AD%E6%94%BE%E4%BD%BF%E7%94%A8mse%E5%8A%A0%E9%80%9F%E8%A7%A3%E7%A0%81h265%E3%80%82

@ForMyHeart
Copy link
Author

目前浏览器还不支持H265的硬解码,只能软解。我看这报错,应该是老版本的,你可以升级到最新版本看下,内存应该不会占用这么大了。

目前也就360浏览器支持H265的硬解码,或者在edge里面购买独立的H265解码。

可以了解下:https://jessibuca.com/pro.html#windows%E7%B3%BB%E7%BB%9F%E4%B8%8B-360%E6%B5%8F%E8%A7%88%E5%99%A8%E5%8F%AF%E6%92%AD%E6%94%BE%E4%BD%BF%E7%94%A8mse%E5%8A%A0%E9%80%9F%E8%A7%A3%E7%A0%81h265%E3%80%82

大佬 同样的流 我用你http://jessibuca.monibuca.com/mobile-fullscreen.html提供的demo播放 浏览器内存只有600m左右,但我用git仓库中dist里面最新的代码 同流播放峰值还能达到2400m 是我配置问题吗?很费解

@ForMyHeart
Copy link
Author

问题已解决 forceNoOffscreen设置为false后内存过大

@bosscheng
Copy link
Collaborator

Offscreen 会占用这么大的内存嘛

@ForMyHeart
Copy link
Author

目前看 就是该参数导致同流内存增加。浏览器总内存从稳定600m增加到了峰值2500m

@bosscheng
Copy link
Collaborator

只能说太坑了。。。。
看来这个实验性的特性还是有问题的。

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

2 participants