“假的"DirectShow 视频采集设备 [英] "Fake" DirectShow video capture device

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

问题描述

这与我提出的最后几个问题无关.

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

我需要将视频从 IP 网络摄像头 (SNC-RZ25N) 获取到 Flash Media Server.我宁愿不必使用 Windows,但如果它使事情变得更容易,我会的.(Flash Media Live Encoder 是一个仅限 Windows 的程序.)

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.)

我考虑了从 A 点到 B 点的许多不同路线,但似乎最简单的方法可能是仅使用 Flash Media Live Encoder 发布到 Flash Media Server.然后,我必须弥合的唯一差距是获得 Flash Media Live Encoder 可读的视频源.

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.

当然,我的来源是在网络上,FMLE 寻找Microsoft DirectShow 兼容的视频捕获设备".我找到了一个非免费的 SDK ( http://www.e2esoft.cn/vcam/vcamsdk.asp ) 应该允许我欺骗这样的设备,并希望将相机流发送到 FMS.

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.

有人知道我应该使用其他程序或 SDK 吗?我是否让事情变得比他们需要的更复杂?

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

推荐答案

将 DirectShow 源过滤器转变为捕获设备并不难.您需要在正确的类别中注册过滤器,并实现 IKsProperty 以在输出引脚上报告正确的类别.

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.

http://tmhare.mvps.org/downloads 查看 Vivek 的捕获源过滤器示例.htm

G

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

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