this post was submitted on 10 Oct 2024
959 points (97.8% liked)

memes

9971 readers
2808 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to !politicalmemes@lemmy.world

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/AdsNo advertisements or spam. This is an instance rule and the only way to live.

Sister communities

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] h4lf8yte@lemmy.ml 7 points 1 week ago (26 children)

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.

[–] SaharaMaleikuhm@feddit.org 0 points 1 week ago (4 children)

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 3 points 1 week ago* (last edited 1 week ago) (1 children)

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.

[–] h4lf8yte@lemmy.ml 2 points 1 week ago
load more comments (2 replies)
load more comments (23 replies)