News for hackers. Stuff that matters.
Re:NewPipe – The lightweight YouTube experience for Android by vbezhenar on Saturday November 04, 2023 @05:10PM (#38145148)
The end game is encrypted DRM stream (which is decrypted in the display) with encoded ads (so you can't block it tinkering with JS).

I guess that only abundance of devices without DRM is stopping this scenario.

Re:NewPipe – The lightweight YouTube experience for Android by tomrod on Saturday November 04, 2023 @05:21PM (#38145258)
> The end game is encrypted DRM stream

That's not the endgame -- Digg:Reddit::YouTube:Vimeo is the end game, IMHO.

Re:NewPipe – The lightweight YouTube experience for Android by ethbr1 on Saturday November 04, 2023 @05:12PM (#38145169)
Only general purpose computers are stopping this scenario.
Re:NewPipe – The lightweight YouTube experience for Android by richwater on Saturday November 04, 2023 @05:18PM (#38145231)
> encrypted DRM stream

Widevine already exists and is increasingly difficult to crack, especially the key levels required for 4k content.

> encoded ads

Only a matter of time before hardware encoders can do this on the fly

Re:NewPipe – The lightweight YouTube experience for Android by alkonaut on Saturday November 04, 2023 @06:11PM (#38145703)
How are the ads even skippable on YouTube? I have never really had a good answer to that. I mean, why is the ad even a different stream or detectable on the client? Shouldn't the ads just be spliced into the videos if you really want to make sure people watch them? Is it because it would be prohibitively expensive to do that kind of live encoding for each viewer?
Re:NewPipe – The lightweight YouTube experience for Android by jack_pp on Saturday November 04, 2023 @06:23PM (#38145797)
You wouldn't even need live encoding because every YouTube video is normalized and if you have two streams that were encoded with the same parameters you can cut and concatenate without re encoding
Re:NewPipe – The lightweight YouTube experience for Android by meindnoch on Saturday November 04, 2023 @06:25PM (#38145812)
Because you could just seek over them?
Re:NewPipe – The lightweight YouTube experience for Android by alkonaut on Saturday November 04, 2023 @06:36PM (#38145924)
Yes, but the server knows exactly what frames it has sent you and when. If you don't want to watch the ad frames there's nothing the server can do, but it can make sure to not send you the frame that comes after the ad, until the 10 seconds of the ad has passed since it sent you the last frame before the ad.
Re:NewPipe – The lightweight YouTube experience for Android by tux3 on Saturday November 04, 2023 @07:08PM (#38146166)
That works for pre-roll ads, forcing the client to silence them and wait at best (I believe the Twitch streaming service does this)

For mid-stream ads, that doesn't work. You could pre-fetch the ad and surrounding video early, so that you can watch buffered content while the server thinks an ad is playing.

Re:NewPipe – The lightweight YouTube experience for Android by alkonaut on Saturday November 04, 2023 @07:51PM (#38146488)
The server would need to not allow buffering further than the next ad.
Re:NewPipe – The lightweight YouTube experience for Android by ethbr1 on Saturday November 04, 2023 @08:56PM (#38146884)
Multistream client, continually skipping around, and stitching together buffers?
Re:NewPipe – The lightweight YouTube experience for Android by meindnoch on Sunday November 05, 2023 @06:42AM (#38150272)
Ok, but now you see, it would be a bit more involved than just splicing together static byte streams that even a dumb CDN can accomplish.
Re:NewPipe – The lightweight YouTube experience for Android by meindnoch on Sunday November 05, 2023 @06:39AM (#38150255)
So basically you would disallow pre-buffering more than an ad's worth of video? I'm not sure about that...
Re:NewPipe – The lightweight YouTube experience for Android by alkonaut on Sunday November 05, 2023 @06:44PM (#38157000)
Yes. Or at least not past the next ad. No problem buffering up to the following ad.
Re:NewPipe – The lightweight YouTube experience for Android by vbezhenar on Sunday November 05, 2023 @09:05AM (#38151211)
Right now (or few months ago, when I tinkered with it) ads are different streams, so to skip them, ublock intercepts and alters API responses, stripping ad info. Why they're not embedded into video stream, that I don't know.
Re:NewPipe – The lightweight YouTube experience for Android by m-p-3 on Saturday November 04, 2023 @07:02PM (#38146121)
And with Microsoft pushing TPM requirements with Windows 11 it's just a matter of time before thing are locked down even further.