Downloading videos via yt-dlp and playing via MPV will not take all the RAM. And Firefox with uBlock Origin can be set to hard mode to block scripts, or even nightmare mode for a barebones no JS experience.
Do you just drag and drop into mpv or how does it work? With youtube seemingly trying to prevent the use of adblockers, I have to look for alternatives ahead of time.
I must admit I copy paste the link to the terminal, so it’s not a seamless experience. I don’t watch enough videos to have done anything other than write a wrapper script with my preferred settings for youtube videos and to convert invidious links to youtube links.
I just tried running mpv --idle=yes --force-window=yes from the terminal and drag a youtube link to the window. It plays like it should. yt-dlp is installed locally for my user in ~/.local/bin and that directory is appended to the PATH environment variable. I also have yt-dlp symlinked to youtube-dl for mpv to pick it up. I guess what’s missing is my preferred options for youtube videos, which I could set up in ~/.config/mpv/mpv.conf. Everytime some site breaks, you run yt-dlp -U to update and cross your fingers.
Also, I’ll just mention that it all means nothing as soon as you open a browser window. Then all your RAM is gonna be used up anyway.
Can I introduce you to Lynx?
Sure, play your youtube videos on Lynx.
We all know that’s one of the main things people use browsers for, that’s not work, these days. ;)
Downloading videos via yt-dlp and playing via MPV will not take all the RAM. And Firefox with uBlock Origin can be set to hard mode to block scripts, or even nightmare mode for a barebones no JS experience.
Depends on how big the video is and how large you have your mpv buffer set to ;)
A buffer of upto 1 minute will always work fine. MPV defaults are fine. Browser will always be worse, no matter what. (Playing to the bait…)
I oftentimes play youtube videos in mpv.
deleted by creator
Do you just drag and drop into mpv or how does it work? With youtube seemingly trying to prevent the use of adblockers, I have to look for alternatives ahead of time.
I must admit I copy paste the link to the terminal, so it’s not a seamless experience. I don’t watch enough videos to have done anything other than write a wrapper script with my preferred settings for youtube videos and to convert invidious links to youtube links.
I just tried running
mpv --idle=yes --force-window=yes
from the terminal and drag a youtube link to the window. It plays like it should.yt-dlp
is installed locally for my user in~/.local/bin
and that directory is appended to thePATH
environment variable. I also haveyt-dlp
symlinked toyoutube-dl
for mpv to pick it up. I guess what’s missing is my preferred options for youtube videos, which I could set up in~/.config/mpv/mpv.conf
. Everytime some site breaks, you runyt-dlp -U
to update and cross your fingers.Honestly, I don’t even use Lynx