• SaharaMaleikuhm@feddit.org
    link
    fedilink
    arrow-up
    0
    ·
    6 days ago

    Cause you need to insert it every time for every viewer. People get different ads and those ads obviously change over time. So embedding one ad into the video permanently makes no sense. I’m pretty sure YouTube does it the way they do cause the alternative is not feasible.

    • EveningPancakes@lemm.ee
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      6 days ago

      You can still do dynamic ad serving in a stream stitched integration. It’s just that the content and the ads are being served by the same CDN, hence why you can’t block the ads without also blocking the content. In the manifest file there are m3u8 chucks, the file is essentially broken up into 5/10 second chunks, and when the video segment chunk is coming to an ad break, it stitches in dynamically an ad m3u8 chunk that the ad server dynamically selects based on the ads they currently have trafficked in their system.