Why would you need to re encode when you can literally pause one stream swap in the ad and then swap back in the paused one in the same response
Comment on YouTube ads are about to get even longer and they’ll be unskippable - Dexerto
ragas@lemmy.ml 4 hours agoYoutubes ads are not delivered into the videostream. That would mean reencodingevery video for every user and would need an insane amount of computing power.
diabetic_porcupine@lemmy.world 4 hours ago
ragas@lemmy.ml 2 hours ago
Exactly. Instead of editing within the video stream you just switch to a second stream.
However from youtubes perspective that has the downside that the switching logic is where adblockers can hook in to block the ads.
VibeSurgeon@piefed.social 2 hours ago
You actually don’t have to, on account of how adaptive video streaming works. It’s fully possible to serve a few segments of ad content mid-stream.