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
    47
    ·
    edit-2
    7 months 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
      20
      ·
      7 months ago

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

      • navordar@lemmy.ml
        link
        fedilink
        English
        arrow-up
        6
        ·
        6 months 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
          ·
          6 months 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
      ·
      6 months 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