• h4lf8yte@lemmy.ml
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    1 month ago

    I am not for ads but what is so difficult about adding them to the video stream. This should make adblockers useless since they can’t differentiate between the video and the ad. I could just imagine it would be difficult to track the view time of the user and this could make the view useless since they can’t prove it to the ad customer. I have no in depth knowledge about hls but as I know it’s an index file with urls to small fragments of the streamed file. The index file could be regenerated with inserted ad parts and randomized times to make blocking specific video segments useless.

    • Furbag@lemmy.world
      link
      fedilink
      arrow-up
      7
      ·
      1 month ago

      Twitch already does this for their livestreams and has been doing it for years. I’m just surprised that YouTube has taken this long to get around to injecting advertisements into the video stream. Although I think if YouTube decided to try ad injection the adblocking community would fire back with something novel to thwart their efforts and the eternal arms race would continue.

      • h4lf8yte@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        1 month ago

        I’ve read in that thread that there are already ad blockers for twitch too but I haven’t looked up how they work or how twitch inserts the ads.

      • GHiLA@sh.itjust.works
        link
        fedilink
        arrow-up
        2
        ·
        1 month ago

        The most likely situation is just having apps that watch the content, trim the ads off, then drop it off into a folder.

        You get home, watch your downloads, put it up for the night.

      • Buddahriffic@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        1 month ago

        If there’s timed annotations (like say for closed captions or chapters/sections), then there will be some sort of mechanism to line them up with the modified stream. Then compare that with a stream without ads (which might require manually removing all ads or using a premium account where ads aren’t inserted) and you’ll be able to estimate regions of the stream where ads have been inserted. If the timed annotations are dense, you could see where the ad begins and ends just from that.

        Also if the ads themselves include timed annotations, there would be a difference in that meta data that would give it away immediately.

        Or if ads are supposed to be unskippable, the metadata will need to let the client know about that. Though they could also do that on the server side and just refuse to stream anything else while it’s serving an ad.

        Given that, the solution might be to have a seperate program grab the steam and remove the ads for later playback. Or crowdsource that and set up torrents, though that would be exposing it to copyright implications.