玟茵开源社区知识库

如果您有自己的想法或者金点子,请提交给我们或直接参与项目,在此欢迎各位,您的反馈是我们持续前进的动力。
  1. 首页
  2. 设置文档
  3. 正文

Firefox 打开视频硬解码功能

2023年7月9日 942点热度 0人点赞 0条评论

文章目录[隐藏]

  • Hardware Video Acceleration

Hardware Video Acceleration

This is for Debian 11 / Bullseye

Setup your system and install required packages: https://wiki.debian.org/HardwareVideoAcceleration

Starting around version 95 Firefox has enabled hardware video acceleration via VA-API but still needs to be manually turned on. firefox-esr version 102 is available from the Debian Security repositories for Debian 11 since 2022-09-23.

Enter about:config in address bar:

media.ffmpeg.vaapi.enabled

true

AVC/h.264 HEVC/h.265 works

media.ffvpx.enabled

false

disables firefox internal software decoding of VP8/VP9 and forces hardware decoding

Then launch firefox based on whether you use X11 or Wayland:

X11

MOZ_X11_EGL=1

Wayland/Xwayland

MOZ_ENABLE_WAYLAND=1

e.g. .desktop launcher command for X11 and Mozilla binary:

Exec=env MOZ_X11_EGL=1 /home/user/firefox/firefox

For version 96 and above, the above settings may change.

本作品采用 知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议 进行许可
标签: 暂无
最后更新:2023年7月9日

WenYinOS

这个人很懒,什么都没留下

点赞
< 上一篇
下一篇 >

文章评论

razz evil exclaim smile redface biggrin eek confused idea lol mad twisted rolleyes wink cool arrow neutral cry mrgreen drooling persevering
取消回复

这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理。

COPYLEFT © 2023 玟茵开源社区知识库. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang