Comment 67 for bug 1424201

Revision history for this message
In , Konstantin (hi-angel-z) wrote :

(In reply to Jean-Yves Avenard [:jya] from comment #54)
> Well, seeing your expertise on the matter, we're of course open to
> contributions.

…and then later the text you mention that I wrong at pretty much everything :) I'd actually like to, but my plan for contributions is busy for, probably, long time. I wanted to get rid of Emacs+Evil in favor of Yi (would take much work, but I suddenly realized: if I'd started it ½ year ago instead of keep complaining of how I tired of Emacs, many things would be different). Then I want to get Compose key working in FCITX, and then tiliing in Enlightenment (the tiling is pretty much broken atm).

> you do realise that hardware decoding without hardware accelerated layer
> (that is what actually display the frame) is rather pointless?

Hm… Well. The problem is that decoded frame is rendered with CPU, right? I'm just speculating here, but when (e.g.) VLC is not fullscreen on X11, and there's compositioning enabled (which gives those effects, like transparency, burning, wobbling, etc), I think every VLC frame have to be copied by CPU to apply effects. Guess what: even 1080 video on vlc (given it is decoded via vaapi) does not give me full CPU load. So if we'd compare, then decoding is, probably, more important than rendering.

> well, that apply to pretty much everything here :)

It would be interesting to hear, why. FWIW, I came from a phoronix comments thread¹ and there was some speculation about why doesn't firefox use existing videoplayer for that. I asked that myself some time ago (and even searched for addons which does replace the player); so, as, turns out, I'm not the only one wondering, I decided to ask.

[1] https://www.phoronix.com/forums/forum/phoronix/latest-phoronix-articles/890996-firefox-49-to-offer-linux-widevine-support-firefox-also-working-on-webp-support