822 points · by makeworld · 5y ago · 332 comments
Edit: Correct typo
Also what sponsored content are people downloading versus just streaming live? I don’t get the use case.
In my experience, it's the same with ads everywhere else. It (usually) starts out not being overly obnoxious, with just a "this video is sponsored by [garbage tier mobile game/earphones/vpn/whatever] more about them at the end of the video" and then the pitch at the end.
I don't mind these. They quickly get the name out at the beginning and then don't interrupt the video. What really annoys me are the ones that interrupt the video. At some point a few of them annoyed me enough that I installed SponsorBlock. Because I don't want to hear or see these ads, but i tolerated them. But once that threshold is crossed where I don't tolerate all of them anymore, why would I not just block all of them? I'm not going to unblock specific channels that are well-behaved to listen to ads for products i will definitely never buy.
It's the exact same thing with regular ad-blocking. Sometimes when I'm on a fresh OS I start browsing the web and only notice I don't have an adblocker once I visit a page with super obnoxious ads (e.g. google on mobile and realize there's only ads and no organic results for like the first 5 screens).
Especially when those interruptions take two minutes. I don't mind them up to 30 seconds, but their length does get pretty ridiculous from time to time.
There's no medium that's gonna make watch two minutes ad without looking away or trying to skip it. You either sell it quickly or don't.
I find the same with christmas adverts each year - I don’t do tv, but go out of my way to watch the adverts and get in the festive mood come December.
If your answer is nothing — I expect everything for free, then that’s both unrealistic and parasitic.
And for me, a lot of the videos I download are played back, audio only, while I go for walks or am otherwise away from the Internet. YouTube lets you download videos, but my audio comes from multiple sources, YouTube is just one source. I can integrate yt-dlp into my feed reader so I don't need to think about the source anymore than I need to worry about going to a random podcast's website to listen to those.
In the end though, a tool like SponsorBlock is just another way I remove the annoyances from the modern Internet.
"MAKES IT SO YOUR ISP CAN'T SEE YOUR TRAFFIC" - yeah, congrats, now it's just another ISP that sees your traffic, which was probably protected by TLS anyway...
Heck, they even keep recommending the utility of Terms of Service violations like accessing contents from other regions.
VPN companies are scammy as hell.
YouTube needs to make a way for creators to label the sponsor sections and it skips it for Premium users.
As for why downloading, I download any/every video I find useful so I don’t have to go back to YouTube to watch it later. Everything from blender tutorials to car build videos that taught me something to music video clips and generally just anything interesting. It all goes to my NAS and I can instantly pull it up for reference and scrub quicker and don’t have to deal with YouTube’s increasingly annoying website.
I have read that more and more creators use sponsored segments because that pays much better than YT revshare..
So they may not care about the Premium user experience as much, and if Premium lets people skip sponsored segements, that might drive down the overall segment viewership, AND increase Premium subscribers and then it's a lose-lose for the creator since those segments will be less and less valuable to the sponsor.
I have to imagine it wouldn't be long before some clever sponsor offers extra money not to mark their sections...
I am personally wondering if Yourube themselves are going to start implementing some thing like this sooner or later; after all, you are paying for an ad free experience on YouTube premium, just to watch all of those new videos become filled with in-video advertisements.
Unlikely. It requires monitoring content and ensuring they people add (correct) timestamps for sponsored content. This would need to be verified by YouTube moderators and in general requires a lot more resources than you think. Crowdsourcing like SponsorBlock is feasible but it's unlikely that YouTube will integrate SponsorBlock into the site.
Well, yes. Skipping involves effort. If I wanted to engage my hands with the content, I would've opted for a book, not a video.
Anyway, actual sponsor parts I can stand. They're at least somewhat interesting, by virtue of being unexpected. Like, who is this video sponsored by this time? Or, why this well-known and otherwise respected science/technology video vlogger keeps advertising scummy VPN services?
What I can't stand is the "like and subscribe" dance. It's just completely mind-dumbing. Yes, I know you have a Patreon, it's in the video description. Yes, I know where the stupid "bell icon" is, I don't need unsolicited YouTube UI 101 lessons. No, I'm not going to click anyway, because I'm here for a particular video, not the whole channel.
Perhaps more importantly, would you give them money?
Yes. Some of us don't like being assaulted with sales pitches everywhere we look.
If you are watching for free, and you're that annoyed by ads, then maybe you just feel entitled.
When I follow a YouRuber (I'm borrowing that typo, I like it) and have seen them descend into the paid/promotional arena, I have been turned off and stopped subscribing to their channel.
Advertising tends to naturally weed out, for me, the ones who are not as passionate about what they do. Sorry if this model is counter to YT's business model.
Better: if you want to make a business out of it, sell plans like WoodenGears guy, or kits like Ben Eater.
Here's an example of one that is... nonsensical and perhaps a bit humorous (well, at least I liked it): https://m.youtube.com/watch?v=0jPLRtEEjhU
There is no need to state the obvious. Nobody would miss any kind of advertisement in the media they consume but that doesn't answer how content creators are supposed to be compensated for the effort they put in.
As for what sponsored content people are streaming: where I live Internet providers provide unlimited bandwidth during off peak hours (midnight to 8AM) but give you a monthly data limit outside those hours. If you are in an area not wired for high-speed internet, you might be relying on 4G which can have a monthly limit of as little as 50 GB… which isn’t much at all for a family. So it’s nice to be able to queue up all the videos you want to watch to download overnight, making the answer “everything/anything.”
(And that is the chief use of YouTube-DL for me. YouTube premium lets you save videos to watch offline, but only on mobile devices —- which typically have little storage for them —- and you can’t schedule it, you’d have to get up at midnight to manually select each video. With YouTube-DL I can schedule downloads of all my subscriptions and bookmarks to a nice big hard drive and then automatically put my PC to sleep.)
That, or post-scarcity to finally happen, whichever cones first :).
I would be fine with adblock that fakes that I saw the ad without me having to wait for it to buffer.
Then I started using[1] SponsorBlock, and now we're back at square 0.
[1]: I had known about it for a long time but didn't feel like using it, until I did (or you can see it as "they made me feel like using it"...)
All marketing is bad. It's essentially mindhacking.
> I want indie people to make enough money to produce high quality content
If people have something to say, they will say it whether they get paid for it or not. That's what I want. Real opinions from real people. Not some sponsored content you can't trust is real.
> otherwise media is just what a few biggies want to fund
It already is. All they have to do to lose funding is say or do something those sponsors don't like.
How many youtubers have you seen shilling out raid shadow legends? They all praise it like it's the next coming of Jesus while everyone knows that the game is absolute garbage.
How many times will I get ad for NordVPN? Why would I use such a widely known and blocked VPN for streaming services? It is literal noob trap.
Worst is the reybud or whatever ear buds. Everyone says how good they sound and how amazing they are, but realistically if a brand comes out of nowhere with no other products what are the chances that they are good or even decent?
All of these are terrible sponsor ads for me. All they do is annoy me and waste my time. At least many video makers I follow have the decency to somehow indicate in the video how long the ad will go on so it is easier to skip. Only reason I don't use the automatic extension is that anyone can mark any segment of any video as an ad and it will be automatically skipped and I don't like that idea. Maybe if it was just some friends who I trust.
And that is ho... 'HEY! Don't forget to check out X!' is not
I also watch some meme compilations with my SO and they're usually pretty different. I appreciate that compiling those memes into one video is for the convenience of the viewer but the original video creators don't benefit from those, only the ones making the compilations so I don't want to support that. On top of that, there are some channels that have several minutes long product ads inside the video, not the normal YouTube adverts. I simply hate those.
It depends. Some Creators get pretty creative with their sponsor blocks. JayzTwoCents comes to mind with his "iFixit" ad - it's hilarous every time it appears.
but if you are like me and watch a lot of curated playlists, you end up watching the same sponsor segments over and over.
it's like watching anime on primevideo without hitting the skip intro button
it gets annoying pretty soon.
Make sure to read the note at the bottom of changelog, since some options have changed
That said, for this stuff, I've only downloaded audio, and of that mostly talking head type stuff, where I let it cut out the segments. Whatever re-encoding is done would have to be pretty bad before I'd care.
$ yt-dlp -x --sponskrub --sponskrub-cut "https://www.youtube.com/watch?v=_7vPNcnYWQ4"
[youtube] _7vPNcnYWQ4: Downloading webpage
[youtube] _7vPNcnYWQ4: Downloading android player API JSON
[info] _7vPNcnYWQ4: Downloading 1 format(s): 251
[download] Destination: Making an unpickable lock. Calling locksmiths [_7vPNcnYWQ4].webm
[download] 100% of 12.72MiB in 00:00
[ExtractAudio] Destination: Making an unpickable lock. Calling locksmiths [_7vPNcnYWQ4].opus
Deleting original file Making an unpickable lock. Calling locksmiths [_7vPNcnYWQ4].webm (pass -k to keep)
[SponSkrub] Trying to remove sponsor sections
WARNING: Cutting out sponsor segments will cause the subtitles to go out of sync.
[libopus @ 0x5462c20] No bit rate set. Defaulting to 96000 bps.
size= 3515kB time=00:04:33.53 bitrate= 105.3kbits/s speed= 26x
Without the audio only option, it's more clear it's re-encoding: [SponSkrub] Trying to remove sponsor sections
WARNING: Cutting out sponsor segments will cause the subtitles to go out of sync.
[libopus @ 0x5575420] No bit rate set. Defaulting to 96000 bps.
frame= 51 fps=8.5 q=0.0 size= 1kB time=00:00:01.95 bitrate= 3.5kbits/s speed=0.326xAlso here is a fork of NewPipe with SponsorBlock functionality.[0]
> Cookies from browser: Cookies can be automatically extracted from all major web browsers using --cookies-from-browser BROWSER[:PROFILE]
Very nice. Having to manually copy cookies to get past login walls is annoying.
[1] https://github.com/yt-dlp/yt-dlp/blob/master/yt_dlp/cookies....
chr_cookies = pycookiecheat.chrome_cookies('https://example.com')
session = requests.Session()
for k, v in cookies.items():
session.cookies.set(k, v, domain='.example.com')Why don't OSes have some sort of system-wide secret store linked to an user's account (like the macOS Keychain) and an application's code-signing certificate? That would at least prevent easy file-dump attacks, moving the barrier to "execute something in the browser process context" instead.
It's enough that I already can't read the data that's being sent and received by my own computer, because of certificate pinning.
There might be a more modern and streamlined solution for Linux, but in Windows land they also introduced Controlled Folder Access into defender.
2. Once malware is running as your user, how do you expect to protect against that even with a keychain? They can log all your keystrokes, extract certificates and keys from applications running as your user or anything your user has access to, etc.
3. How are you going to support different keychains on different OSes? And what happens when they diverge? Say Apple gets "brave" again and allows only Apple signed binaries to access the keychain with the excuse of "user security", will binaries have to roll their own keychain? Are you going to make apps add another corporate dependency?
A kernel-backed mechanism could enforce that access to the secret decryption syscalls can only be done from untampered signed processes.
Assuming an user has a distinct login password they are not using anywhere else and the public key of the codesign certificate is part of the kernel-side secret, a malware has no chance of getting access to the secret, unless it exploits a code execution vulnerability in the target program.
> How are you going to support different keychains on different OSes?
A minimal interface with three calls: 1) create/delete a kernel-side secret, 2) encrypt a secret using a key derived from the user's keychain and the application's public key, 3) decrypt a secret using said key.
Android brings such an API (KeyStore), macOS' Keychain should support something like that via its ACL feature. Where additional work is needed is Windows (its DPAPI only protects secrets from other users, apps can get other apps' secrets by design to implement SSO) and Linux (which doesn't have any way to verify in the kernel if an application has a code signature).
Browsers and other apps wishing to protect secrets from malware could use an abstraction layer that uses the best available mechanism on each platform, the three operations should be enough for this purpose.
And have a look at AppArmor.
yt-dlc's last commit was only 4 days ago, from the project owner. What are the advantages of each, and what about other forks out there?
The previous update was July 25, and the one before that was December 2020.
While the July update dealt with the updater, having 2 days of small changes since December is not very active.
As far as the advantages, there are plenty of comments now outlining them better than I could. For me there are many additional sites that work with yt-dlp that do not work with the other forks. I found myself using this fork more and more instead of youtube-dl due to the additional support, until I've now made it my default. It does have a compat mode so if you use a lot of youtube-dl switches that yt-dlp may of removed or depreciated in the cleanup, they will still usually work if applicable with this fork as well.
Admittedly, that question is made in bad faith -- I know what you mean, even if what you mean isn't necessarily "sandboxing": permissions!
Android and iOS do it right. One OS-level source of truth that manages application-level permissions for the entire machine. When you frame it that way, it becomes clear that Deno asking for rights on a per-run basis is indeed silly, but only in the context of the user experience... not necessarily the core software design.
This yt-dlp fork has a workaround (though not a true fix) for the issue: https://github.com/ytdl-org/youtube-dl/issues/29326#issuecom...
Here's some coverage from the EFF, in case you missed it: https://www.eff.org/deeplinks/2020/11/github-reinstates-yout...
Just seems a case of the same what usually happens: main author loses interest, has other stuff to do, etc. and no one really takes up the slack.
https://github.com/database64128/youtube-dl-wpf
Currently it's WPF based and therefore only supports Windows. I'm considering porting it to Avalonia so I can also use it on my Linux desktop.
The reason I made this GUI is mostly for manual format selection. The automatic 'bestvideo+bestaudio/best' doesn't always result in the best format combination. So I always select AV1 + Opus manually and use the WebM container. The GUI also includes some opinionated defaults like embedding metadata, thumbnail, subtitles.
- The extractors part (all the scrappers basically)
- The cli tool
What would be wonderful is that the extractors part is splitted out, so that anyone can use it without using youtube-dl. That would be much easier to update it too, each extractor is independent, so it is only a question, does this scrapper (extractor) works or not.
The next step would be to have a multi-language format to describe a scrapper, instead of being coded in Python. But no idea if this is possible or maybe that would make things much more complex
Extractors regularly require custom logic, so they can’t be described in anything else than a programming language.
The fact that some requires custom logic doesn't prove that you need a programming language, it is just custom logic compared to the standard framework.
china might want to disagree
What is benefit of setting my credentials to the config file?
alias yt-mp3='yt-dlp --extract-audio --audio-format mp3 --split-chapters --no-check-certificate'
alias youtube-mp3='youtube-dl --extract-audio --audio-format mp3 '
alias youtube-mp4='youtube-dl -f "bestvideo[ext=mp4]+bestaudio[ext=m4a]/mp4"'
alias youtube-mp4-480p='youtube-dl -f "bestvideo[height<=480]+bestaudio/best[height<=480]"'
alias youtube-playlist='youtube-dl -f "bestvideo[ext=mp4]+bestaudio[ext=m4a]/mp4" -ciw -o "%(title)s.%(ext)s" -v '
#alias ffmpeg-mkv=find . -type f -name "*.mkv" -exec bash -c 'FILE="$1"; ffmpeg -i "${FILE}" -vn -c:a libmp3lame -y "${FILE%.mkv}.mp3";' _ '{}' \;
#alias ffmpeg-webm=find . -type f -iname "*.webm" -exec bash -c 'FILE="$1"; ffmpeg -i "${FILE}" -vn -ab 128k -ar 44100 -y "${FILE%.webm}.mp3";' _ '{}' \;
#alias ffmpeg-mp3=find . -type f -iname "*.mp4" -exec bash -c 'FILE="$1"; ffmpeg -i "${FILE}" -vn -y "${FILE%.mp4}.mp3";' _ '{}' \;still get k's of downloads a day even though its been 15yrs since the last update
I started when a group I listened to removed all the content they had put up over the past year and said it was promotional material for their latest album which was garbage.
Ads have gotten so bad that any videos over three minutes have multiple ad breaks so watching longer music videos or sets are just completely ruined when watching on YouTube.
I wish there was a good set up for single watch videos since the ad algorithm tries to anticipate good places for breaks, which often times is right before punch lines to joke and when you skip over the ad they tend to put you back a few milliseconds ahead of where you stopped which can ruin jokes. I rarely watch for enjoyment (as opposed to learning) on a computer so I don't get the benefit of using an ad blocker like Ad Nauseam.
Theres tons of place without internet access, or I dont have a device with internet access.
Triply so if it's hosted by a corporation.
Looking at you, Microsoft. For all the good[0] things you're doing for developers using your platforms, I'm still angry at the way your documentation links rot. It seems that everything that ever linked to MSDN prior to ~2015 will now have their links redirected to 404 or "buy new Surface" page. Hell, plenty of internal links are broken too. It's particularly apparent when trying to read about C++ and COM (vs. C#/.NET, which seems to be MS's main focus).
--
[0] - In a pragmatic, day-to-day dev experience sense. Explicitly not talking about wider ethical issues here.
1. I download whole channels if there's a series I want to watch.
2. I download music, since youtube is a really quite nice music library.
3. I download long videos before I watch it, because it's just more pleasant to rewind the thing when it's already on your SSD. Also, it won't freeze spoiling a beautiful scene because of some stupid WiFi problem.
4. Even if I don't download it before watching, I still use mpv to watch it, which uses youtube-dl internally, because mpv is a much nicer video-player than what you can have in a browser.
And I'm sure I forgot some important use-cases. Browsers are evil, js-apps are stupid, don't use them, if you can.
We maintain a central list [1] of content that various members have archived, such that when content is removed from YouTube, people can direct inquiries to contributors who have archived that content.
It's a small way to keep track of what things have been successfully archived, and occasionally direct efforts to preserve specific content.
mpv itself uses ytdl (or others) for accessing streming sites and will buffer the whole vid if you crank up cache settings like:
cache=yes
demuxer-max-bytes=5G
demuxer-max-back-bytes=5G
prefetch-playlist=yes
force-seekable=yes2) When Internet is flaky or doesn't exist. I've downloaded whole sets of tutorial videos for example to watch on a plane.
3) Stuff in 4K where my video player does a better job with hardware acceleration than my web browser does
I mean out of all the video I watch from the internet, 95% is streaming, but youtube-dl is for that other 5% that falls into the three categories above.
A great example I recently saw is someone extracting the audio feed and double checking the Doppler shift of a passing quadcopter to confirm a speed claim. It checked out and the math was included. Stellar comment. Harder to do if obtaining the video's data is made hard.
mpv --ytdl-format="best[height<=720]" "$URL"Watching many high res videos without destroying phone data plan.
It's a shame that the only video links on HN seem to be from Youtube.
Darn...unfortunately still can't download Joe Rogan Spotify. Guess they haven't found a way around the widevine encryption...(Right now it seems like only a few podcasts are encrypted so other Spotify streams work)
How does this work?
Most things still work but support of different services is something that needs daily updates to not break. Even if most popular websites still work, pages like Newgrounds are breaking.
There's 3.7k open issues right now and nothing gets merged [0].
Why not ask for maintainership if you need it?
youtube-dl is up-to-date (2021.06.06)However, there is an open pull request for it from just a few hours ago https://github.com/Homebrew/homebrew-core/pull/84049
So here's to hoping it'll be available there soon :D
Unless something is completely unavailable elsewhere, you'll find far better audio quality from other (original) sources.
I can't imagine trying to source this stuff independently and keeping up with it, and if some commercial music crept in I imagine it'd be easier to simply stay on YT and ask what level of quality one subjectively needs for dental drilling, or mindless work, or throne-in-lair-sitting, or whatever it is...
I do run into this from time to time. Let's say I want the soundtrack to one of my favourite anime, from 2006.
Some items from it are also on the source game soundtrack, so are available on iTunes. This is actually kind of rare for older anime which usually don't bother releasing in iTunes outside Japan, but being a game adaptation helps it here, I guess. Still, anything composed for the anime are not included.
Some of it is there on Spotify. Actually, at one point it all was, and I can still see the tracks are there but grayed out in other people's playlists, so I assume there exists some region in which it was available, and the availability in my region initially was a mistake by a licensee who forgot to limit it to the regions they had rights for. Either way, it's no longer legally available for me.
So I could.... VPN to Japanese iTunes, thereby breaking the terms of service, (assuming it's still there) or I could try import some decade old special edition DVDs of the anime which contained the OST.
Or I could rip it from YouTube. Eventually, if you make no effort to sell to me, I'm going to resort to other options.
In my experience, you'd immediately enter "vacation mode", which is limited to two weeks in free version, but unlimited in premium. Spotify doesn't even complain when you switch countries in a couple of seconds. They're very lenient on enforcement, I've used it for like five years before Spotify actually became available in my country (though I couldn't pay for the premium with a card from a different country). Just log in via VPN once, then it works for two weeks.
The quality is usually pretty bad, it’s true. But in many cases, this stuff is almost impossible to buy even if you wanted to, so YouTube is your only option.
YT is also fairly unpleasant to use, which is why a lot of people go for youtube-dl.
The question, especially for the folks around here.
When Github eventually takes a stronger stand against this sort of thing, because it is 100% going to happen, are folks going to properly fight it?
Whether it's a matter of principles or just the bad press from the initial takedown is less clear, but I think it'll be a while before they re litigate this issue.
I can't imagine that ever happening. But what I can imagine is the media groups giving Microsoft a hard time on whatever deals they have in the Xbox ecosystem, pressuring until GitHub unilaterally reverses their reversal, or does something else to satisfy them.
I suppose I should be a bit clearer. When Microsoft and the big media people get together to try to make it go away, what will be the the response?
I hope so. I would really like to see git hosting as a Tor hidden service.