"yt-dlp is a feature-rich command-line audio/video downloader with support for thousands of sites. The project is a fork of youtube-dl based on the now inactive youtube-dlc."
I have to assume you're joking, but I honestly can't figure out what point you're even trying to make. Do it think it's surprising that an ad-supported site has anti-scraping/anti-downloading mechanisms? YouTube isn't a charity, it's not Wikipedia.
Is it because it would break compatibility with some devices? Is it too expensive?
(not that I'd like that; I always download videos from YouTube for my personal archive, and I only use 3rd party or modified clients)
In the meanwhile, YouTube spends its effort on measures against yt-dlp, which don't actually stop yt-dlp.
What the fuck is wrong with Google corporate as of late.
https://github.com/yt-dlp/yt-dlp/wiki/EJS
it looks like deno is recommended for these reasons:
> Notes
> * Code is run with restricted permissions (e.g, no file system or network access)
> * Supports downloading EJS script dependencies from npm (--remote-components ejs:npm).
Sooner or later, in the next couple of years, it will happen.
I was reading a study recently that claimed Gen Z is the first generation where tech literacy has actually dropped. And I don’t blame them! When you don’t have to troubleshoot things and most of your technology “just works“ out the box compared to 20 or even 10 years ago, then you just don’t need to know how to work under the hood as much and you don’t need a fully fledged PC. You can simply download an app and generally it will just take care of whatever it is you need with a few more taps. Similar to how I am pretty worthless when it comes to working on a car vs my parents generation could all change their own oil and work on a carburetor (part of this is also technology has gotten more complicated and locked down, including cars, but you get my point).
The point of all this is I could definitely see a world where using a desktop/laptop computer starts becoming a more fringe choice or specific to certain industries. Or perhaps they become strictly “work” tools for heavy lifting while mobile devices are for everything else. In that world many companies will simply go “well over 90% of our users are only using the app and the desktop has become a pain in the ass to support as it continues to trend downwards so…why bother?”
Who knows the future? Some new piece of hardware could come out in 10 years and all of this becomes irrelevant. But I could see a world where devices in our hands are the norm and the large device on the desk becomes more of a thing of the past for a larger percentage of the population.
This is a significant part of it. There are many smart devices that would not be capable of running that sort of software. As those cycle out of the support windows agreed way-back-when then this sort of limitation will be removed.
I'm sure this is not the only consideration, but it is certainly part of the equation.
Laptops aren't going anywhere. Even if phones and tablets replace them for a third of tasks, or a third of people.
The idea that laptops with browsers would become so rare that YouTube would drop support, within any reasonably predictable future timeframe, is pure fantasy.
The scale of data storage, transcoding compute, and bandwidth to run YouTube is staggering. I'm open to the idea that adblocking doesn't have much effect on a server just providing HTML and a few images, but YouTube's operating costs are (presumably, I haven't looked into it) staggering and absolutely incompatible with adblocking.
I also save temporary videos removed after a time for example NHK honbasho sumo highlights which are only available for a month or so then they permanently remove them.
The biggest hack to this is React Native, which barged just in due to sheer Javascript and web dominance elsewhere, and even that has a ton of problems. Plus I'm fairly sure that the React Native JS only runs in the JIT approved by the Apple Gods, anyway.
Otherwise, we're stuck in the old days of compiled languages: C/C++ (they can't really get rid of these due to games, and they have tried... Apple generally hates/tolerates games but money is money). Rust works decently from what I hear. Microsoft bought Mono/Xamarin and that also sort of works.
But basically nothing else is at the level of quality and polish - especially in terms of deployment - as desktops, if you want to build an app in say, Python. Or Java. Or Ruby. Or whatever other language in which people write desktop apps.
And we're at a point where mobile computing power is probably 20x that of desktops available in 2007. The only factor that is holding us back is battery life, and that's only because phone manufacturers manufacture demand by pushing for ever slimmer phones. Plus we have tons of very promising battery techs very close to increasing battery capacities by 20-50%.
Suspicion: they’ve fingerprinted me hard and know I have premium but like to watch occasionally from Safari private (with content blockers) and don’t hassle me.
Mainly suspect this given lack of anti-adblocking symptoms.
I made another script that adds the video thumbnail as album art and somehow tries to put the proper ID3 tags, it works like 90% of the time which is good enough for me.
Then I made another script that syncs it to my phone when I connect it.
So now I have unlimited music in my phone and I only have to click on "Like" to add more.
And yet, none of Google's 900k TOC genius engineers have thought of this as a feature ...
And YT isn't "greedy bastards". They provide a valuable service, for free, that is extremely expensive to run. Do you think YT ought to be government-funded or a charity or something?
Some people probably also literally watch it, but I know multiple people who basically use it as a radio at work.
Plus, never worked anywhere where half of everyone, including management, is more-or-less openly watching sports more than working during major tournaments?
Most people want to be able to download 5 hours of video in the background in 5 minutes. Not wait 5 hours while their computer is unusable.
I was on live TV recently and wanted to keep a recording for myself, that wasn't just filming the screen with my phone. I first tried screen recording watching the show in my browser in their streaming service. Got a black video. Then I tried their phone app, got a black video. Finally, using my phone but the web page they enabled playback without DRM and I could record and store it. When more devices support DRM they will probably get rid of that fallback as well.
It's absolutely insane to me how bad the user experience is with video nowadays, even video that's not encumbered by DRM or complex JavaScript clients.
A slow dropping of support for those who aren’t using an app or Chrome with some Play(Video) Integrity Extension installed.
Because this will mean major shift to open-source and community solution, where creators will be paid directly by their viewers.
I have NO problem, what so ever, to pay content creators directly.
But I have HUGE problem to pay big corpos. It's ridiculous that we pay for Netflix same price as US people and for you it's cheaper than coffee and for us, if you compare median-salary, it's 5-10x MORE expensive. (cancelled every streaming platform year before as all of my friends, cloud seedbox here we go) And I don't even wanna mention Netflix's agenda they want to push (eg.: Witcher)
That's why piracy is so frequent here in small country in EU :) Also it's legal or in grey-area, because nobody enforce it or copyright companies are unable to enforce it if you don't make money from sharing. (yes, you don't even need to use VPN with torrents)
This is my personal opinion. They're still affected by customer satisfaction and they're still driven by market forces. It's just that you and I are not their customers. It's not even the YT premium customers. Google is and always has been an ad service company and their primary customers have always been the big advertisers. And they do care about their experience. For example, they go overboard to identity the unique views of each ad.
Meanwhile the rest of us - those of us who don't pay, those who subscribe and even the content creators - are their captive resources whose creativity and attention they sell to the advertisers. Accordingly, they treat us like cattle, with poor quality support that they can't be bothered about. This is visible across their product lineup from YouTube and gmail to workspace. You can expect to be demonetized or locked out of your account and hung out to dry without any recourse if your account gets flagged by mistake or falsely suspected of politics that they don't like. Even in the best case, you can only hope to raise a stink on social media and pray that it catches the attention of someone over there.
Their advantage is that the vast majority of us choose to be their slaves, despite this abuse. Without our work and attention, they wouldn't have anything to offer their customers. To be fair to ourselves, they did pull off the bait and switch tactic on us in the beginning by offering YouTube for free and killing off all their competition in the process. Now it's really hard to match their hosting resources. But this is not sustainable anymore. We need other solutions, not complaints. Even paid ones are fine as long as they don't pull these sort of corporate shenanigans.
a very old story...
The decryption code could verify that it's only providing decrypted content to an attested-legitimate monitor, using DRM over HDMI (HDCP).
You might try to modify the decryption code to disable the part where it reencrypts the data for the monitor, but it might be heavily obfuscated.
Maybe the decryption key is only provided to a TPM that can attest its legitimacy. Then you would need a hardware vulnerability to crack it.
Maybe the server could provide a datastream that's fed directly to the monitor and decrypted there, without any decryption happening on the computer. Then of course the reverse engineering would target the monitor instead of the code on the computer. The monitor would be a less easily accessible reverse engineering target, and it itself could employ obfuscation and a TPM.
It's always doable, it's just an option of last resort. You always just want to access the original compressed bitstream if possible.
Benn Jordan made a pretty compelling video on this topic, arguing that the existing copyright system and artifacts of it are actually not that great and a potential government system might actually be better: https://www.youtube.com/watch?v=PJSTFzhs1O4
I will say that is something I would not have considered reasonable prior to watching his video.
> "the technical means through which WEI will accomplish its ends is relatively simple. Before serving a web page, a server can ask a third-party "verification" service to make sure that the user's browsing environment has not been "tampered" with. A translation of the policy's terminology will help us here: this Google-owned server will be asked to make sure that the browser does not deviate in any way from Google's accepted browser configuration" [1]
https://www.fsf.org/blogs/community/web-environment-integrit...
They own the os, with sign-in, integrity checks, and the inability to install anything on it Google doesn't want you to install they could make it pretty much impossible to view the videos on a device capable of capturing them for the vast majority of people. Combine that with a generation raised in sandboxes and their content would be safe.
It would still be possible with native apps. Somebody will have to reverse engineer it continuously. So it will be slower, but still possible.
However, that won't be the case if they start using some secret (like a private key) that you can't access directly from an app, or if they decide that you can't run custom/modified apps. That's what I believe to be the true intentions behind their push to adopt dystopian technologies like secure enclaves and platform attestation. Not really about security as they claim.
Random article: https://www.ismailzai.com/blog/picking-the-widevine-locks
Claimed to be L1 key leaks (probably all blacklisted by now): https://github.com/Mavrick102/WIDEVINE-CDM-L1-Giveaway
People underestimate how much engineering Netflix have put in over the years to get it to work seamlessly and without much playback start latency, and replicating that over literally millions of existing videos is pretty non-trivial, as is re-transcoding.
It's not because of older devices - any TV that has got a YouTube app for a decade was required to support Widevine as part of the agreement to get the app, so the tail end of devices you'd cut off would be tiny, and even if they wanted to keep them in use you could probably use the client certificate to authenticate them and disallow general web access. It wouldn't be 100% fullproof but if any open source project used an extracted key you could revoke it quickly.
I think given the pace of technological advancement and given how every generation we see at least one major piece of electronics completely wipe out generations of predictions, this statement doesn’t serve a productive purpose other than to make “I don’t agree” sound like some variation of “it’s an objective fact that what you said is impossible.” You’re just spiking the conversation, even if that is not your intention.
I didn’t say this is definitely going to happen. I’m just saying clearly the way we engage with computers is shifting and that means companies will adjust accordingly. It’s not that far fetched.
As for “within any reasonably predictable future timeframe,” for all we know YouTube will become a relic.
yt-dlp --cookies-from-browser firefox --remote-components ejs:github -f "bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best" 'https://www.youtube.com/watch?v=XXX'
It is downloading a solver at runtime, took maybe half a second in total, downloads are starting way faster than before it seems to me. [youtube] [jsc:deno] Solving JS challenges using deno
[youtube] [jsc:deno] Downloading challenge solver lib script from https://github.com/yt-dlp/ejs/releases/download/0.3.1/yt.solver.lib.min.js
It would be great if we could download the solver manually with a separate command, before running the download command, as I'm probably not alone in running yt-dlp in a restricted environment, and being able to package it up together with the solver before runtime would let me avoid lessening the restrictions for that environment. Not a huge issue though, happy in general the start of downloads seems much faster now.Phones are dominant now and have passed the PC generation by - in number, not capability. The concept of copy/paste/save for arbitrary data lives on for the non-tech masses only in the form of screenshots and screen recording features.
I bet that it Google really wanted to it could force Firefox in line, but I imagine that actually preventing screen recording would require compliance at the OS level too, and I don't think that even Google could demand changes like that to Linux. Best they could do is block Linux clients from YouTube, but user agent spoofing or emulation could probably circumvent that.
And even if Google does somehow manage to entirely block screen recording, we can always exploit the analog loophole.
YouTube broke even sometime around 2010 and has been profitable ever since. The ad revenue has always been more than enough to sustain operating costs. It's just more growthism = more ads. If you want the YouTube of 2010--you know, the product we all liked and got used to--you can't have it. Welcome to enshittification.
Personally I find YouTube unusable without an adblocker. On my devices that don't have an ad blocker, it's infuriating.
That’s an unrealistic nerd dream. People haven’t moved off of closed social networks such as Facebook and Instagram, and haven’t flocked to creator-owned platforms such as Nebula. The general public, i.e. the majority of people, will eat whatever Google, Meta, et al feed them. No matter how bad things get, too few people abandon those platforms in favour of something more open.
Actually at this point the only thing that makes the good old aMule a bit less inconvenient to my own expectations are
- it's missing snippet previews
- it doesn't have as many resources on every topic out there.
artist = llm_call("return the name of the artist based on this title", title)
etc. with some stripping of newlines etc.
It works well! they can often infer the correct answer even if it's not present in the title- Subscribe to your favorite YouTube channels - Index and make videos searchable - Play videos - Keep track of viewed and unviewed videos
Not to mention having to ssh and copy paste URLs around, instead of visiting a page in my browser.
If you don't want the indexing and the pretty frontend that's fine, but there's a reason software like Plex is popular.
Since JS is the big issue here, the backend itself could be written in JS, TS or something else that compiles to WASM. That way, the decoder doesn't have to be split between two separate codebase. Deno also allows the bundle to be optionally compiled into a native executable that can run without having to install Deno separately.
That's what I'm disagreeing with. Your scenario is far-fetched. This isn't between two comparably plausible scenarios. You can look at current objective trends of desktop/laptop sales and see they're not moving such that they're going to meaningfully disappear to the extent where a popular site like YouTube would remove support. It's absolutely far-fetched. I'm not "spiking" any conversation, I'm simply completely disagreeing based on current actual trends.
I wrote all of this stuff pre-LLMs, never occurred to me until now, thanks!
The Memories feature sounds cool. I have something a bit similar on my Nextcloud, "On this day", that shows an image dated on the same day in previous years, and clicking it brings up more pictures from its general time. I love it! So many memories.
Knock on wood not to jinx it, but I wonder why this manages to stay up on github when eg paywall-busting chrome extensions get banned from there (because of DMCA takedowns I guess?)
But even now, many video sites employ DRM, and only the weakest levels of DRM streams can be recorded off the screen. If they crank that up, which is perfectly possible today, the screen recordings only shows a blank rectangle, because the encryption goes from server to video card. At this stage, "hdmi recorders" are the next level - they capture the audio/video stream from the hdmi cable output for example.
Even further, there is technology to encrypt from server to screen. I'm not sure on the rollout on this one. I think we have a long time until this is implemented, and even then, I'm sure we will have the ability to buy screens that fake the encryption, and then let us record the signal. And, for mainstream media, there will be pirated copies until the end of time I think.
It opened DRM enabled browsers side by side, ffmpeg captured the video from the respective parts of the screen, and each browser's audio was piped into a different dummy output, which ffmpeg also captured of course.
The tech stack was linux, bash, PHP, php-webdriver, Selenium, Firefox, ffmpeg. So yes, this idea absolutely works! That is, until they crank up the DRM so that software screen capture doesn't work.
As long as you enjoy the act of shooting, that is enough. Archers doesnt have to keep and look at old scoreboards/targets for the archery to have been enjoyable and worthwhile, it's the same with modern photography.
Download a random video and then copy ejs from yt-dlp’s cache directory (I think it’s in /home/username/.cache)
> being able to package it up together with the solver
`make yt-dlp-extra`
> no more leverage against corpos
> just glorious proprietary enclaves where local tyrant can do anything they want!
These are all literally consequences of the web btw, as are things like attestation in consumer hardware.
https://data.bls.gov/cgi-bin/cpicalc.pl?cost1=.30&year1=1980...
Generations of talent & creativity just gone.
Walmart has profits of $157B in 2024, but their business model isn't compatible with people just walking in and grabbing stuff without paying - and doesn't make it ethical to do so even if "they'll be just fine even if I do that"
Google owns that monopoly.
Sometimes I can’t even click on the front page, sometimes when I open a video it refuses to play.
I don’t know what’s up, but it works in chrome.
/s
*Bias disclaimer: I work for Alphabet. Not for YouTube. There's no employee discount, I pay full price for YTP.
Otherwise, I don’t think I get your point - maybe you could clarify?
Silicon Carbon batteries. And others, but this tech is already in production.
this is also why ytdl has stood firm in saying they will never attempt to be compatible with anything protected by DRM.
[0] https://github.blog/news-insights/policy-news-and-insights/s...
[1] https://github.com/github/dmca/blob/master/2020/11/2020-11-1...
It's been working great by itself for the most part since the beginning of the year, with only a couple of hiccups along the way.
We do use a custom cookies.txt file generated on the server as well as generate a `po_token` every time, which seems to help.
(I originally thought everything would just get blocked from a popular VPS provider, but surprisingly not?)
Most recently though, we were getting tons of errors like 429 until we switched to the `tv_embedded` client, which seems to have resolved things for the most part.
> What about Selenium or a headless browser solution?
>
> The yt-dlp maintainers have no interest in doing this except as a measure of last resort. A headless browser solution would be an admission of defeat and would go against the spirit of this project.
* Native integration with my phone music player, allowing for things like seamless playback, etc.
* Things I like on YouTube automatically go to my device.
* If a track is removed from YouTube, it stays on my device.
(Did you take 10 seconds to read my comment above?)
Also my issue is that I would NEVER upload the photos I have on my hard drive due to privacy issues, but if I had a local model that could categorize photos and whatnot, that would be cool. I have over 10k screenshots / images. Many of them have text on it, so probably need OCR.
> You are a digital hoarder.
Is this meant to be negative? Many videos I have watched on YouTube are now unavailable. I wish I had saved them, too, i.e. I wish I was a digital hoarder, too, but eh, no space for me.
The video experience for typical video files is great these days compared to the past. I think you may be viewing the past through rose colored glasses. For years it was a pain to deal with video because you had to navigate third party players (remember Real Player?), Flash plugins, and sketchy codec pack installs from adware infested download sites. If you were tech support for friends and family during that era, it was common to have to remove adware, spyware, and other unwanted programs after someone went down the rabbit home of trying to install software to watch some video they found.
The modern situation where your OS comes with software to play common files or you can install VLC and play anything is infinitely better than the past experience with local video.
I remember when VCR's came out and everyone would take TV shows and share them with their friends.
By now we should be able to share video on SD Cards that just pop into a slot on the top of the TV, but the electronics companies are now also the content companies, so they don't want to.
Has nothing to do with video per se. Normal embeddings, using the standard `<video>` element and no unnecessary JS nonsense, still work the same way they did in the 90s: Right click the video and download it, it's a media element like any other.
The reason why user experience is going to shite, is because turbocapitalism went to work on what was once The Internet, and is trying to turn it into a paywalled profit-machine.
I’m so confused reading these comments. Did everyone forget RealPlayer? Flash videos? All of the other nonsense we had to deal with to watch video on the internet?
I remember when someone slapped a big "Buffering" sign over the Real Networks logo on the company's building in Seattle.
> Phones are dominant now and have passed the PC generation by - in number, not capability.
And I'm saying phones have passed PCs in capabilities. Don't put words in my mouth, not all of them, obviously. I'm just pointing out that a desktop with a 5090 and 42" widescreen monitor doesn't fit in my pocket, and that fitting into my pocket is a capability that some people value.
Cody's lab removed a few of them and many others.
Oh, I wonder if they got performance to a reasonable level then? When the external JS requirements were first announced, they said it took upwards of half an hour, and a QuickJS developer wrote in the ticket that they didn’t see a path towards improving it significantly enough.
I could hold shift and drag on the timeline to select, copy, then paste it into a document or another video. I can't do that with VLC today. Apple removed the feature in later releases too.
That does mean we go, essentially:
Step 1: We barely have video at all.
Step 2: Everything is terrible.
https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/...
I have used it on a couple of client sites, and it works really well.
You can even add a thumbnail that shows before the video starts downloading/playing (the poster attribute). :-)
Oh and it's not working at all on my desktop with the same setup, it's telling me to disable ad block. I'd rather give up yt.
It didn't sound negative to me. I immediately associated it with people who obsessively recorded TV on VHS and their collections are now treasure troves of historic media not available from any other source. You do you.
If the concern is security, it sounds like the team went to great lengths to ensure the JS was sandboxed (as long as you’re using Deno).
If you’re using some sort of weird OS or architecture that Deno/Node doesn’t support, you might consider QuickJS, which is written in pure C and should work on anything. (Although it will be a lot slower, I’m not clear just how slow.) Admittedly, you then loose the sandboxing, although IMO it seems like it should safe to trust code being served by Google on the official Youtube domain. (You don’t have to trust Google in general to trust that they won’t serve you actual malware.)
It did not sound particularly negative to me either, but if it was, I wonder why.
* There is a liked videos playlist
Yes, I read your comment above.
Regarding the other two points, it is of course understandable why you'd want to download and have your own solution. But that is also obviously not an issue with Google engineers/PMs neglecting to think of a feature.
There are whole projects striving to provide a reliable way to just cut videos without having to recode [1] and after years the results are mixed and only working for very specific codecs; no wonder Apple decided that doing the same, to their quality standards of the time, was not worth the effort or a secondary feature that was not in scope.
Today with modern tools like VLC or MPV and ffmpeg nearly anything can be viewed, streamed, or locally saved by your average user with basic Google search skills.
And the number of free and paid video editing tools as far beyond what we ever had in the past.
Then there’s the vast improvement in codecs. It’s quite insane that we can have a feature length - 4k video with 8 channel audio in a 3GiB file.
The only problem about the modern world is streaming companies who purposely degrade the experience for money. And the solution is simply to fly the pirate flag high.
I'm not a fan of how much JS is required to make all that work though, especially given the vast majority of sites are just using one of two standards, HLS or DASH. Ideally the browsers would have those standards built-in so plain <video> elements can handle them (I think Safari is the only one which does that, and they only do HLS).
https://news.ycombinator.com/item?id=45358980
Yt-dlp: Upcoming new requirements for YouTube downloads - 1244 points, 620 comments
Flash, also almost came built into every browser.
By the time both had gone away, HTML video built in was here. Of course, there were players like jwPlayer what played video fine.
Today, most browsers have most codecs.
Camera manufacturers can easily refuse to record a stream of they detect it is protected, may be via watermarks or other sidechannel.
What really happened was that the feature was first paywalled as QuickTime Pro, then removed altogether, in typical enshittification fashion. It had nothing to do with the technical limitations of any of the codecs.
If it were a powerful, useful device that I could load my own software onto and make programmable without jumping through a bunch of hoops, instead of the ad-laden crapware that resulted from primarily two megacorps duking it out over how to best extort billions from app developers and users for their own benefit, then sure, I'd agree.
But phones aren't awesome little PCs, they're zombifying the majority of the public. They also, incidentally, are insidious little snitches busy at work trying to monetize every single thing about our daily lives.
Regardless, Google services getting worse over time is becoming a law rather than a tendency.
I can open a private window, clear cookies, clear app data or advertising id and have fresh slate that is not tainted by previous videos.
PS: While at Alphabet, if you ever run into the person who made the call to enable automatic AI translations on YT videos with no way to change language on mobile, please whack them on the head on behalf of us countless frustrated users.
Totally this, and not because powers suddenly realized they can't control Web like they controlled early "smart" dumb phones circa J2ME times.
MS Media Player eventually fell behind the curve, but eventually we got VLC and things got great.
But I'll always miss VirtualDub.
Then once you've found a codec, the other problem immediately rears its head: video compression is pretty bad if you want to use a widely supported codec, even if for no other reason than the fact that people use non-mainstream browsers that can be years out of date. So you are now dealing with massive amounts of storage space and bandwidth that are effectively being eaten up by duplicated files, and that isn't cheap either. To give an estimate, under most VPS providers that aren't hyperscalers, a plain text document can be served to a couple million users without having to think about your bandwidth fees. Images are bigger, but not by enough to worry about it. 20 minutes of 1080p video is about 500mb under a well made codec that doesn't mangle the video beyond belief. That video is going to reach at most 40000 people before you burn through 20 terabytes of bandwidth (the Hetzner default amount) and in reality, probably less because some people might rewatch the thing. Hosting video is the point where your bandwidth bill will overtake your storage bill.
And that's before we get into other expected niceties like scrolling through a video while it's playing. Modern video players (the "JS nonsense" ones) can both buffer a video and jump to any point in the video, even if it's outside the buffer. That's not a guarantee with the HTML video element; your browser is probably just going to keep quietly downloading the file while you're watching it (eating into server operator cost) and scrolling ahead in the video will just freeze the output until it's done downloading up until that point.
It's easy to claim hosting video is simple, when in practice it's probably the single worst thing on the internet (well that and running your own mailserver, but that's not only because of technical difficulties). Part of YouTube being bad is just hyper capitalism, sure, but the more complicated techniques like HLS/DASH pretty much entirely exist because hosting video is so expensive and "preventing your bandwidth bill from exploding" is really important. That's also why there's no real competition to YouTube; the metrics of hosting video only make sense if you have a Google amount of money and datacenters to throw at the problem, or don't care about your finances in the first place.
Businesses (in particular the literal biggest ad agency in the world) should know who they are partnering with. Not vetting the people they're allowing to place ads is at best negligent. The fact that the FBI warns people to use ad blockers to protect themselves from fraud (instead of anyone doing anything about it) is shameful. Someone either approved the scams or the system which allows these unvetted partners to operate. There should be a criminal investigation into how this came to be. Especially considering people have anecdotally said online that they've reported scam ads and received a reply that the ad was reviewed and determined to not violate policy (that may be Facebook, or both. In any case this applies to anyone). At that point they unambiguously have actual knowledge of and are a participant in the fraud. People at these ad companies should be looking at prison time if that is indeed happening.
Adolescence is a very good word to encompass it, lots of awkward experiments trying to make the latest thing stick along with some of them getting discarded along the way when we grow out of them, they turn out not to be (broadly) useful or fashion moves on. What I wonder about is if the personal computer has hit maturity now and we're past that experimental phase, for most people it's an appliance. Obviously you can still get PCs and treat them as a workstation to dive into whatever you're enthusiastic about but you need to specifically go out and pursue that, where the ecosystem might be lacking is a bridge between the device most have as their personal computer (phone/tablet) and something that'll introduce them to other areas.
Yes, and corporations are doing all the same stuff to our PCs as well.
There are also various handheld PCs.
Major platform like Netflix etc. don't implement that DRM since they care, it's because they content they distribute requires that they employ that measures, otherwise who produces the content doesn't give it to them. Content on YouTube does not have this requirement.
Also: implementing a strict DRM on all videos is probably bad for their reputation. That would restrict the devices that are able to play YouTube, and probably move a lot of content creators on other platforms that does not implement these requirements.
But in the modern age viewing and editing a video are seen as two entirely separate tasks. You simply do not expect the video player that comes with the OS to cut, copy, and paste videos, even though cut, copy, and paste are basic OS-level features. This is very much different from the experience of almost all other kinds of files. You use Microsoft word to view and edit your word processing documents. Or if you aren’t fancy you use notepad to view and edit your plain text documents. These text documents easily allow cut, copy, and paste.
I'm not sure what the rollout status actually is at the moment.
In the end, nobody will ever avoid people from having a camera pointed to a screen. At least till they can implant a description device in our brain, the stuff coming out of the screen can be recorded. Like in the past when people used to record movies at the cinema with cameras and upload them on emule. Sure, it would not be super high quality, but considering that is free compared to something you pay, who cares?
To me DRM is just a lost battle: while you can make it inconvenient to copy a media, people will always try to find a way. We used to pirate in the VHS era and that was not convenient, since you would have needed 2 VCR (quite expensive back then!) and it took the time of the whole movie to be copied.
Browsers generally do allow native seeking if the video is properly encoded and the site supports such niceties as Accept-Range: bytes.
On mobile (Firefox) I frequently have issues with videos freezing or videos crashing when I try to replay a section.
I freely admit to holding google software to a higher standard than e.g. random FOSS tools I use or saas from startups, however I also believe google has the talent, time, and money to where their software should basically be the best on Earth, and it's kinda shocking how often it's not and in what ways it's not. And YouTube is how old now?
The fact alone that I still can't toggle off Google maps "we found a faster route, tap ok to not change the route you change" thing...
(This may be because I have a whole swathe of adblockers, etc., plus I do a lot of `yt-dlp`ing from the same IP which may have me on a naughty list.)
They didn't say “can't run JS code”, but that from that location the solver could not be downloaded currently. It could be that it is an IPv6-only environment (IIRC youtube supports IPv6 but github does not), or just that all external sites must be assessed before whitelisted (I'm not sure why youtube would be but not github, but it is certainly possible).
Even then, there are a few competitors to YouTube like Nebula, PeerTube, and Odysee. But Nebula requires a subscription and PeerTube and Odysee have worse quality, because good video hosting and streaming is expensive.
The version in the Arch repos does not include the impersonate feature.
Agreed. Shorts about half the time don't display comments, the back button breaks in mysterious ways. And I use Chrome on both Intel and M macOS machines, so the best in class there is, but my Windows Chrome doesn't fare much better. And Adblock ain't at fault, I pay for premium.
And that's just the technical side. The content side is even worse, comments sections are overrun by bots, not to mention the countless AI slop and content thieves, and for fucks sake I get that high class youtubers have a lot of effort to do to make videos, but why youtube doesn't step in and put clear regulations on sponsorship blocks is beyond me. Betterhelp, AG1, airup, NordVPN (and VPNs in general) should be outright banned.
And the ads, for those who aren't paying for premium, are also just fucked up. Fake game ads (Kingshot who stole sound effects from the original indie Thronefall ...) galore.
Google makes money here, they could go and actually hire a few people to vet ads and police the large youtubers with their sponsors.
What else does youtube music get you? I can play on my phone with the screen off with yt vanced ( and I would never pay just for that feature, because I remember when it was free and they took it away )
Nothing specific, just tend to run tools in restricted VMs where things are whitelisted and it's pretty much as locked down as it can be. It can run whatever I want it to run, including JS, and as the logs in my previous comment shows, it is in fact running both Python and JS, and has access to YouTube, otherwise it wouldn't have worked :)
I tend to have the rule of "least possible privileges" so most stuff I run like that has to be "prepped" basically, especially things that does network requests sometimes (updating the solver in this case), just a matter of packaging it before I run it, so it's not the end of the world.
No weird OS or architecture here, just good ol' Linux.
> IMO it seems like it should safe to trust code being served by Google on the official Youtube domain
The JS script being downloaded is from the yt-dlp GitHub organization (https://github.com/yt-dlp/ejs/releases/download/0.3.1/yt.sol...), not from Google or any websites, FWIW.
But eh either 5s of black screen or 60s of ads. I tried watching a 15 min yt video without adblock and it had 5 ad breaks with some unskippable ads.
My understanding is that Chrome for Android has supported it for some time by way of delegating to android's native media support which included HLS.
Desktop and mobile Safari has had it enabled for a long time, and thus so has Chrome for iOS.
So this should eventually help things.
I think in this case, my own laziness is what makes it worse than it has to, currently I'm doing whitelisting by domains, so youtube.com for the yt-dlp runner is obviously OK, and I'd want to avoid whitelisting github.com for that, since it's just downloading one JS file.
For now manually copying the config file into my SCM or just whitelisting GitHub for initial download does the trick. I guess I just had to squeeze in one complaint in my previous comment so I could get the HN stamp of approval, can't be too positive.
FWIW, when I use Chromium (logged out/in) on Linux, everything works fine. If I use Firefox (logged in), it works worse. If I change the user-agent to Chromium in Firefox, I get faster buffering than when I use the default user-agent. Make of that what you will.
And actually malware IMO. IIRC many of its installs were through tricks: silent installations with other software, drive-by downloads, etc. And once in, by fair means or fowl, it took over every video playing avenue whether you wanted it to or not, and it itself included other malware like Comet Cursor.
There are companies that make money by placing ("out of home") ads in the public space. Not looking at those would then also be unethical? Priests sermoning on "thou shalt not hide thy eyes from the fancy displays in the bus stop"? An ad-police, the Conscious Ethical Viewing Effort Force Edict? That's some low-key dystopian thought.
And in-between those we had Media Player Classic together with the Combined Community Codec Pack, and once you had MPC + CCCP installed, you could finally view those glorious aXXo-branded 700MB files found on a random DC++ hub.
I'm curious as to what the scam ads you mention actually are. I use an adblocker most of the time, and most of the adverts that I do see are annoying but fairly innocuous. Furniture, insurance, charter schools, social media apps, shitty mobile games, et cetera. I've seen plenty of slightly scummy adverts, but I can't recall seeing many that are really harmful or blatantly fraudulent. I'm curious to hear what adverts other people are seeing that are so outrageous.
Around 30-50x slower than V8 (node/deno).
I've been recently benchmarking a lot of different engines: https://ivankra.github.io/javascript-zoo/
Some of the people who produce videos for a living require vastly different tools than someone who needs to trim the edges of a short home video clip, so the the UI and UX has to be different, otherwise these people won't be able to effectively do their job.
For writing, everyone pretty much does it the same way. You sit down, you enter characters with a keyboard, and sometimes to remove/edit stuff. Of course, there are professional tools for people who write stories for a living, that helps you keep track of arcs, characters, environments and so on, and many professionals do use them.
So while it looks like "Ah, Word actually works for everyone, why can't we do the same for video?" there are still professionals who need tools specifically for "writing stories" or "writing screenplays", and same in other areas :)
Miss? I still used it just last week! Still haven't found anything that is as fast and easy to take a directory of frames in .png and concatenating them together into a proper video. I use it post 3D renders all the time :)
With that, uBO and Sponsorblock, I never see any ads and have a great YT experience. (I don't have premium either)
A relatively low compression with hardware h.264 will still take up a lot less space and throughput than mpeg-2 or raw.
How is this any worse than what YouTube does now? Real Player and flash never made you watch ads.
A solver running at 50ms instead of 1ms I would say is practically imperceptible to most users, but I don't know what time span you are measuring with those numbers.
there's a lot of iphone/ipad users out there.
> Everything's already on youtube and they let you make playlists, and they have playlists of the top charts already
I don't use it but ui probably. ads maybe. plenty of people have money and don't want the inconvenience of trying to get around it.
> Past versions of RealPlayer have been criticized for containing adware and spyware such as Comet Cursor. ... PC World magazine named RealPlayer (1999 Version) as number 2 in its 2006 list "The 25 Worst Tech Products of All Time", writing that RealPlayer "had a disturbing way of making itself a little too much at home on your PC--installing itself as the default media player, taking liberties with your Windows Registry, popping up annoying 'messages' that were really just advertisements, and so on."
DRM just raises the bar a bit for access. For example in gaming, it gives the publishers a head start over pirates. If the game is unavailable for pirates during the largest hype, a lot more people buy the product than otherwise.
Also, sometimes DRM wins. For example, right now, Denuvo is undefeated. Some hardware dongle authenticated software are also unavailable in pirated form. Of course one could argue that eventually these would be defeated as well, but, DRM still served its purpose, in defending the product from unauthorized copying in times when it was most desirable.
To me, DRM hasn't made sense when I was looking at it from a Free Software standpoint, but it now makes sense from a product management standpoint.
This is such a deep misunderstanding of QuickTime that it's hard to know where to begin. QuickTime supported standards whenever possible, but you must know that QuickTime pioneered digital video and audio before open media standards were ubiquitous, and was in fact the blueprint (sometimes literally, see https://en.wikipedia.org/wiki/ISO_base_media_file_format) for today's standards. As a top-level history lesson, do yourself a favor and ask your favorite LLM, "What technology standards did QuickTime use and inspire?"
The GPU would simply return all zeros for area where DRM-protected video is being played. Duh.
Also, when playing music you won't be hit with ads.
Your setup can move with you wherever you are, home, travel, in the vehicle. This can be helpful for engaging the audible sensors of small aliens sans screen.
Youtube without ads on every device, anywhere, is quite a different experience.
That was never true. QuickTime 1.0 famously included the Apple Video ("Road Pizza") codec, which had to do temporal compression in order to support video delivery at usable file sizes.
> There are whole projects striving to provide a reliable way to just cut videos without having to recode…
Again, even QuickTime 1.0 did this perfectly.
What's going on with Google being extra stingy seems to correlate well with the AI boom (curse). I suspect there are companies running ruthless bots scraping TBs of videos from YouTube. Not just new popular videos that are on fast storage, but old obscure ones that probably require more resources to fetch. This is unnatural, and goes contrary to the behaviour pattern of normal users that YT is optimized for.
I think AI-companies abusing the internet is why things are getting more constrained in general. If I'm right, they deserve the bulk of the blame imo.
Example from yesterday: https://thenewstack.io/ffmpeg-to-google-fund-us-or-stop-send...
There might be a resurgence of some kind of device like a PC.
Seeing iPadOS gain desktop features, and MacOS starting to adopt more and more iPadOS type features clearly shows the desktop, laptop and tablet experiences will be merged at some point by Apple at least.
I guess that isn't quite enough to prevent screen recording but these devices also support DRM which does this.
There's a reason that once alternatives became available, users left QT as quickly as they could.
QT was pioneering A/V solutions; I won't argue against that. So was Flash, so was Shockwave, so was RealMedia, and remember the horror that was Windows Media Player (from the Win98 era)?
Yes, the regulators will try and manage it, but eventually every decision about who can use the robot/AI genie for what will go through them because of the robot/AI genie's enormous strain on natural resources, and you'll be back to a planned economy where the central planners are the environmental regulators.
There are hard decisions to make as well. Who gets to open a rare earth processing plant and have a tailing pond that completely ecologically destroys that area? Someone has to do it to enable the modern economy. It's kind of like we won't have a good AI video generator and will always be behind China if some Youtube creators refuse to license their content for AI training. Same goes for the rare earth processing tailing pond. Nobody can agree on where it's going to go, so China wins.
What do you mean by it has to ?
$ time ./v8 /bench/yt-dlp.js | md5sum -
a730e32029941bf1f60f9587a6d9554f -
real 0m0.252s
user 0m0.386s
sys 0m0.074s
$ time ./quickjs /bench/yt-dlp.js | md5sum -
a730e32029941bf1f60f9587a6d9554f -
real 0m2.280s
user 0m2.507s
sys 0m0.031s
So about 10x slower for the current flavor of YouTube challenges: 0.2s -> 2.2s.A few more results on same input:
spidermonkey 0.334s
v8_jitless 1.096s => about the limit for JIT-less interpreters like quickjs
graaljs 2.396s
escargot 3.344s
libjs 4.501s
brimstone 6.328s
modernc-quickjs 12.767s (pure Go port of quickjs)
fastschema-qjs 1m22.801s (Wasm port of quickjs)
boa 1m28.070s
quickjs-ng 2m49.202sAdditionally, Google has a well known policy of allowing people to take out ads (which look exactly like a search result) for someone else's trademark (defeating the entire purpose of a trademark), and the FBI has a frequently referenced notice[2] to US citizens to be aware of fraud where scammers take out impersonating ads on "Internet search results" to e.g. lead people to the wrong site for financial institutions. It absolutely blows my mind that no one is prosecuted for participating in this.
[0] https://old.reddit.com/r/youtube/comments/18gjiqy/youtube_do...
[1] https://www.reddit.com/r/Scams/comments/1h6rdtj/massive_incr...
See also: """Zawinski's Law states: "Every program attempts to expand until it can read mail. Those programs which cannot so expand are replaced by ones which can."""" and """Greenspun's tenth rule of programming is an aphorism in computer programming and especially programming language circles that states:[1][2]
Any sufficiently complicated C or Fortran program contains an ad hoc, informally-specified, bug-ridden, slow implementation of half of Common Lisp."""
(from the above I conclude that if you want to take over the computer world, implementing a mail reader with an embedded Lisp).
A company can increase its profits (1) by improving their products and services, so that they'll get more customers or customers willing to pay more, or (2) by increasing how much of their revenue is profit by (e.g.) cutting corners on quality or raising prices or selling customers' personal information to third parties.
Either of those can work. Yes, a noble idealistic company might choose #1 over #2 out of virtue, but I think that if most companies picked #1 in the past it's because they thought they'd get richer that way.
I think what's happened is that for some reason #2 has become easier or more profitable, relative to #1, over time. Or maybe it used not to be so clearly understood that #2 was a live option, and #1 seemed safer, but now everyone knows that you can get away with #2 so they do that.
Early QuickTime was a miracle playing video on 25 MHz Motorola CPUs.
yes, "AI" can be useful, but nonsense and slop are not.
I think what breaks computer peoples' brains a bit is the idea that the bytes flying around networks aren't just bytes, they represent information that society has granted individuals or businesses the right to control and the fact technology doesn't treat any bytes special is a problem when society wants to regulate the rights over that information.
I have worked on computer systems for media organizations and they have a very different view of intellectual property than the average programmer or technologist. The people I find the most militant about protecting their rights are the small guys, because they can't afford to sue a pediatrician for an Elsa mural or something.
It's the users who suffer when this happens, not the manufacturers. The manufacturers couldn't care less, the money is already in the bank.
If the manufacturers were required to replace all the revoked devices at their cost, that would be a real incentive.
- No permission restrictions available. Scripts have full file system and network access.
- Supports downloading EJS script dependencies from npm (--remote-components ejs:npm).
- No support for SOCKS proxies when downloading EJS script dependencies from npm.
Something has really changed to the worse lately. I think it has to do with anti-ad programs as well as AI, like the UI also changed. It is important to point out that while you do not have any issues, other people do or may.
Actually, it's completely to the point of being unusable. For several videos now, I've watched halfway through and suddenly playback stops and the video is replaced with "Error." And every time this happens I have to just pray the videos on youtube because, without exaggeration, it will never work again. Even after checking a week later.
We'll eventually be able to reverse-engineer that and run it programmatically, but it will take a long time.
And when they catch you doing so, they'll ban your (personalized) encryption key so you'll just have to buy another graphics card to get another key.
This is how it already works, not some future thing. But the licensing fees make it so it only gets used for Hollywood-level movies.
No. Because even if it might be complicated, any website developer can test their website against a wide array of browsers, in a more or less automated way.
I think Word and other text documents are the exception not the rule. Image files have been pretty much always been viewed in different programs than the ones used for editing (although some viewers have rudimentary crop or rotate capabilities). Same with PDFs or PS files we alway view in something different than the editor. Nobody listen to audio files in e.g. Audacity.
In fact I can't even think about any other format except for docs where the editor is also the prime viewer (I suspect the reason is that originally consumption of docs was printing)
Piracy did pretty well, but that's because the legal experience was so terrible. But even then, you had to download obscure players and codec packs, and sourcing wasn't as easy as it is now. For reference VLC and BitTorrent released in 2001.
I'd say the user experience steadily improved and peaked in the mid-2010s. I think it is worse now, but if it is worse now, back then, it was terrible, for different reasons.
certainly, but for Google, that bandwidth and compute is a drop in the bucket. at the scale Google operates, even if there were a hundred such bots (there aren't - few companies can afford to store exabytes of data), those wouldn't even register on the radar. of course, like the other social media oligarchs, Google wants to be the only entity with unrestricted access to their catalog of other people's content, but even that isn't their motivation here - "login to prove you're not a bot :^)" was ALWAYS going to happen, even without the AI bubble.
enshitiffication is unstoppable and irreversible, and Google is its prophet - what they don't kill, they turn to shit.
>I think AI-companies abusing the internet is why things are getting more constrained in general.
even before the AI bubble, every other fuckass blog with 0.5 daily visitors was behind Cloudflare, for the same reason those fuckass blogs are built with FOTM javascript frameworks - there's nowt so queer as webshits.
Actually I think this is kind of a yt-dlp bug, since it doesn't need to use IPv6 for the github download.
You are not standing up for them by pirating their stuff from YouTube.
If you have a problem with it, it is on you to stop using YouTube to view their content. You did not gain a moral right to pirate their stuff just because you don't like the deal.
The reason newspaper do the delivery was the promise that you'll see the ads, and they get to make money from that ads.
If they notice that you do all of the work of providing you the newspaper almost instantly and you dont see the ads, they are either gonna have to a) politely refuse to serve you b) point you to an alternate way of accessing the newspaper ("Newspaper Premium" for $$)
I'm completely ignorant on this topic but couldn't this be related to patents?
This functionality was taken for granted when video on personal computers were first invented.
No, Firefox always been a second-rate guest at Google properties, and I'm not expecting it to change soon either. Why would they make it better when status quo means more Chrome users (in their mind)?
Second once the paper's in my hands, I get to do what I want with it, and the expectations of the paper company has no bearing on it.
If they don't want to give me the paper for free, they should stop, but they haven't yet. Their expectation to make a certain amount of revenue from ads doesn't obligate the consumer. If their business model isn't making them the profit they need, it's on them to change their strategy.
WARNING: [youtube] [jsc] Remote components challenge solver script (deno) and NPM package (deno) were skipped. These may be required to solve JS challenges. You can enable these downloads with --remote-components ejs:github (recommended) or --remote-components ejs:npm , respectively. For more information and alternatives, refer to https://github.com/yt-dlp/yt-dlp/wiki/EJS
Providing one of the flags automatically lets it automatically get what it needs. No need for AUR packages :)Edit: Maybe I misunderstood, now when I re-read your post. You meant it'll prevent the automatic download at runtime perhaps? That sounds about right if so.
yt-dlp supports a huge list of websites other than youtube
Wasn't dialup largely asymmetric too? I don't think p2p streaming was even on the radar back then.
Absolutely! I run an adblocker as well!
At the same time, you'd agree they have the right to refuse to serve you (access denied) or make you jump through hoops (solve a challenge etc)
I would expect YouTube managers to pressure the Chrome managers, because YouTube brings in billions of dollars every month. Likewise I would expect the trend to move in favor of YouTube, because the browser loses money at an increasing amount and YouTube generates money at an increasing amount. 70% of YouTube happens on Mobile, and in the US more people are now watching on TVs than phones. Source: Nielsen, the old-school company that has huge influence over ads.
The site pops a literal warning saying "having problems? turn off your ad blocker" so I'm not sure where the mysteries lie here.
They're testing on thousands of devices. And they're probably even testing against ad-blockers on your bro-browser. But they're certainly not motivated to optimize that experience, so you get what you get.
Never liked VLC, but that's just me.
Regardless, from what I remember it was never as annoying as being screamed at to buy a minivan.
The devil is in the details
There are some formats, perhaps the one(s) the user wants, that do not require a JS runtime
Interesting that "signing up" for a website publishing public infomation and "logging in" may not always work in the user's favor. For example, here they claim it limits format availability
"Format availability without a JS runtime is expected to worsen as time goes on, and this will not be considered a "bug" but rather an inevitability for which there is no solution. It's also expected that, eventually, support for YouTube will not be possible at all without a JS runtime."
It is speculated that this format availability might change in the future
It looks like the video loads and starts playing in some kind of in-app browser, but there is just full-screen video and nothing else. I also never faced any ads in this "mode" of playing a video, yet recently some strange things started happening where the playback would start together with an audio-track from the advertisement. The video itself would start playing but the sound would be replaced with the sound from ad which seemed very odd and much like a bug, only when advertisement audio track ends it will be replaced with audio track from the video itself.
I'm genuinely curious how is the whole playback process different when I watch a video from the Telegram preview, can I somehow achieve the same "just fullscreen video" kind of playback on the desktop as well? Does anyone have any insight?
I meant the challenge that is the reason they need the Javascript in the first place.
You can’t very well run yt-dlp without trusting yt-dlp code.
The general public doesn't know how to program. They don't know what variables are, that they have types, they think functions are what rich people call a dinner party or corporate event. On computers, where there are no such restrictions, the majority of the public haven't suddenly become hobbyist programmers in their spare time.
If you're so blinded by hate because there are hoops (which there absolutely are), and you refuse to jump at all, not even a little bit, simply on principle, I mean, you do you. Meanwhile, there are people who aren't the majority of the public, but that want to do things that able to get into tech learning to code despite the epic of Apple vs Google vs Gilgamesh flattening towns. It would be great if it were easier because the phones were more open, but at some point you gotta go with the serenity prayer.
gets me
https://imgur.com/a/bseFwX3 on iOS 18, and https://imgur.com/a/Ksbz3zW on iOS 26
Maybe you're holding it wrong?
I tried it on my slower laptop. I get:
node(v8) : 1.25s user 0.12s system 154% cpu 0.892 total
quickjs : 6.54s user 0.11s system 99% cpu 6.671 total
quickjs-ng: 545.55s user 202.67s system 99% cpu 12:32.28 total
A 5x slowdown for an interpreted C JS engine is pretty good I think, compared to all the time, code and effort put into v8 over the years!For example I have to scroll down a lot to get to the comment section, the suggestions are all over the place, and so forth. Annoying.
Also due to uBlock Origin, some videos do not start and I have to refresh. It is not much of an issue for me but the fact that apparently I need a huge monitor to see the "old layout" is a problem for me.
It feels like something the FTC should be investigating, or perhaps a European equivalent, but I doubt it will.
I used to be an MP3 and movie hoarder, then somehow I realized it was not worth my time.
Now I only hoard my photos and I keep them all on my phone (slash cloud) for me to actually scroll through regularly.
Lol, that's so true.
>Google wants to be the only entity with unrestricted access to their catalog of other people's content,
Yeah, data is money. Reddit are doing the same thing, but even more aggressively. You want API access? Pay an astronomical amount of money for it, that is other people's content. Reddit also hosts a much small amount of media relative to YT.
For YT, I'm not so sure the increase in traffic is a drop in the bucket for them. It can depend a lot on which videos are being fetched. Cheap storage is cheap only for storing a large amount of data, not doing an unusual amount of (random) access.
Who knows.
> > IMO it seems like it should safe to trust code being served by Google on the official Youtube domain
Which came from a misunderstanding about where the downloadable solver script comes from, as it doesn't come from youtube.com, it comes from github.com (yt-dlp org), I was just correcting that misunderstanding.
> You can’t very well run yt-dlp without trusting yt-dlp code.
That makes a ton of sense and I agree! I'm not sure how that is related to anything though? I download yt-dlp from Arch repositories, so yes I'm trusting Arch maintainers and of course yt-dlp developers. Then I'm adding a manifest which controls what this application can actually access, which is basically a VM config, where I define that it can access youtube.com (and a bunch of other sites I mirror/archive). This is the part that shouldn't have github.com/* access.
Again as mentioned, not a big issue, plenty of workarounds, so not the end of the world.
I mean YT has perfect knowledge of its adversary's moves and a huge staff and they're still losing. It must at least be satisfying. Also its an important job.
When Firefox dies, the last glimmer of hope will go out.
Discord has started to become absurdly aggressive with it too, to the point that they don't even let you load messages whilst logged in if you're on a VPN.
It really makes me feel like there will be an inflection point in a few years, where the internet is cleaved in two. You'll have the 'free' internet that is full of interesting stuff but also full of malware, spam and scams, and you'll have the squeaky clean corporate internet, basically a facsimile of WeChat's super-app, of which you'll only have access with a government ID. No VPNs or anti-fingerprinting allowed.
If they want the "Google has no browser monopoly!" claim, then they should be obligated to make their services work perfectly with the alternative, instead of subtly scheming and manipulating people.
One thing you can do is to use an invidious instance. Those don't support live streams and shorts, but at least you don't have to deal with the atrocious normal YouTube frontend.
...Can they not just bundle a solver? For that matter, deno is available as a PyPI package.
> as I'm probably not alone in running yt-dlp in a restricted environment
...An environment that doesn't allow you to install Deno, but does allow you to install yt-dlp?
> If you're so blinded by hate because there are hoops (which there absolutely are), and you refuse to jump at all
It's not necessary to bring that energy to HN and I'm going to nope right on at the point you accuse me of not being technical enough.
Notably, YouTube these days prioritize AV1 codec even if you don’t have gpu acceleration for it, making lots of systems fall back to CPU decoding and making it completely unusable. Install the h264ify extension to force h264 during content negotiation and get your gpu decoding back.
Even if you can make a matrix of all those combinations, it’s even more complex than that to test in practice. Take my laptop for example, it starts off good and manages the cpu decoding for a while, a few minutes into a video it overheats and throttles, causing stutter.
What YouTube should do on the other hand, and I’m sure they already do, is to collect metrics from all playbacks. That should show black on white how many users struggle with each codec.
I don’t think I’m in any minority here given how many million installations the h264ify extension has. Google simply care more about their bandwidth cost than the user experience.