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

linux 如何开启hevc硬解码 #59

Open
Swing945 opened this issue Aug 14, 2023 · 3 comments
Open

linux 如何开启hevc硬解码 #59

Swing945 opened this issue Aug 14, 2023 · 3 comments

Comments

@Swing945
Copy link

hi,朱老师,感谢您在chrome hevc方面做出的巨大贡献
请问hevc硬解码在linux环境打通了么,需要加哪些参数,有哪些依赖条件,所需版本信息和显卡信息
现在测试ubuntu上115 chrome video acceleration information里没有h265的profile,不知道是什么原因

@Swing945 Swing945 changed the title linux 如果开启hevc硬件吗 linux 如果开启hevc硬解码 Aug 14, 2023
@Swing945 Swing945 changed the title linux 如果开启hevc硬解码 linux 如何开启hevc硬解码 Aug 14, 2023
@StaZhu
Copy link
Owner

StaZhu commented Aug 14, 2023

Linux只支持VAAPI,而且得加flag才能开启,当然开启了也不一定能跑的起来….,试试这个吧:--enable-features=VaapiVideoDecoder,VaapiVideoDecodeLinuxGL

如果需要开箱即用的可以下repo里带了软解兜底的Chromium

@Swing945
Copy link
Author

--enable-features=VaapiVideoDecoder,VaapiVideoDecodeLinuxGL
会提示 VaapiVideoDecoder: failed Initialize()ing the frame pool
如果加上--disable-features=UseChromeOSDirectVideoDecoder不会报这个错误
但是没有走vaapi解码,走的是vda解码

@lgdsgd2000
Copy link

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