Live data from Hacker News

Yt-dlp: External JavaScript runtime now required for full YouTube support

github.com

341–350 of 646 posts

Re: Yt-dlp: External JavaScript runtime now required for full YouTube support

#341

Earlier quoted context omitted.

On Linux you can feed the GPU encoded bitstream and then GPU will use hardware to decode and display it as overlay.

Why is this relevant? To be clear, I'm asking from a place of ignorance. Are you saying that because the video player can have the video decoding happen entirely on the GPU, screen recording software can't pick it up? Couldn't the software just read from the GPU buffer?

> Couldn't the software just read from the GPU buffer?

The GPU would simply return all zeros for area where DRM-protected video is being played. Duh.

Re: Yt-dlp: External JavaScript runtime now required for full YouTube support

#342
post #308

Earlier quoted context omitted.

Making a profit doesn't mean that their costs aren't so high that adblocking isn't compatible. 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"

I don't see how ad-blocking is unethical. 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.

It would be like attending a time-share dinner and putting in earplugs during their speech. I definitely think it's permissible to do it, but it's also permissible for them to kick you out for doing it.

Re: Yt-dlp: External JavaScript runtime now required for full YouTube support

#345
post #36

I use yt-dlp (and back then youtube-dl) all the time to archive my liked videos. Started back in around 2010, now I have tens of thousands of videos saved. Storage is cheap and a huge percent of them are not available anymore on the site. 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.

how do you manage the archive? I mean the file hierarchy structures etc. i started archiving youtube videos recently, now saving descriptions and other metadatas too, but simply having them all in one directory doesn't seem to be a good idea.

Re: Yt-dlp: External JavaScript runtime now required for full YouTube support

#346

Earlier quoted context omitted.

I have no problems with YouTube at all. Perhaps it's because I pay for Premium (primarily to get YouTube music). Regardless, Google services getting worse over time is becoming a law rather than a tendency.

I don't get the value ad of youtube music. Everything's already on youtube and they let you make playlists, and they have playlists of the top charts already. 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 )

You can play youtube videos (ad free) as music on any chromecast device including chromecast homes with the microphone turned off.

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.

Re: Yt-dlp: External JavaScript runtime now required for full YouTube support

#347
post #186

Earlier quoted context omitted.

Glad to hear it’s faster now! YouTube barely works in a full-on browser these days, props to the team that keeps it accessible via a Python script!

I use YouTube on a daily basis. I haven't seen any of these problems.

do you never encounter opening youtube video in a new tab only for video itself to load, while rest of the page doesn't?

Re: Yt-dlp: External JavaScript runtime now required for full YouTube support

#349

Earlier quoted context omitted.

What environment are you using that: - Has access to Youtube - Can run Python code - Can’t run JS code 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…

> What environment are you using that: - Has access to Youtube - Can run Python code - Can’t run JS code 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…

This is the way. Leaving so many packages with unfettered access to your system is only so secure.

Re: Yt-dlp: External JavaScript runtime now required for full YouTube support

#350

Earlier quoted context omitted.

Yes, I see Youtube going deep into enshitiffication. On my Macbook this morning with a FF-dev edition it just stopped to work this morning. Don't know if it's related to the fact I tried to install an extension to "force H264" on my Ubuntu box. On the latter fans started to go crazy as soon as I open a single youtube tab lately and a quick research led me there. Actually at this point the only thing that makes the go…

It’s not just you. My Firefox, with no extensions, have struggled on YouTube the past weeks. 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.

That may also just be Firefox's way of telling you it has updated and needs to be restarted.
Post reply on HN