• pivot_root@lemmy.world
      link
      fedilink
      English
      arrow-up
      28
      ·
      2 months ago

      Video content never changes, but the order and content of ads do. Automated browser, record the video 2-3 times. Diff the frames and slice out the ones that don’t match between runs.

      • mesamune@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 months ago

        I remember back in the day, there was programs that would identify ads and remove them off on air programs. I would imagine something like that would be possible. Although at that point, just skipping the “platform” altogether might be a better solution.

    • rovingnothing29@lemmy.world
      link
      fedilink
      English
      arrow-up
      12
      ·
      2 months ago

      My guess: Youtube-dl derivative then an ffmpeg script to detect black frames that usually sandwich commercials on TV and delete the video inside those frames.