News for hackers. Stuff that matters.

Ask HN: How long until serving your own video is viable?

By viable I mean a hobbyist or small business can afford to host and deliver video at a quality comparable to youtube - minimal buffering, formats that work across desktop and mobile, etc - from a platform they have complete control over.

Would love to see any numbers that are involved in working this out, how those numbers are trending, and if it looks like they will arrive at useful values any time soon.

( 21 comments | 2 points | on HN )
Re:Ask HN: How long until serving your own video is viable? by wmf on Sunday January 29, 2023 @07:29PM (#34574346)
Bandwidth is really cheap now and open source is available (e.g. PeerTube) so this is probably already possible.

You should define "complete control". Do CDNs count or not? Why?

Re:Ask HN: How long until serving your own video is viable? by Zetobal on Sunday January 29, 2023 @07:49PM (#34574494)
I can do that right now? You should explain your use case a bit more...
Re:Ask HN: How long until serving your own video is viable? by jawon on Sunday January 29, 2023 @08:42PM (#34574875)
Can you point to where you're doing it?
Re:Ask HN: How long until serving your own video is viable? by halJordan on Sunday January 29, 2023 @09:19PM (#34575114)
I don't think the ask is far removed from plex and jellyfin, or any of the yt-dlp frontends.
Re:Ask HN: How long until serving your own video is viable? by toast0 on Sunday January 29, 2023 @08:34PM (#34574827)
h.264 basically works everywhere. I don't think bitrate scaling is super easy out of the box, but if you do 3?Mbps 720p, that's going to look ok and work ok for a large swath of people and you can stick it in a video tag. Maybe there's some simple software to do bitrate selection and all the transcodes at all the bitrates (and may as well do different codecs while you're at it), but I'm not aware of it.

If you've got enough usage where bandwidth starts costing money, go get a cheap hosting with 'unmetered' bandwidth, and maybe that can get you through until you have enough bandwidth usage to get decent pricing.

Re:Ask HN: How long until serving your own video is viable? by sitkack on Sunday January 29, 2023 @08:47PM (#34574900)
Viable now, easily.
Re:Ask HN: How long until serving your own video is viable? by plaguepilled on Sunday January 29, 2023 @08:56PM (#34574967)
LinusTechTips did a video on 4K video a month or so ago that may be part of the answer: in it, Linus explains the exponential costs of higher definition video and faster streaming speeds.

To be more explicit: you can probably host video now at lower definitions. The question is how low you can tolerate.

Re:Ask HN: How long until serving your own video is viable? by rchaud on Sunday January 29, 2023 @09:24PM (#34575137)
My personal website has a 'digital garden' section that has a number of sports highlights videos. Because I self-host, I shorten the videos to 30 seconds maximum and compress them heavily in Handbrake. The resulting videos are usually 1MB or under. They look OK when viewed in a browser window that's about the size of a YouTube embed. That's fine with me, they're the kind of short video you wouldn't want to watch full-screen.
Re:Ask HN: How long until serving your own video is viable? by nickphx on Sunday January 29, 2023 @09:40PM (#34575246)
I've used bunny.net as a CDN for images for an advertising company transferring about 1.5TB/day at a cost of ~$150/month. I haven't tried their streaming video service, but it seems reasonably priced.
Re:Ask HN: How long until serving your own video is viable? by jawon on Sunday January 29, 2023 @10:40PM (#34575518)
That's a surprisingly low number. I'll have look at them.
Re:Ask HN: How long until serving your own video is viable? by jawon on Sunday January 29, 2023 @10:56PM (#34575610)
Maxing out the sliders on bunny.net's pricing page (1TB video uploads/ 1TB bandwidth per month) with 8 replication points tops out at $80/month. That's with free encoding and transcoding.

So, very affordable right now if you want to use someone else's solution.

Re:Ask HN: How long until serving your own video is viable? by codegeek on Monday January 30, 2023 @08:20AM (#34579216)
How is their support ? I m considering them for video hosting for our business and they seem to be the cheapest aa kme and I wonder if there is a catch.
Re:Ask HN: How long until serving your own video is viable? by nickphx on Friday February 03, 2023 @06:21PM (#34649250)
The few times I've had to contact their support, they've been responsive and helpful.
Re:Ask HN: How long until serving your own video is viable? by toomuchtodo on Sunday January 29, 2023 @09:41PM (#34575251)
Peertube on a dedicated server somewhere with unmetered bandwidth? Worst case, users experience lag during congestion periods.
Re:Ask HN: How long until serving your own video is viable? by fuzzfactor on Sunday January 29, 2023 @11:11PM (#34575689)
>How long until serving your own video is viable?

Keep in mind it started out viable.

Broadband did exist even when most people were still on dial-up, and with every major ISP their generic plan included your own personal web space from which they would serve your content to the world.

All you had to do was upload your content to your own web address, and throw in some html or PHP if you wanted to.

Even if all you had was dial-up, you could (slowly) upload a decent length video, and after that anybody with broadband could watch it with full FPS.

The original webcams were jerky and blurry by today's standards but they live-streamed just fine using Windows XP and the free Windows Media Encoder. Anybody using Windows Media Player could view the stream directly without need for a browser. Also players like VLC work for Linux or Mac users.

Now OBS is a common app for streaming (broadcasting) today which allows you to encode or compress the video (output) or stream however you like. An HD webcam, fast PC, and fiber ISP connection can handle a number of simultaneous viewers at full FPS.

Re:Ask HN: How long until serving your own video is viable? by mikewarot on Monday January 30, 2023 @12:40AM (#34576187)
I streamed meetings live via the internet over a decade ago using Microsoft's IIS on an AWS instance. I'm quite sure its easier to do these days.

You could always pay Vimeo to host your content.

Re:Ask HN: How long until serving your own video is viable? by moomoo11 on Monday January 30, 2023 @01:12AM (#34576379)
You could do p2p
Re:Ask HN: How long until serving your own video is viable? by psyklic on Monday January 30, 2023 @01:55AM (#34576648)
fasterthanlime hosts his own videos, made his own video player, and does his own transcoding: https://fasterthanli.me/videos
Re:Ask HN: How long until serving your own video is viable? by bobdvb on Monday January 30, 2023 @04:34AM (#34577642)
Anyone serving anything publicly should be using a CDN for binary objects like images, videos, downloads, etc. That's why CDN plugins are among the most popular downloads for WordPress.

If you mean "without a CDN", then as someone whose daily job is delivering millions of users high quality videos, I would ask: why would anyone do that? It's like saying "I'll dig my own fibre to the home..." Sure, you may do it if you have no choice, or you simply use an ISP.

CDNs distribute the load and make it more economic to deliver your content. They provide lower cost and better quality streams through more servers and higher available bandwidth.

Sure, you host the videos, you act as the origin, but the CDN sits in front and takes the load. You only have to worry about cache efficiency for your bandwidth. But I can say that you can serve millions of users with 10Gbps and a good CDN, which is feasible for home internet in some places.

Re:Ask HN: How long until serving your own video is viable? by _448 on Monday January 30, 2023 @06:00AM (#34578195)
This is an interesting question.

How about putting the file on IPFS and making it available to the world? Or use GunDB to stream the content.

Re:Ask HN: How long until serving your own video is viable? by Geloto on Monday January 30, 2023 @04:43PM (#34586861)
Should be easily doable with 50$ and less / month.

Traffic is cheap you get 100mbit and more for this. 100-1000mbit/your avg Bitrate = streams in parallel.

The hardware side is a no-brainer. Just doesn't matter just sending bytes is easy.