如何实现在C#中的实时视频广播? [英] How to implement live video broadcasting in C#?

查看:237
本文介绍了如何实现在C#中的实时视频广播?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要插入一个实时视频广播设施到网站。我打算使用Silverlight和C#,但我对这个话题很新手。

I want to plug a live video broadcasting facility to a website. I'm planning to use silverlight and C# but I'm very newbie in this topic.

什么是做到这一点的最好方法是什么?

What is the best way to do this?

先谢谢了。

更新:

我有一个摄像头。我想它捕捉到它,并显示在我的网站。生活。但我不知道我必须做里面的想法。告诉我捕获,流的API,DLL的,其他任何我需要知道的一切。谢谢你。

I have a camera. I want it to capture it and show on my website. Live. But I have no idea about what I must do inside. Tell me everything about the capturing, streams, api's, dll's, whatever else I need to know. Thanks.

推荐答案

如果您使用的是Windows,你可能要考虑免费的Windows Media编码器9 SDK(的 http://www.microsoft.com/windows/windowsmedia/forpros/encoder/features。 ASPX )。这个想法是,Windows Media编码器允许你使用任何设备作为一个媒体源(比如,视频采集卡或支持流式摄录一体机),并通过Windows来推动它作为一个ASF流,甚至多播/广播它媒体服务。

If you're on Windows, you may want to consider the free Windows Media Encoder 9 SDK (http://www.microsoft.com/windows/windowsmedia/forpros/encoder/features.aspx). The idea is that Windows Media Encoder allows you to use any device as a media source (say, a video capture card or a streaming-enabled camcorder) and to push it out as an ASF stream, or even to multicast/broadcast it via Windows Media Services.

WME SDK是一个简单的程序(COM)接口WME。原则上,你可以自动编码器,并指示它使用相机作为源,并将其应用到指定的UDP端口或发布点(对于后者,你需要在Windows Server 2003/2008安装的Windows Media Services)。

The WME SDK is simply a programmatic (COM) interface to WME. In principle you can automate the encoder and instruct it to use your camera as a source, and push it out to a specified UDP port or publishing point (for the latter you'll need Windows Server 2003/2008 with Windows Media Services installed).

一个新的替代方案是微软Expression Encoder的SDK(的 http://www.microsoft.com/downloads/details.aspx?FamilyId=9A077A3D-58CE-454C-B486-153F0578BE4A&displaylang=en ),其中谈判,以表达编码器和您可以传输到Silverlight客户端(等等),但在这里需要说明的是EE是不是免费的(WME是)。

A newer alternative is Microsoft Expression Encoder SDK (http://www.microsoft.com/downloads/details.aspx?FamilyId=9A077A3D-58CE-454C-B486-153F0578BE4A&displaylang=en), which "talks" to Expression Encoder and allows you to stream out to Silverlight clients (among others), but the caveat here is that EE is not free (WME is).

这篇关于如何实现在C#中的实时视频广播?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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