TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

12 点作者 jawon超过 2 年前
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.<p>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.

15 条评论

fuzzfactor超过 2 年前
&gt;How long until serving your own video is viable?<p>Keep in mind it started out viable.<p>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.<p>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.<p>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.<p>The original webcams were jerky and blurry by today&#x27;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.<p>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.
bobdvb超过 2 年前
Anyone serving anything publicly should be using a CDN for binary objects like images, videos, downloads, etc. That&#x27;s why CDN plugins are among the most popular downloads for WordPress.<p>If you mean &quot;without a CDN&quot;, then as someone whose daily job is delivering millions of users high quality videos, I would ask: why would anyone do that? It&#x27;s like saying &quot;I&#x27;ll dig my own fibre to the home...&quot; Sure, you may do it if you have no choice, or you simply use an ISP.<p>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.<p>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.<p>For the self-hosting numbers, without a CDN, just take the average bitrate and times that by the number of concurrent users. So you are going to be looking at 6Mbps * 100 users = 600Mbps upload, plus about 10-20% overhead&#x2F;margin.
plaguepilled超过 2 年前
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.<p>To be more explicit: you can probably host video now at lower definitions. The question is how low you can tolerate.
toast0超过 2 年前
h.264 basically works everywhere. I don&#x27;t think bitrate scaling is super easy out of the box, but if you do 3?Mbps 720p, that&#x27;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&#x27;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&#x27;re at it), but I&#x27;m not aware of it.<p>If you&#x27;ve got enough usage where bandwidth starts costing money, go get a cheap hosting with &#x27;unmetered&#x27; bandwidth, and maybe that can get you through until you have enough bandwidth usage to get decent pricing.
nickphx超过 2 年前
I&#x27;ve used bunny.net as a CDN for images for an advertising company transferring about 1.5TB&#x2F;day at a cost of ~$150&#x2F;month. I haven&#x27;t tried their streaming video service, but it seems reasonably priced.
评论 #34579216 未加载
评论 #34575518 未加载
psyklic超过 2 年前
fasterthanlime hosts his own videos, made his own video player, and does his own transcoding: <a href="https:&#x2F;&#x2F;fasterthanli.me&#x2F;videos" rel="nofollow">https:&#x2F;&#x2F;fasterthanli.me&#x2F;videos</a>
rchaud超过 2 年前
My personal website has a &#x27;digital garden&#x27; 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&#x27;s about the size of a YouTube embed. That&#x27;s fine with me, they&#x27;re the kind of short video you wouldn&#x27;t want to watch full-screen.
wmf超过 2 年前
Bandwidth is really cheap now and open source is available (e.g. PeerTube) so this is probably already possible.<p>You should define &quot;complete control&quot;. Do CDNs count or not? Why?
toomuchtodo超过 2 年前
Peertube on a dedicated server somewhere with unmetered bandwidth? Worst case, users experience lag during congestion periods.<p>Someone recently sponsored dev (putting it on the roadmap) of remote transcode runners to enable better horizontal scaling if that’s a component of your use case.<p>If you’re maxing out a dedicated server, should probably consider a CDN.
Geloto超过 2 年前
Should be easily doable with 50$ and less &#x2F; month.<p>Traffic is cheap you get 100mbit and more for this. 100-1000mbit&#x2F;your avg Bitrate = streams in parallel.<p>The hardware side is a no-brainer. Just doesn&#x27;t matter just sending bytes is easy.
Zetobal超过 2 年前
I can do that right now? You should explain your use case a bit more...
评论 #34574875 未加载
mikewarot超过 2 年前
I streamed meetings live via the internet over a decade ago using Microsoft&#x27;s IIS on an AWS instance. I&#x27;m quite sure its easier to do these days.<p>You could always pay Vimeo to host your content.
_448超过 2 年前
This is an interesting question.<p>How about putting the file on IPFS and making it available to the world? Or use GunDB to stream the content.
sitkack超过 2 年前
Viable now, easily.
moomoo11超过 2 年前
You could do p2p