this post was submitted on 14 Jun 2024
263 points (97.8% liked)

Privacy

32142 readers
1355 users here now

A place to discuss privacy and freedom in the digital world.

Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.

In this community everyone is welcome to post links and discuss topics related to privacy.

Some Rules

Related communities

much thanks to @gary_host_laptop for the logo design :)

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] dan1101@lemm.ee 5 points 5 months ago (2 children)

Honestly no idea why they didn't just do that to begin with.

[–] elgordino@fedia.io 7 points 5 months ago (2 children)

Because it’s actually really hard to achieve technically. When ads are served outside the stream you can easily serve different ads to different viewers based on their profiles. When the ads are baked into the stream you can either

A) Create a whole bunch of different copies of the video asset with different ads baked in and then rotate these on a regular basis. Which would be expensive to update and store and limit the range of adverts that could be served to a particular user.

B) Dynamically create a stream on the users request, which while possible means standard CDN caching isn’t going to work so there’s a distribution challenge.

Or some other alternative they’ve come up with. I’d be really interest to know what their approach is here.

[–] magic_lobster_party@kbin.run 4 points 5 months ago

They’re probably inserting the ads “on the fly”. It can be finicky depending on codec, but doable.

[–] Solemn@lemmy.dbzer0.com 3 points 5 months ago

Look up how HLS (HTTP Live Streaming) works. They just need to generate a personalized playlist for each person which points at things already hosted on CDN, and insert the ads where they want in the literal text file that your video player reads from to serve you the video.

I don't know much about it, but it looks like there's specific tags designed for dynamic ad insertion. Idk if YouTube plans to use them in this case though, if they want it to be undetectable to the client.

[–] jeena@piefed.jeena.net 3 points 5 months ago

It's easier and less resource hungry to deliver targeted ads like that.