News for hackers. Stuff that matters.
Re:Show HN: A personal YouTube frontend based on yt-dlp by thomassmith65 on Saturday March 15, 2025 @10:01PM (#43376456)
This year AlphaGoogle has an initiative to kill ad-blockers. To that end, Youtube now aborts playback after 60 seconds if it cannot contact its ad server to play commercials.

It's clear where this is heading:

1) Youtube will go after software like yt-dlp to ensure only AlphaGoogle-sanctioned players can play its videos

2) Youtube will encode commercials directly into the videos it streams

Both will come to pass. It's not 'if' but 'when'

Re:Show HN: A personal YouTube frontend based on yt-dlp by zozbot234 on Saturday March 15, 2025 @10:12PM (#43376494)
> Youtube will encode commercials directly into the videos it streams

They stream the commercials separately on purpose, because this makes it a whole lot easier for them to track ad impression metrics. Splicing the ad within the same feed is technically quite feasible and indeed almost trivial, it doesn't even require a re-encoding of the entire video. So we can assume that they're avoiding that for a reason.

Re:Show HN: A personal YouTube frontend based on yt-dlp by phantomathkg on Saturday March 15, 2025 @11:56PM (#43376856)
Server Side Ad Insertion is a production technology used by many OTT services, so it is not something new.

What it means is adblocker can block the reporting API, but you still get to watch the ad and cost the streaming provider wasting money to splice the ad.

Re:Show HN: A personal YouTube frontend based on yt-dlp by chii on Saturday March 15, 2025 @11:36PM (#43376788)
it isn't cheap to splice a video.

Even if they do it via some sort of chunking, then it's possible to skip chunks easily too (aka, relatively easy to bypass given the amount of effort to implement).

Not to mention it's hard to do caching this way imho.

Re:Show HN: A personal YouTube frontend based on yt-dlp by CuriouslyC on Sunday March 16, 2025 @11:00AM (#43379583)
And we'll have middleware that detects and splices out commercials based on frame fingerprints not long after. People hate ads.

It'll definitely trouble the non-technical set though.

Re:Show HN: A personal YouTube frontend based on yt-dlp by thomassmith65 on Sunday March 16, 2025 @09:47PM (#43384414)
I look forward to the day (if it ever comes) that on-device AI is powerful enough to identify commercials in podcasts and splice them out.