To get rid of the annoying YouTube message (ad blocker are not allowed on Youtube) use this custom filter in uBlock extension

  1. Open uBlock extension dashboard
  2. Open my filters tab
  3. Copy & Paste this code into my filter
  4. Apply changes and close all tabs

via: enderman

  • cozycosmic@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 year ago

    You don’t need to re-encode the video. Look up HLS segments, which is the standard for streaming video and I assume YouTube uses it.

    Each video is split into many segments, like 10 seconds long (though the duration doesn’t matter). The browser first fetches a “playlist” which is just a list of these segments. Then the video player plays each segment in order. So Google could just insert ad-segments into the video stream, and if they did it cleverly, there would be no way to determine that they were ads.

    • 1984@lemmy.today
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      1 year ago

      Yeah they are sooner or later going to do something like this. But then we can download videos and use Ai to remove the ads.

      Will probably pop up YouTube proxys that does this on request so we don’t even have to download.