• pivot_root@lemmy.world
      link
      fedilink
      English
      arrow-up
      27
      ·
      23 hours 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
        1
        ·
        8 hours 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
      ·
      23 hours 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.