91 points · by caution · 6y ago · 38 comments
Works wonders on old and not-so-old hardware that can't play 1080p or 4k in browser.
youtube-dl supports a lot more websites than only YouTube, which makes it (in combination with mpv) a very nice tool that you just put all your videos into.
I thought that was a fight club type secret that we're not supposed to share.
There are browser add ons and apps available which automatically redirect youtube and twitter links to invidious and nitter!
Automatic: https://addons.mozilla.org/en-US/firefox/addon/disable-polym...
The value proposition of the service is in fact excellent for me. I game only sporadically, so investing in a highend gaming PC makes no sense - the hardware outdates too fast, and I anyway prefer to run Linux on my PC. I bought a PS4 but I prefer to play FPS games on a keyboard and mouse, and frankly most times I actually want to play the PS4 after months offline, I need to start with ~30 min worth of system updates before any game is even allowed to start (thanks DRM..)
With Stadia I pay one time fee for each game I want to play. Google offers for that fixed price always the latest, highest-end hardware and OS to play on. Contrast this to having to keep updating my PC hardware and maintaining a Windows installation just for gaming. If only it was working on Linux as well as Windows I would have certainly continued using it.
https://mastransky.wordpress.com/2020/03/03/webgl-and-fgx-ac...
https://mastransky.wordpress.com/2020/06/03/firefox-on-fedor...
At the same time, mpv has been able to play the same videos for years with hardware acceleration. The only reason FF hasn't implemented it was because they were worried about it failing on some systems. Why they couldn't even have enabled it using a flag I don't know.
If you had supported this early, it would've given users nothing but trouble, because of all the bugs. Then again, if nobody supports it, nobody will use it, bugs will not be found and fixed.
There is a library that maps VA-API to VDPAU (their other video acceleration library), but that doesn't support DMA-BUF either.
I wouldn't hold your breath that this would ever be supported. It'll probably be easier to modify Firefox to use NVDEC directly, given that FFMpeg already supports that. But I don't think that'll be easy given their reliance on DMA-BUF for composition.
Edit: not so, see below
ALSA is more widespread on Linux than PulseAudio, and that didn't stop Mozilla from deprecating raw ALSA support for Firefox.
Though, in 2020, its working pretty well for me.