←back to thread

89 points justin-reeves | 1 comments | | HN request time: 0.201s | source
Show context
simonw ◴[] No.45902045[source]
> Because if hosting videos were easy, YouTube wouldn’t be the only game in town.

Is self-hosting video still difficult, today in 2025?

My intuition is that there are less formats to worry about today, and serving video from static hosting that supports HTTP range headers may be enough for most devices to work.

What are the remaining hard problems? Maybe mechanisms to negotiate lower resolution for slower connections?

UPDATE: Looks like this offers some answers to my questions: https://help.micro.blog/t/micro-blog-studio/4081

The hardest bit appears to be HLS - HTTP Live Streaming - the thing where a video gets divided up into lots of little .ts segment files and served via a m3u8 playlist.

replies(5): >>45902610 #>>45902611 #>>45902718 #>>45903188 #>>45903215 #
1. bradgessler ◴[] No.45903188[source]
I just setup private video for https://beautifulruby.com and can confirm the trickiest part is setting up and hosting HLS.

I extracted a RubyGem at https://github.com/beautifulruby/hls that I use to point at a folder full of videos, then my scripts converts them into HLS and uploads them to a private Tigris S3 bucket. I then have to rewrite playlists from the server with pre-signed S3 URLs.

It’s not that it’s difficult per se, but it does require a meticulous attention to detail to put all the pieces together.