局域视频流 [英] Local Area Video Streaming

查看:76
本文介绍了局域视频流的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为一位朋友看一个小项目而且我已经陷入了困境。

在没有放弃整个想法的情况下,我们正在考虑将内容流式传输到平板电脑和/或者智能手机。



首先,流媒体只能在当地进行,所以不会有网络要求。接收设备将有一个应用程序来接收流然后播放它。从概念上讲,这不是火箭科学,我认为我可以处理很多软件方面。



我担心网络,这是我的问题。它将需要是一个任何设备都可以访问的网络,因此那就是'wi-fi'。但是什么类型以及如何计算出所需的容量。



为简单起见,如果我说会有一个直播流和最多50个设备同时接收它我需要什么才能获得带宽?

I''m looking at a small project for a friend and I have become a little stuck.
Without giving away the whole idea, we are looking at the streaming of content to tablets and/or smart phones.

Firstly the streaming will ONLY be in the local area so there won''t be a web requirement. The receiving device will have an app to receive the stream and then to play it. Conceptually this is not rocket science and I think a lot of the software side I can deal with.

I am worried by the network and that is my question. It will need to be a network that ''any'' device can access, so that''s wi-fi then. But what type and how would I work out the capacity that would be needed.

For simplicity, if I say there will be a single live stream and up to 50 devices simultaneously receiving it what do I need to get the bandwidth?

推荐答案

要获得任何网络上50个视频客户端的带宽,您需要的是多播UDP网络。很多年前,我曾与一群前BT用户合作过,但那时候它只能用于昂贵的思科交换机,所以产品很不好用。现在它到处都是,但我不知道无线。一旦你有多播分类带宽,压缩和质量下降。你可以通过一个64K帧中继来挤压视频流,如果你不介意它是一张邮票的大小和2fps,而30fps的全高清则会在100Mbits以上。

大约你获取您的Feed的MegaPixels并乘以您的帧速率以获得Megabits的带宽,但这非常接近,因为它取决于压缩类型。 H264是目前流行的压缩视频类型。

希望其中一些有意义。
To get the bandwidth for 50 video clients on any network what you need is multicast UDP networking. Many years ago I worked with a bunch of ex BT guys who had this down but in those days it only worked on expensive Cisco switches so the product was a dud. Now it''s everywhere but I have no idea about wireless. Once you have the multicast sorted bandwidth is down to compression and quality. You can squeeze a video stream through a 64K frame relay if you don''t mind it being the size of a postage stamp and 2fps whereas full HD at 30fps will be treading all over 100Mbits.
Approximately you take the MegaPixels of your feed and multiply by your frame rate to get the Megabits of bandwidth but that''s very approximate because it depends on the compression type. H264 is the currently popular squeezed video type.
Hope some of that makes sense.


这篇关于局域视频流的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆