logoalt Hacker News

arowthwaytoday at 9:43 AM1 replyview on HN

Cool. What are the hardware requirements? I use https://github.com/calzoneman/sync with mp4 files served by nginx and it works great for 15-20 people watching on a cheap 0.5GB ram 1 vcpu vps.


Replies

Sean-Dertoday at 12:01 PM

You run one encoder for all the viewers. CPU usage won't scale up from 1 -> 15 viewers.

I could get it lower by encoding once and then syncing to keyframes. It would make the code more complicated though. If someone asks for it/gets excited would love to do it though :)