YouTube is currently experimenting with server-side ad injection. This means that the ad is being added directly into the video stream.

This breaks sponsorblock since now all timestamps are offset by the ad times.

For now, I set up the server to detect when someone is submitting from a browser with this happening and rejecting the submission to prevent the database from getting filled with incorrect submissions.

top 50 comments

sorted by: hot top controversial new old
[–] 106 points 2 years ago (1 child)

Step by step, it seems, YouTube is evolving into something that has previously been called TV.

  • source
  • hideshow 2 child comments
  • [–] 18 points 2 years ago (3 children)

    If they carry on with this bullshit I'll be dropping them entirely for Nebula. I quite enjoy Nebula so far.

  • source
  • parent
  • hideshow 5 child comments
  • load more comments (1 reply)
  • [–] 75 points 2 years ago (1 child)

    does this mean stuff like yt-dlp will download videos with ads in thrm as well?

  • source
  • hideshow 2 child comments
  • [–] 40 points 2 years ago* (7 children)

    Almost certainly not, although fair disclaimer, I don't actually know. Ads need to be tailored to the user when delivered, so it's likely the YouTube frontend requesting the next chunk of video to be an ad instead of the next chunk of video from blob storage. yt-dlp likely just requests successive chunks straight from blob storage, passing this.

    If YouTube served ads by saying "point to an ad chunk next" in their blob storage, 1. Everyone would see the same ad and 2. Premium users would still see ads.

    To patch this, YouTube really needs to stop serving video chunks directly from storage, but I forget the reason they haven't done that already.

    (Technical note; I'm assuming blob storage chunks contain 1-2 seconds of video and metadata pointing to the next one, like a linked list. I'm not sure if this is how YouTube works, but many video platforms do this)

  • source
  • parent
  • hideshow 7 child comments
  • load more comments (7 replies)
  • [–] 73 points 2 years ago (10 children)

    Looks like I'll finally get a reason to cut off another website I hate using, but never found the willpower to get rid off.

    Good

  • source
  • hideshow 10 child comments
  • load more comments (10 replies)
    [–] 62 points 2 years ago (2 children)

    I wonder how that will interoperate with timestamps provided by users in comments or by the video creator themselves. Maybe those can be used to detect inserted ads.

  • source
  • hideshow 4 child comments
  • [–] 33 points 2 years ago

    The server must have to send some metadata to the client telling when it's running an ad because there are other things that need to happen client side during that like adjusting of the time or making the ad clickable

  • source
  • parent
  • [–] 60 points 2 years ago (5 children)

    I'm kinda surprised they haven't done this already. Twitch has been doing this for a while now, and the only reliable way around it is to use a proxy in a country that Twitch doesn't run ads in.

  • source
  • hideshow 6 child comments
  • [–] 24 points 2 years ago (2 children)

    Video length is incredibly important to The Algorithm and a LOT of content creators time their videos to the second. Taking away control of that (even if the end result ins the exact same length) is going to ruffle a lot of feathers and lead to a lot of people who want to "be a champion for the viewers who should like, comment, and subscribe and use my referral code for war thunder" as a result.

  • source
  • parent
  • hideshow 2 child comments
  • load more comments (2 replies)
  • load more comments (4 replies)
    [–] 48 points 2 years ago* (5 children)

    I wonder if this is where AI might be useful where it's used to filter out all of the megacorp ads, popups, and other random garbage?

    • train LLMs on megacorp content and use it to filter out results
      • sponsorblock adds this as a toggleable option just like the "skip segment" UI video overlay button
  • source
  • hideshow 9 child comments
  • [–] 14 points 2 years ago

    That would be cool.

    I guess my AMD Bulldozer TV PC is gonna have to go in the ewaste bin though. Its already stretched to its limit running Linux Mint, Firefox, uBlock Origin and Sponsorblock as it is

  • source
  • parent
  • load more comments (1 reply)
    [–] 36 points 2 years ago (1 child)

    I miss the times when ads were just annoying gifs on the left or right side of a web page. Then they evolved, abusing javascript, to become pop ups that hid the URL bar and opened 3 dozen different pop ups while you didn't close the mother popup. Then they started clickjacking: that close ad button? Just opens another ad. Ad infinitum.

    Now, effectively editing the video to add an ad somewhere instead of serving it as a side file. The advertising industry as a whole feels like the absolute worst villains at a personal level, because they want to target you individually.

  • source
  • hideshow 2 child comments
  • [–] 25 points 2 years ago

    It was inevitable (and is arguably the "logical" extension of sponsor segments).

    As for what it will do to timestamps: The same thing it does to timestamps in podcasts. Some podcast players have a special way to tag the timestamp to adjust with the inserted ads but NOBODY hosts with those. So they are rendered useless.

    On the youtube side? They could potentially be auto-adjusted because youtube will know how many ads were inserted . But considering the goal of this is to serve ads...

  • source
  • [–] 21 points 2 years ago (2 children)

    Wow that’s very annoying. What does this mean for the future of adblocking?

  • source
  • hideshow 4 child comments
  • [–] 43 points 2 years ago (3 children)

    It'll be difficult for a while until someone figures it out and then it'll be easy again. It's just an arms race.

  • source
  • parent
  • hideshow 6 child comments
  • [–] 24 points 2 years ago (1 child)

    The last time Google pulled out all the stops to fight ad blockers, I had to update uBlock Origin every now and then until the whole thing passed. That's all.

    So I'm not worried. But I am amused that they keep making ads more obnoxious, which pushes more people to use ad blockers. I didn't even use sponsorblock until a particularly egregious bit of native advertising. They could probably gain ground by just making ads less irritating, but they absolutely will not.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 20 points 2 years ago (1 child)

    Advertising is poison.

    We could just ban it.

  • source
  • hideshow 2 child comments
  • [+] 24 points 2 years ago* (last edited 2 years ago) (2 children)
  • [–] 10 points 2 years ago (1 child)

    See Flash websites ripping each other off for five years on either side of Youtube's introduction.

    See Bittorrent moving more video than Netflix until like 2012.

    See twenty years of web-based P2P experiments. Weirdos with fat hard drives (hi) will always be happy to seed.

    Or - crazy thought - services could cost money. It would not take much. Youtube's not getting ten bucks each time you watch a video. Bandwidth and storage keep getting cheaper. Nor are they paying for content, unlike Netflix and so on, and those fuckers are also considering ads.

  • source
  • parent
  • hideshow 1 child comment
  • load more comments (1 reply)
  • load more comments (1 reply)
  • Jesus fucking christ YouTube really hates users

  • source
  • [–] 19 points 2 years ago (1 child)

    At least it should still work with the hard coded sponsor spots that are actually part of the videos (like the "brought to you by Manscaped" or whatever).

  • source
  • hideshow 2 child comments
  • [–] 25 points 2 years ago

    Only if the ads are a fixed length and always in the same place for each playback of the same video.

    Inserting ads of various lengths in varying places throughout the video will alter all the time stamps for every playback.

    The 5th minute of the video might happen 5min after starting playback, or it could be 5min+a 2min ad break after starting. This could change from playback to playback; so basing ad/sponsor blocking on timestamps becomes entirely useless.

  • source
  • parent
  • [–] 18 points 2 years ago (2 children)

    Also, if the ads where in different parts of the video every time, it would not be possible to use SponsorBlock for them :(

  • source
  • hideshow 2 child comments
  • load more comments (2 replies)
    [–] 15 points 2 years ago (2 children)

    If they are part of the video you cant just skip them like any other part of the video, right?

  • source
  • hideshow 3 child comments
  • load more comments (1 reply)
    [–] 14 points 2 years ago* (1 child)

    Wouldn't this also completely break ad blockers?

  • source
  • hideshow 2 child comments
  • [–] 14 points 2 years ago

    Genuinely I'd be fine if someone made a thing that when an ad started a black overlay would go up and the spund would be muted.

  • source
  • [–] 11 points 2 years ago (2 children)
    load more comments (2 replies)
    [–] 11 points 2 years ago* (last edited 2 years ago) (5 children)

    Switch to 3rd party clients like pipe-viewer (doesn't need api key), it's less likely (though I suppose not impossible) google would roll this out against 3rd party clients as they can't track you for targeted ads.

    To people thinking of joining Nebula because their marketing team/shills are currently spamming this thread, see peertube (federated like lemmy, open source)

  • source
  • hideshow 7 child comments
  • [–] 10 points 2 years ago

    If they are injecting ads into the actual video stream; it won't matter what client you use. You request the next video chunk for playback and get served a chunk filled with advertising video instead. The clients won't be able to tell the difference unless they start analyzing the actual video frames. That's an entirely server-side decision that clients can't bypass.

  • source
  • parent
  • load more comments (3 replies)
    load more comments
    view more: next ›