micah5/sponsorship_remover

Merge into Pi-hole?

nathanwaters opened this issue · 1 comments

Chrome + Firefox extension definitely, in addition to merging the feature into Pi-hole: https://pi-hole.net

Pi-hole currently isn't suited to the task, but off the top of my head for network-wide blocking:

  1. Youtube.com GET request is made
  2. Youtube API is hit up and the subtitles extracted
  3. ML algorithm identifies the start-end timestamps for the in-video ads
  4. Maybe multiple streams are opened starting after each in-video ad finishes, then the streams are sent sequentially
  5. Or otherwise some type of on-device video encoding that downloads the video, crops out the in-video ads and serves the new video

<3

Pi-hole wouldn't be able to edit the video (https).