this post was submitted on 31 Oct 2023
789 points (95.6% liked)

Technology

59581 readers
4444 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 11 points 1 year ago (2 children)

Yeah yt-dlp has been my strat this whole time anyway. Also Piped and Invidious get the job done when i'm too lazy to type in one short command for every video I watch.

Also, specifying format with yt-dlp is unnecessary ("-f 22") if you have ffmpeg installed iirc because it automatically selects the highest quality, thus shortening the command even further.

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago) (1 children)

I use -f 22 to set a lower quality actually, because most videos on youtube are needlessly larger than my 5K monitor.

[–] [email protected] 5 points 1 year ago (1 children)

Higher resolution videos actually have better bitrates on youtube. Like if you select 4k even if your monitor is just 1080p, the video will look much better.

[–] [email protected] 2 points 1 year ago (1 children)

The video stutters for me if I do that

[–] [email protected] 1 points 1 year ago

All the more reason just to use yt-dlp. I know it takes a tiny bit of time to set up, but it's well worth it. I'm able to download 20-minute videos that would have otherwise buffered in less than a minute. I can simultaneously queue up a bunch of videos, and watch them with zero stuttering.

[–] [email protected] 2 points 1 year ago

You can also put "alias y=yt-dlp" in your ~/.bashrc to minimize it to "y". Or set up a keyboard shortcut to a script that executes the command with your clipboard content.

Or do the same with "mpv" instead of "yt-dlp" to watch the video stream directly without downloading.