699
submitted 4 months ago by downpunxx@fedia.io to c/technology@lemmy.world

YouTube has been spotted testing server-side ads, which could pose a problem to ad blockers.

you are viewing a single comment's thread
view the rest of the comments
[-] KillingTimeItself@lemmy.dbzer0.com 4 points 4 months ago

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.

[-] magic_lobster_party@kbin.run 2 points 4 months ago

Ideally, youtube won't be natively encoding the ads into the videos, because that would be a nightmare

I’m afraid this is what they’re going for.

[-] KillingTimeItself@lemmy.dbzer0.com 1 points 4 months ago

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.

[-] magic_lobster_party@kbin.run 2 points 4 months ago* (last edited 4 months ago)

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.

[-] KillingTimeItself@lemmy.dbzer0.com 1 points 4 months ago

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.

this post was submitted on 25 Jul 2024
699 points (98.5% liked)

Technology

59674 readers
2898 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS