this post was submitted on 17 Jun 2025
887 points (98.6% liked)

Technology

72266 readers
3016 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 news or articles.
  3. Be excellent to each other!
  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, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] SpicyTaint@lemmy.world 122 points 2 weeks ago (6 children)

I've started bulk downloading videos with yt-dlp and watching them locally. No ads or throttling to deal with.

[–] tal@lemmy.today 39 points 2 weeks ago* (last edited 2 weeks ago) (6 children)

If Google really wants to, they can crack down on yt-dlp, and I assume that if enough people are using it, they're likely to do such a crackdown. Like, this works for the moment, but...

[–] SpicyTaint@lemmy.world 56 points 2 weeks ago

I'm sure they could. Other methods will crop up. All else fails, I ditch YT altogether.

[–] rumba@piefed.zip 12 points 2 weeks ago

It will happen eventually. All they need to do is start new/rotating keys on wildvine and put the ads at random times right in the stream, then disable fast forward if you use it to skip ads. It'll be a UX hit, so it'll need to be worth it to them.

In the end, they can't stop us from HDMI capturing and using comskip to detect / remove but there are a million ways to play tag between where we are now and that which don't require people posting videos to pirate bay :)

[–] mesamunefire@piefed.social 10 points 2 weeks ago (2 children)

My ip was blocked a LONG time ago by google for using yt-dlp. Works with VPN but nothing else. Fun times. I think I only pulled a couple of videos off for archival services. On my own channel non-the-less.

[–] tal@lemmy.today 15 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

You might try again. I was blocked for a couple weeks after I pulled a bunch of videos from a channel using yt-dlp, and for a while YouTube required an account (which I will not get) from that IP. But a couple weeks later, things were working again.

[–] mesamunefire@piefed.social 11 points 2 weeks ago

Ok cool! I updated yt-dlp via pip, and it looks like its working again. No warnings or anything. Awesome.

[–] Vanilla_PuddinFudge@infosec.pub 4 points 2 weeks ago

I'd just hop a vps around to different countries.

...I'd never do it here, admins, honest lol

[–] Vanilla_PuddinFudge@infosec.pub 10 points 2 weeks ago (1 children)

Virtual desktop program that watches videos and uses sponsorblock and adblock after the fact to pick it clean and re-encode it.

I'm that level of anal

[–] tal@lemmy.today 3 points 2 weeks ago

I'm not really following video DRM, but my understanding is that Widevine won't run in a VM with a virtualized video card like that.

[–] pinball_wizard@lemmy.zip 13 points 2 weeks ago (1 children)

This is the way.

When YouTube wanted to throw me some entertainment and a couple ads, very conveniently, I was down for that.

Now that it's an all out technology knowledge battle - well, I'm quite good at that.

So I spend the time I would have laughed at their ad instead working around their bullshit.

I haven't seen an ad in years, but I still enjoy the same content. 🤷‍♀️

To me, it seems like they're working really hard, just to fail to serve me ads.

[–] Psythik@lemm.ee 2 points 2 weeks ago (1 children)

I would but my issue with that is that SponsorBlock doesn't work on downloaded videos.

[–] pinball_wizard@lemmy.zip 1 points 2 weeks ago (1 children)

Skytube has an option for clipping mid-video ads out of downloaded videos, if that helps.

[–] Psythik@lemm.ee 2 points 2 weeks ago (1 children)

I use SponsorBlock for more than just skipping sponsored segments. It's also useful for skipping intros, "like and subscribe" messages, and other general annoyances in most YouTube videos. Once you get used to it, you can't go without.

[–] pinball_wizard@lemmy.zip 2 points 2 weeks ago (1 children)

Same here. The SponsorBlock in SkyTube skips intros and "like and subscribe", too. Even in downloads.

[–] Psythik@lemm.ee 2 points 2 weeks ago

Good to know, thanks.

[–] B_DL@lemmynsfw.com 7 points 2 weeks ago (3 children)

I’m new to yt-dlp. Care to share your flags? I’m a little confused on which ones I actually need.

[–] tal@lemmy.today 23 points 2 weeks ago* (last edited 2 weeks ago) (2 children)

I mean, you don't need anything; it'll work with no flags. I have these:

$ cat ~/.config/yt-dlp/config
--embed-subs
--embed-metadata
--embed-chapters
--embed-thumbnail
--sponsorblock-mark=all
$

That'll just embed some useful metadata in the file.

[–] LodeMike@lemmy.today 3 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

Note that subtitles doesn't include automatic subtitles. For that you have to do --write-auto-subs in conjunction

[–] tal@lemmy.today 4 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

Thanks.

EDIT: There isn't an --embed-auto-subs, but there is a --write-auto-subs.

[–] LodeMike@lemmy.today 3 points 2 weeks ago
[–] sh00g@lemmy.zip 2 points 2 weeks ago (1 children)

Also if you just want the audio to listen to (I like to do this with TTRPGs) you can do:

yt-dlp -x -f bestaudio

Also works great in a pinch for getting sounds and music for FoundryVTT.

[–] tal@lemmy.today 2 points 2 weeks ago* (last edited 2 weeks ago)

I'm pretty sure that it defaults to best quality.

goes looking at man page

   By default, yt-dlp tries to download the best available quality if you don't  pass  any  options.   This  is  generally
   equivalent to using -f bestvideo*+bestaudio/best.  However, if multiple audiostreams is enabled (--audio-multistreams),
   the  default  format changes to -f bestvideo+bestaudio/best.  Similarly, if ffmpeg is unavailable, or if you use yt-dlp
   to stream to stdout (-o -), the default becomes -f best/bestvideo+bestaudio.

So I think that it should normally pull down the best audio unless you get into some situation where YouTube doesn't offer a format that simultaneously has the combination of highest audio quality with the highest video quality; if it has to do so to get the highest video quality then, it'll sacrifice audio quality.

EDIT: Hmm. I could have sworn that there was more text about prioritizing relative audio and video quality at one point in the man page, but I don't see anything there now. Maybe it can just always get the best audio quality, regardless of video quality, can pull 'em entirely separately.

[–] SpicyTaint@lemmy.world 4 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

I'm a filthy Windows user that's too lazy to migrate my main PC to Fedora.

> Path\to\yt-dlp.exe -P <target directory> <URL>

Multiple URLs can be separated by spaces. Put any URLs with ampersands in quotes or remove the ampersand and following arguments.

You can find a list of all the arguments on the yt-dlp github page

[–] OwlPaste@lemmy.world 2 points 2 weeks ago

I like https://github.com/ArabCoders/ytptube gui. Only started using it yesterday, so far for indovidual videos. However it looks like it can also watch new videos being uploaded, thought not tried it myself.

Use docker compose for quick deployment

[–] Ebby@lemmy.ssba.com 7 points 2 weeks ago

Me too. I'm up to 3TB locally. Had to do that slowly though. Hit some temp bans a few times.

[–] Geth@lemmy.dbzer0.com 5 points 2 weeks ago

DVRs are back in 2025. Who would have thought?

[–] gruhuken@slrpnk.net 1 points 2 weeks ago* (last edited 2 weeks ago)

I've been doing this with band love videos and storing them on a hard drive. One I love got taken down and almost lost a while back and it's made me paranoid ha