this post was submitted on 25 Jul 2024
701 points (98.7% liked)

Technology

58073 readers
3072 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
 

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
[–] [email protected] 35 points 1 month ago (5 children)

This must consume a tremendous amount of processing to do since they would have to transcode copies for every ad region/campaign and every resolution on demand. I am interested in how they made this financially viable.

[–] [email protected] 17 points 1 month ago (1 children)

Not necessarily. They could split the video in advance, assuming the ads will always be at the same point. Even if not, they could still use the direct, unaltered source with a range. The big challenge would be keeping it all synced, which I think is safe to say that they will get right.

But even if it did need to be transcoded, YouTube automatically transcodes every single video uploaded, multiple times. They are clearly not afraid of it.

[–] [email protected] 14 points 1 month ago* (last edited 1 month ago) (1 children)

If you’ve ever used yt-dl, you’ll know that YT vids are all split into multiple files. Presumably, this is where the ads get injected.

[–] [email protected] 0 points 1 month ago (1 children)

No, they're not split. Each one of those results you get from yt-dlp is a different version of the same video. I.e. different resolutions, different codecs. Some of them are the audio, some of them are the video, but they're not split.

[–] [email protected] 8 points 1 month ago* (last edited 1 month ago) (1 children)

They are also that. But when you watch YouTube-dl download a video, it downloads several parts, then ffmpeg recombines them into a single output file.

[–] [email protected] 2 points 1 month ago (1 children)

That may be to speed up the download using multiple connections. Other downloaders do it on other sites as well, doesn't mean the files are split on the server.

[–] [email protected] 1 points 1 month ago

I mean, you can sit here and make up a bunch of different reasons, but the simplest explanation is usually the correct one.

[–] [email protected] 15 points 1 month ago

Since AI has caused them to complete abandoned any illusions about their carbon zero footprint I think they just stopped caring.

[–] [email protected] 12 points 1 month ago

I’d guess its a solution similar to DASH that dynamically streams different content.

[–] [email protected] 5 points 1 month ago

They don’t need to do any extra transcoding. It’s not that costly to stitch videos together. If done at specific strategic locations, it’s like copying a text file into another.

[–] [email protected] 2 points 1 month ago

If they only do it for very popular videos, the additional cost will be trivial.