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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Justin.tv brings live broadcasting to Linux

47 点作者 kvogt将近 16 年前

4 条评论

DarkShikari将近 16 年前
And this time they're using x264; it seems like they value their bandwidth!<p>One thing that should be better-documented are Justin.TV-side bitrate restrictions; I assume that they don't want users broadcasting 1-2 megabit DVD-quality streams over their network, but nothing of the sort is listed in the guide.<p>Additionally, there's the matter of constant bitrate requirements: H.264 streaming works under a leaky buffer model based on two parameters, the rate and buffer size. For optimal performance Justin.TV should document what buffer size they set on the viewers' Flash players so that the encoder settings can be set accordingly. For example, let's say that Justin.TV uses a 2 second buffer:<p>I pick a constant bitrate of 500kbps. (bitrate=500)<p>I set the maxrate to 500. (vbv-maxrate=500)<p>I set the bufsize to 500x2 = 1000. (vbv-bufsize=1000)<p>If the buffer in the encoder is <i>greater</i> than that used by Justin.TV, it's possible for the stream to drop out for viewers during local bitrate spikes, so getting it right is important, especially at higher bitrates (at 300kbps you probably don't have to care much).<p>Another issue to note is latency. Total latency in a connection is as follows:<p>(Encoder-side latency) + (Network latency) + (Decoder buffer size)<p>x264's default encoder-side latency is about 40 frames in the latest version; if anyone's interested in how to lower that for a low-latency stream, I can give more information.
评论 #749713 未加载
ROFISH将近 16 年前
Does Justin.tv have a non-Flash way of viewing streams? While creating one without Flash is awesome, it's still annoying to have Adobe's horrible Flash implementation crash (and or bloat) watching two-three hour streams.
zepolen将近 16 年前
Does justin.tv pay for their bandwidth from revenue generated or from funding?
tumult将近 16 年前
Super cool. Can't wait for Mac.
评论 #749832 未加载
评论 #749838 未加载