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.

  • recursive_recursion [they/them]@programming.dev
    link
    fedilink
    English
    arrow-up
    53
    arrow-down
    5
    ·
    edit-2
    16 days ago

    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
    • Lad@reddthat.com
      link
      fedilink
      English
      arrow-up
      24
      ·
      16 days ago

      Using AI to fuck the megacorps would be amazing. Using their own tools against them.

      • navordar@lemmy.ml
        link
        fedilink
        English
        arrow-up
        8
        ·
        15 days ago

        Even when you don’t know the language, you can judge if something is an ad just by an overly excited tone of voice. I wonder if someone has tried writing an ad detection algorithm already. It would still be a lot heavier on resources than SponsorBlock.

        • PlexSheep@infosec.pub
          link
          fedilink
          English
          arrow-up
          2
          ·
          15 days ago

          Often times that’s the case but some ads also use other tones. Trying to make a super emotional and sad story or something.

    • FrostyCaveman@lemm.ee
      link
      fedilink
      English
      arrow-up
      14
      ·
      15 days 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

    • ReveredOxygen@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      3
      ·
      15 days ago

      They should still have to indicate that it’s an ad, the problem is that they’ll probably block you from seeking past an ad