linux-traipu team mailing list archive
-
linux-traipu team
-
Mailing list archive
-
Message #15321
[Bug 1424201]
I've recently spent some time testing the implementations in various
browsers. Chromium implements VA-API but it's disabled in official
builds and fragile, breaking regularly. Webkit uses gstreamer-vaapi and
I've had quality issues with that using both Intel (wrong colours) and
AMD (blur) hardware.
I've seen Mozilla tracks issues for VA-API and VDPAU/NVDEC. Have you
seen libplacebo[1]? It encapsulates the core video rendering used in mpv
in a reusable library. mpv's video acceleration has been stable and
flawless for both VAAPI and NVDEC (and DXVA, FWIW, but I've no
experience with that) for years. In contrast to the browsers' and
gstreamer va-api implementations, I've never had performance, stability
or quality issues with mpv.
In fact, hundreds (thousands?) of Firefox users use several
WebExtensions to have videos played in mpv[2],[3],[4].
I haven't worked with either Firefox or mpv code so I can only speak
from a user's perspective right now. I just thought, it might be worth
to consider implementing libplacebo instead of rolling an own
implementation for va-api and vdpau/nvdec. libplacebo is licensed in
LGPLv2.1.
Note: I initially wanted to post this in #1210726, quoting first
comment:
> This bug will track support for hardware decoding on Linux and the various system available (VA-API, VDPAU, DXVA and others)
>
> There's so many frameworks available, it's hard to keep track!
But this one's locked. If it suits better there, feel free to move this
comment.
[1]: https://github.com/haasn/libplacebo
[2]: https://addons.mozilla.org/en-US/firefox/addon/send-to-mpv-player/
[3]: https://addons.mozilla.org/en-US/firefox/addon/ff2mpv/
[4]: https://addons.mozilla.org/en-US/firefox/addon/play-with/
--
You received this bug notification because you are a member of UBUNTU -
AL - BR, which is subscribed to Chromium Browser.
https://bugs.launchpad.net/bugs/1424201
Title:
Web browsers lacking hardware-accelerated video decoding
Status in Chromium Browser:
Unknown
Status in Mozilla Firefox:
Confirmed
Status in chromium-browser package in Ubuntu:
Confirmed
Status in firefox package in Ubuntu:
Confirmed
Status in chromium-browser package in CentOS:
Unknown
Bug description:
The chromium team has done a great job to totally disable hardware
decoding on Linux.
Even ignoring the GPU blacklist does not enable GPU decoding.
How ever the patch is quite simple and it's already working using this
PPA ( using libVA ) :
https://launchpad.net/~saiarcot895/+archive/ubuntu/chromium-dev
the corresponding patch is here :
http://bazaar.launchpad.net/~saiarcot895/chromium-browser/chromium-
browser.trusty.beta/view/head:/debian/patches/enable_vaapi_on_linux.diff
that would be great if we could have this patch indefault Ubuntu
chromium build, this situation is really sad right now, google use
linux to make chromeOS so chromebook are really good at playing videos
but GNU/Linux chromium is slow at doing it.
To manage notifications about this bug go to:
https://bugs.launchpad.net/chromium-browser/+bug/1424201/+subscriptions