This is why I always use `mpv https://www.youtube.com/watch?v=...` instead of clicking on Youtube links. It bypasses all the Javascript and plays the raw video stream. (youtube-dl needs to be installed.)
If you have mpv and youtube-dl, you can just `mpv http://youtube.com/whatever` and it'll play. Much better performance than anything in browser from my experience.
I just have a keybinding for `mpv $(xsel -o)` which plays whatever url I have in my clipboard in mpv.
there are browser addons that directly pass the current site's URL to mpv, which in turn uses youtube-dl to fetch the contents. so it's pretty much 1-click playback.
That's one more reason I would prefer that sites provide a direct link to the video instead of forcing whatever plugin or js-thing or other crappy UI on me.
For youtube, I always yget the videos in /tmp and watch using mplayer. I use the speed-up often.
Yes, I have a browser plugin to open youtube links in mpv, but it's been unusable recently with constant buffering. I dont even fetch them at best quality.
I find myself increasingly frequently using 'youtube-dl' to grab clips, advantages being that youtube sometimes only buffers a little bit before stopping and this way I don't need to care about keeping tabs open or codecs.
Everything always plays fine with VLC and I can mess with the playback speed by simply pressing '[]'.
Should probably automate this. Maybe independently of browsers, just sniff my own traffic and MITM myself (request goes to youtube-dl, browser gets a page that closes itself immediately).
It is even possible without mods, like [1]. This obviously assumes the prerecorded video (and pretty large datapacks), but it does work even with servers...
reply