Do you use a linux distro? Does your pc have the compute power of a 80's toaster? Mine sure does! So lets make watching your favorite youtube videos a cpu friendly task.
What do you need for this beauty?
- mpv
- yt-dlp
- ffmpeg
- Configure mpv to use yt-dlp as default for youtube videos. If your not sure how to do this, please use the install prerequisite script.
Well you can blindly trust me and run the following command with sudo.
sh -c "$(curl -fsSL https://raw.githubusercontent.com/HFMorais/low-resource-youtube-playtime/main/install-prerequisites.sh)"
Now just use the binary, simply call it in your terminal of choice.
Usage: command [-h] [-q quality] [--simulate] <URL>
-h (--help): Print this help message.
-v (--version): Print the version of the program.
-q (--quality): Specify the video quality (e.g., 720, 1080, 360). If the specified quality is not available, 720 and upwards will be used.
--simulate: Simulate the command without playing the video (debug only).
<URL>: URL of the video to be played.
My favorite way of using it, is to create a keyboard shortcut and just have the video url in the clipboard.