YouTube has been spotted testing server-side ads, which could pose a problem to ad blockers.

  • Nollij@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    17
    ·
    5 months ago

    Not necessarily. They could split the video in advance, assuming the ads will always be at the same point. Even if not, they could still use the direct, unaltered source with a range. The big challenge would be keeping it all synced, which I think is safe to say that they will get right.

    But even if it did need to be transcoded, YouTube automatically transcodes every single video uploaded, multiple times. They are clearly not afraid of it.

    • EleventhHour@lemmy.world
      link
      fedilink
      English
      arrow-up
      14
      ·
      edit-2
      5 months ago

      If you’ve ever used yt-dl, you’ll know that YT vids are all split into multiple files. Presumably, this is where the ads get injected.

      • SaltySalamander@fedia.io
        link
        fedilink
        arrow-up
        2
        arrow-down
        2
        ·
        5 months ago

        No, they’re not split. Each one of those results you get from yt-dlp is a different version of the same video. I.e. different resolutions, different codecs. Some of them are the audio, some of them are the video, but they’re not split.

        • EleventhHour@lemmy.world
          link
          fedilink
          English
          arrow-up
          8
          ·
          edit-2
          5 months ago

          They are also that. But when you watch YouTube-dl download a video, it downloads several parts, then ffmpeg recombines them into a single output file.

          • whats_all_this_then@lemmy.world
            link
            fedilink
            English
            arrow-up
            3
            arrow-down
            1
            ·
            5 months ago

            That may be to speed up the download using multiple connections. Other downloaders do it on other sites as well, doesn’t mean the files are split on the server.

            • EleventhHour@lemmy.world
              link
              fedilink
              English
              arrow-up
              1
              ·
              5 months ago

              I mean, you can sit here and make up a bunch of different reasons, but the simplest explanation is usually the correct one.