I have an application that grabs video from multiple webcams, does some image processing, and displays the result on the screen. I'd like to be able to stream the video output on to the web - preferably to some kind of distribution service rather than connecting to clients directly myself.
我有一个应用程序,可以从多个网络摄像头抓取视频,进行一些图像处理,并在屏幕上显示结果。我希望能够将视频输出流式传输到网络上 - 最好是某种分发服务,而不是直接连接到客户端。
So my questions are:
所以我的问题是:
- Do such streaming distribution services exist? I'm thinking of something like ShoutCAST relays, but for video. I'm aware of ustream.tv, but I think they just take a direct webcam connection rather than allow you to send any stream.
- If so, is there a standard protocol for doing this?
- If so, is there a free library implementation of this protocol for Win32?
是否存在此类流媒体分发服务?我正在考虑像ShoutCAST继电器,但视频。我知道ustream.tv,但我认为他们只是采用直接网络摄像头连接,而不是允许你发送任何流。
如果是这样,是否有一个标准的协议来做到这一点?
如果是这样,Win32的协议是否有免费的库实现?
Ideally I'd just like to throw a frame of video in DIB format at a SendToServer(bitmap) function, and have it compress, send, and distribute it for me ;)
理想情况下,我只想在SendToServer(位图)函数中以DIB格式抛出一帧视频,然后让它为我压缩,发送和分发;)
2 个解决方案
#1
1
Take a look at video LAN client (or VLC for short) as a means for streaming video.
看一下视频LAN客户端(或简称VLC)作为流媒体视频的一种方式。
As for distribution sites, I don't know how well it works with ustream.tv and similar new services.
至于发行网站,我不知道它与ustream.tv和类似的新服务有多好。
#2
1
ustream.tv works by using Adobe Flash's support for reading input from a webcam. To fake it out, you need a fake webcam driver. Looking on the ustream.tv site, they point to an application called WebCamMax that allows effects and splicing in video. It works by creating a pseudo-webcam that mixes video from one or more cameras along with other sources. Since that app can do it, your own code could do that too, although you'll probably need to write a Windows driver to get it all working correctly.
ustream.tv的工作原理是使用Adobe Flash支持从网络摄像头读取输入。要伪造它,你需要一个假的网络摄像头驱动程序。在ustream.tv网站上,他们指向一个名为WebCamMax的应用程序,它允许在视频中进行效果和拼接。它的工作原理是创建一个伪网络摄像头,混合来自一个或多个摄像头的视频以及其他来源。由于该应用程序可以执行此操作,您自己的代码也可以这样做,尽管您可能需要编写Windows驱动程序才能使其正常工作。
#1
1
Take a look at video LAN client (or VLC for short) as a means for streaming video.
看一下视频LAN客户端(或简称VLC)作为流媒体视频的一种方式。
As for distribution sites, I don't know how well it works with ustream.tv and similar new services.
至于发行网站,我不知道它与ustream.tv和类似的新服务有多好。
#2
1
ustream.tv works by using Adobe Flash's support for reading input from a webcam. To fake it out, you need a fake webcam driver. Looking on the ustream.tv site, they point to an application called WebCamMax that allows effects and splicing in video. It works by creating a pseudo-webcam that mixes video from one or more cameras along with other sources. Since that app can do it, your own code could do that too, although you'll probably need to write a Windows driver to get it all working correctly.
ustream.tv的工作原理是使用Adobe Flash支持从网络摄像头读取输入。要伪造它,你需要一个假的网络摄像头驱动程序。在ustream.tv网站上,他们指向一个名为WebCamMax的应用程序,它允许在视频中进行效果和拼接。它的工作原理是创建一个伪网络摄像头,混合来自一个或多个摄像头的视频以及其他来源。由于该应用程序可以执行此操作,您自己的代码也可以这样做,尽管您可能需要编写Windows驱动程序才能使其正常工作。