this post was submitted on 25 Jul 2024
697 points (98.5% liked)
Technology
59636 readers
3522 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed
Approved Bots
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
if you're downloading the video locally it would be incredibly trivial to remove the segment of the ad. There are various different mechanisms i can think of that would work.
obviously, beginning and end ads are super trivial.
Ideally, youtube won't be natively encoding the ads into the videos, because that would be a nightmare, so presumably they're doing injection instead, that would be pretty obvious from the get go.
If not, they have to have some kind of interface for the advertisement you could very easily use that to track the ad placement itself, though that might be problematic.
There are likely other clever things that can be done, we'll have to see what happens.
I’m afraid this is what they’re going for.
if they did, the only way it would work is if they live encode every video on request, which as we know from twitch, is incredibly cost prohibitive. So i doubt it. This could mostly be assuaged through caching, but i'm not sure how long the economics hold up on that compared to just not doing any live encoding at all.
No, that’s not necessary. The only thing they need to do is to find an I-Frame (which there are plenty of), make a cut at that frame, show the ad instead, and then resume to the original video after the ad is done. No extra encoding is involved. It’s just like concatenating video files together.
I’ve done similar stuff like this. It’s not too difficult, at least not in H264. Not sure about YouTube’s own format, but I guess it’s quite similar.
that's what im saying. Maybe not in this thread, idk, i've had a few of these now, but they're almost certainly just injecting the AD somewhere through the middle of the video.