DirectShow Source filter using Dekstop window as source

别等时光非礼了梦想. 提交于 2019-11-27 03:34:19

问题


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.

This is for grabbing live output of a Window, and processing that has video.

Lee


回答1:


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.




回答2:


here's a few more: http://betterlogic.com/roger/2010/07/open-source-directshow-screen-capture/




回答3:


Desctop Source filter written in С# http://www.codeproject.com/Articles/437617/DirectShow-Virtual-Video-Capture-Source-Filter-in



来源:https://stackoverflow.com/questions/4214786/directshow-source-filter-using-dekstop-window-as-source

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!