"假" DirectShow视频捕捉设备 [英] "Fake" DirectShow video capture device

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

问题描述



我需要将IP摄像头(SNC-RZ25N)的视频传输到Flash Media Server。我宁愿不必使用Windows,但如果它使事情更容易,我会的。 (Flash Media Live Encoder是一个仅限于Windows的程序。)

我已经考虑了许多不同的从A点到B点的路线,但是最简单的做法似乎是只需使用Flash Media Live Encoder发布到Flash Media Server即可。然后,我必须弥补的唯一差距就是获得Flash Media Live Encoder可读的视频源。



当然,我的源代码位于网络上,FMLE寻找 Microsoft DirectShow兼容视频捕获设备。我找到了一个不是免费的SDK( http://www.e2esoft.cn/vcam/vcamsdk。 ASP / PHP的),应该让我欺骗这样的设备,并希望将相机流发送到FMS。

有谁知道一个不同的程序或SDK我应该正在使用?我把事情做得比他们需要的更复杂吗?

将DirectShow源代码过滤器变成捕获设备。您需要在正确的类别中注册过滤器,并实现IKsProperty在输出引脚上报告正确的类别。



看看Vivek的捕获源过滤器示例< a href =http://tmhare.mvps.org/downloads.htm =noreferrer> http://tmhare.mvps.org/downloads.htm



G

This is tangential to the last few questions I've asked.

I need to get video from an IP webcam (SNC-RZ25N) to Flash Media Server. I'd rather not have to use Windows, but if it makes things easier, I will. (Flash Media Live Encoder is a Windows only program.)

I've considered many different routes from point A to point B, but it seems like the easiest might be to just use Flash Media Live Encoder to publish to Flash Media Server. Then the only gap I have to bridge is getting a video source readable by Flash Media Live Encoder.

Of course, my source is on the network and FMLE looks for a "Microsoft DirectShow compatible video capture device". I have found a not-free SDK ( http://www.e2esoft.cn/vcam/vcamsdk.asp ) that should allow me to spoof such a device and hopefully send the camera stream to FMS.

Does anyone know of a different program or SDK I should be using? Am I making things more complicated than they need to be?

解决方案

It's really not that hard to turn a DirectShow source filter into a capture device. You need to register the filter in the right category, and implement IKsProperty to report the right category on the output pin.

Take a look at Vivek's capture source filter example at http://tmhare.mvps.org/downloads.htm

G

这篇关于&QUOT;假&QUOT; DirectShow视频捕捉设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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