You are viewing a single thread.
View all comments
88 points

Honestly, I’ve kind of always wondered why they didn’t just do this. It’s always seemed like the obvious thing to me.

I mean, I hope it doesn’t work, because screw Google, but I’m still surprised it took them this long to try it.

permalink
report
reply
82 points

Because it’s much more expensive. What they’re talking about here is basically modifying the video file as they stream it. That costs CPU/GPU cycles. Given that only about 10% of users block ads, this is only worth doing if they can get the cost down low enough that those extra ad views actually net them revenue.

permalink
report
parent
reply
-3 points
*
Deleted by creator
permalink
report
parent
reply
30 points

It wouldn’t cost any CPU with custom software that Google can afford to write. The video is streamed by delivering blocks of data from drives where the data isn’t contiguous. It’s split across multiple drives on multiple servers. Video files are made of key frames and P frames and B in between the key frames. Splicing at key frames need no processing. The video server when sending the next block only needs a change to send blocks based on key frames. It can then inject ads without any CPU overhead.

permalink
report
parent
reply
1 point
*

You’re forgetting the part where the video is coming from a cache server that isn’t designed to do this

permalink
report
parent
reply
4 points

Wouldn’t it still need overhead to chose those blocks and send them instead of the video? Especially if they’re also trying to do it in a way that prevents the user from just hitting the “skip 10 seconds” button like they might if it was served as part of the regular video.

permalink
report
parent
reply
5 points

This is not necessarily the case.

You could only use this new system if the old one fails, ie. only for the say 10% of users that block ads, and so even if it were more expensive it would still be more profitable than letting them block all ads.

But I don’t think even that is the case, as they can essentially just “swap out” the video they’re streaming (as they don’t really stream “one video” per video anyway), bringing additional running costs to nearly zero.

The only thing definitely more expensive and resource intensive is the development of said custom software

permalink
report
parent
reply
0 points

But I don’t think even that is the case, as they can essentially just “swap out” the video they’re streaming

You’re forgetting that the “targeted” component of their ads (while mostly bullshit) is an essential part of their business model. To do what you’re suggesting they’d have to create and store thousands of different copies of each video, to account for all the different possible combinations of ads they’d want to serve to different customers.

permalink
report
parent
reply
19 points

This isn’t how YouTube has streamed videos for many, many years.

Most video and live streams work by serving a sequence of small self-contained video files (often in the 1-5s range). Sometimes audio is also separate files (avoids duplication as you often use the same audio for all video qualities as well as enables audio-only streaming). This is done for a few reasons but primarily to allow quite seamless switching between quality levels on-the-fly.

Inserting ads in a stream like this is trivial. You just add a few ad chunks between the regular video chunks. The only real complication is that the ad needs to start at a chunk boundary. (And if you want it to be hard to detect you probably want the length of the ad to be a multiple of the regular chunk size). There is no re-encoding or other processing required at all. Just update the “playlist” (the list of chunks in the video) and the player will play the ad without knowing that it is “different” from the rest of the chunks.

permalink
report
parent
reply
2 points

10% where do you get that. The data I have heard is it’s around a third of all internet users globally.

permalink
report
parent
reply
4 points

Yeah, I’ve thought the same. It’s like with ads on websites - ads are served from different domains and as blockers work by denying requests to those domains. If they really wanted they could serve the ads from the same domain as the rest of the website. I guess one day they might but so far it must not be worth it.

permalink
report
parent
reply
11 points
*

I think more and more people are getting really tired of the ads, so it’s starting to affect their revenue a little bit with all the ad blockers.

permalink
report
parent
reply
11 points

this has more to do with they got caught lying about their ad numbers and inflated their ad prices. So now they are doing this to show their shareholders they are doing something to protect their revenue and thus keep their stock price inflated.

permalink
report
parent
reply
2 points
*

I also wondered why they didn’t do this, but I think it’s tricky because the ad that gets inserted might need to be selected right at the moment of insertion. That could complicate weaving it into the video itself. But I guess they finally found a way to do it.

permalink
report
parent
reply

Technology

!technology@lemmy.world

Create post

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


Community stats

  • 15K

    Monthly active users

  • 13K

    Posts

  • 568K

    Comments