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

Privacy

30875 readers
547 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

Chat rooms

much thanks to @gary_host_laptop for the logo design :)

founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 2 months ago (2 children)

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

[–] [email protected] 7 points 2 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.

[–] [email protected] 4 points 2 months ago

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

[–] [email protected] 3 points 2 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.

[–] [email protected] 3 points 2 months ago

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