I can see that it's open source, and I'm very tempted to copy it. I'm already in the midst of migrating all of my video hosting to peertube, but I don't have a solution I'm confident in for livestreaming other than Twitch -- especially because when in the rare instances where I do stream coding sessions they can go up to 5 or 6 hours, at which point archiving and storing that video starts to look a lot more costly.
>This is the website for my self-hosted livestreaming platform (aka bag of hacks dumped into a server).
PeerTube is nice in theory but in practice it's been really really unreliable for me.
WORST—-and I mean WORST—case, could crank out a clone during a hack week.
(And yes, I've seen, and boosted, your Mastodon tirade, and am ... apprehensive in commenting here.)
(they were not, this is a shitpost, they're actually called Merkle trees)
Damned edit window...
Archival/storage of video shouldn't be that costly.
With 5400rpm drives (better for archival than more or less any other type of storage media, including faster hard drives), it looks like the going rate is about a United States cent per gigabyte. Two for 7200rpm drives from manufacturers that seem to produce the most reliable drives on the market, consumer-side.
A setup that could survive through a reasonable amount of drive failure, then, seems to be relatively inexpensive, so long as you're not trying to archive your video In The Cloud®.*
*Someone Else's Computer
That's irrelevant, though, given the person's question was about storage and archival.
Clouds are indeed selling that, but I think that's false advertisement. At least from here (western Balkans) it looks this way.
Latency directly impacts bandwidth, which impacts quality, since all current-gen user-facing live streaming protocols that matter (HLS, DASH) are layered on top of HTTP (on top of TCP), and that's already the best trade-off for end-user delivery today.
For VOD it's less of an issue since you can just maintain a larger buffer, but with live that's a trade-off with being closer to the live edge or choosing poorer quality. It works OK for some cases, it's bad for others (like sports, or when letters on the screen become illegible due to compression artifacts).
Building your own CDN off of el cheapo VPSs is theoretically viable, the beauty of HLS and DASH is they're 100% plain old HTTP, so just drop Varnish, add GeoDNS on route53 and off you go. Actually I'd love to have the time to try that :)
Here, the roundtrip latency is ~14ms within the country (e.g. from here to capital city), and 40ms to the closest AWS or GCP datacenters (both are in Frankfurt).
Delivery is cheap. Big clouds just mark it up by criminally high 500%+.