I'm going to make a browser extension that can right-click-save *any* web video, even the ones streamed in segments.
There's a reason browsers don't have a button for that already and the reason is that it's hard, so I'm probably going to go insane.
There's a reason browsers don't have a button for that already and the reason is that it's hard, so I'm probably going to go insane.
Comments
The surface area looks small but it's deceptive, there's a lot of complexity here.
remuxing separate audio/video channels is going to be a pain. especially if I want to think about handling mid-stream resolution/codec switches (can container formats even represent such things?). I'll leave this out of the MVP though.
https://www.w3.org/TR/mse-byte-stream-format-registry/#registry
This extension, as described, would be able to nab anything that the browser can play. Different approach, really.
If it ends up existing, I look forward to a ytdl extractor using it. :)
https://bsky.app/profile/retr0.id/post/3l7iu456qzx2k
I think the idea with this is to make use of the fact that a lot of video playback in sites now is pretty standardised.
the CDM uses the response to derive the required key material, using whitebox crypto and/or hardware security features
Wether this is helpful or not I don't know but opera gx has an AI enhancer for YouTube, and on movies using it lets capturing it work.
also drm is unavoidable
that's useful
I'm super interested in what you find out!!
Streamed video isn't just "here's the video URL, play it", it's an incredibly complex state machine.