使用Dekstop窗口作为源的DirectShow Source过滤器 [英] DirectShow Source filter using Dekstop window as source
问题描述
我正在寻找可以显示桌面窗口的DirectShow Source过滤器的示例。我敢肯定应该有例子,但是我还没有找到它们。也许我使用了错误的术语。
I am looking for examples of a DirectShow Source filter that would display a Desktop Window. I am sure there should be examples, but I haven't yet found them. Perhaps I am using the wrong terminology.
这是为了获取Window的实时输出并处理包含视频的视频。
This is for grabbing live output of a Window, and processing that has video.
Lee
推荐答案
在DirectShow SDK中,有一个名为PushSource的示例过滤器,内部有PushSourceDesktop。对其进行编译,注册( regsvr32 PushSource.ax),然后将其作为源过滤器插入图形中。
In DirectShow SDK there is a sample filter called PushSource and inside there is PushSourceDesktop. Compile it, register ("regsvr32 PushSource.ax") and insert into your graph as a source filter.
这篇关于使用Dekstop窗口作为源的DirectShow Source过滤器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!