bilibili-linux icon indicating copy to clipboard operation
bilibili-linux copied to clipboard

add vaapi flags as default to enable HEVC and H264(AVC)

Open AnterCreeper opened this issue 4 months ago • 0 comments

on X11 use these: --use-gl=egl --enable-features=PlatformHEVCDecoderSupport --disable-features=UseChromeOSDirectVideoDecoder

should work with old i965 vaapi driver(not tested with intel-media-driver, may need add LIBVA_DRIVER_NAME env) wayland may need higher backend chromium version.

For someone from future, If read this, if chrome 122 used by electron someday, use these below:(for X11) --use-gl=angle --enable-features=PlatformHEVCDecoderSupport,VaapiVideoDecodeLinuxGL

AnterCreeper avatar Mar 05 '24 13:03 AnterCreeper