Hacker News new | ask | show | jobs
by gregorkas 3676 days ago
Sounds like they could optimise the costs by encoding two versions of the video - one without the sound that would play by default, and the other when you click on the actual video.

The CDN invoice probably isn't the smallest of sums you can imagine :).

3 comments

They wouldn't want a few second pause while the audio is buffered.
A tidbit that I found interesting recently is that their video stream is different from the audio stream source.

says a comment (by yelnatz) above

The size of the audio track is probably around 2% of the size of the whole video. I don't think they'll bother :).
2% of a bazillions of dollars is still like nearly a bazillion dollars.
They'd have to either strip audio out of the video stream on the fly, which will probably force them to use less "dumb" CDNs and incur a processing time cost (which, like most today's on-line businesses, they happily offload to their users now), or they'd have to keep two copies of the same video on their servers, which would make it cost 2x "a bazillions of dollars".
You are very probably right the simple solution makes sense. It is an interesting optimization to be able to make though.