70
submitted 1 year ago* (last edited 1 year ago) by heehaw@lemmy.ml to c/linux@lemmy.ml

For a old laptop with Intel atom processor and I think 2gb ram.

you are viewing a single comment's thread
view the rest of the comments
[-] smpl@discuss.tchncs.de 3 points 1 year ago

I always play youtube videos with mpv.

[-] Holzkohlen@feddit.de 1 points 1 year ago

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.

[-] smpl@discuss.tchncs.de 1 points 1 year ago

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.

this post was submitted on 28 Aug 2023
70 points (97.3% liked)

Linux

48653 readers
347 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS