Hacker News new | past | comments | ask | show | jobs | submit login

Can't some video formats be concatenated? Something like this pipeline for serving the ad:

    cat $(select_ad_file $user) $video_file



I know ffmpeg can do that, i've never tried just using cat.

An additional reason for not serving ads in the video file is that their ad clients probably want to know if someone watched it or not. By loading ad as a file associated with the ad client it's easy to verify that someone watched the ad and didn't just click out after 1s, etc.


Not sure why you're being downvoted when that's entirely true; knowing what audience has actually engaged with your ad can be just as (if not moreso) valuable as an engagement in the first place.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: