411
submitted 11 months ago by L4s@lemmy.world to c/technology@lemmy.world

YouTube warns it might make your viewing experience worse if you don't turn off your ad-blocker::YouTube has been cracking down on people using ad blockers. Now, a spokesperson says that using ad blockers could lead to "suboptimal viewing."

you are viewing a single comment's thread
view the rest of the comments
[-] MiltownClowns@lemmy.world 8 points 11 months ago* (last edited 11 months ago)

This. I don't exactly know how YouTube's architecture works, but from running my own mediaserver i woild guess They don't live transcode because that takes clock cycles on a graphics card or a CPU. They transcode a couple of different bitrate files to serve up and then just serve up direct stream file transfers, thus saving electricity and clock cycles. In order to actively embed an ad in a YouTube video it would have to be done semi-permanently, Decreasing the value of live serve ads.

[-] bamboo@lemmy.blahaj.zone 10 points 11 months ago

You're correct that they're not doing live transcoding when a video is played. That's way too expensive in every regard. There are still ways to embed ads dynamically into the video without requiring live transcoding. They likely have 5-10 qualities they encode to, and segment the video into 10s segments, so a 5 minute video would be cut into 30 segments, and then each of those files encoded to multiple qualities upon upload.

That way when playing, if your Internet gets slow, the player can seamlessly downgrade to another quality. These small files concatenated together appear like one long video. Adding some ads served from the same servers as the content could be done dynamically for each request and be difficult to block without impacting the video content delivery, since you can't have uBlock Origin block the domain hosting the content.

Realistically, they probably don't do this approach because you don't know if the ad was loaded because of buffering, but never viewed, so the ad network gets less metrics and therefore the ads are less valuable. Also, I would bet the content upload and distribution team are completely separate from the ad team, so that cross collaboration is more difficult to implement.

[-] my_hat_stinks@programming.dev 4 points 11 months ago

I think there's a simpler reason; if you embed ads as part of the video linking to a specific timestamp becomes a nightmare. One person might have no ad, another might have a 30 second ad, and a third might have 5 minutes of ad. Attempting to link to a time after the ad would give three different timestamps, and loading that timestamp could give you the clip you want or could drop you right in the middle of an ad.

To solve that issue you'd need some way for the client to determine the "true" timestamp, but then you're also giving ad blockers a way to determine where the ad is so you're back to square one.

this post was submitted on 22 Nov 2023
411 points (98.1% liked)

Technology

59174 readers
2383 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