←back to thread

990 points smitop | 1 comments | | HN request time: 0.213s | source
Show context
ranger_danger ◴[] No.44330199[source]
I'm surprised they don't just inject the ads directly into the video stream, I think that would solve their issue overnight (not that I want any ads personally). You could also rate-limit it to the playback speed to prevent pre-downloading the stream easily. But now that everything uses HLS/DASH, it's easy to inject different content right in the middle of the stream without re-encoding anything.
replies(15): >>44330295 #>>44330306 #>>44330327 #>>44330366 #>>44332987 #>>44333096 #>>44333102 #>>44333133 #>>44333320 #>>44333605 #>>44333700 #>>44333858 #>>44334367 #>>44335037 #>>44335453 #
peer2pay ◴[] No.44333133[source]
It has to be a cost thing. HLS is so insanely optimised down to the hardware level that adding any kind of compute for targeting would increase costs exponentially.

I’m not too deep into it anymore but there’s some great articles from Netflix out there talking about the crazy optimisations done to their edge servers for streaming.

replies(3): >>44333483 #>>44333902 #>>44334065 #
1. cyberax ◴[] No.44333902[source]
> HLS is so insanely optimised down to the hardware level that adding any kind of compute for targeting would increase costs exponentially.

Not really. They'll just need to recode for you that one minute with the ad. The rest of the video can stay the same.

If they're doing it smartly, they can even avoid full recompression and just splice in the ad.