Desktop screen recording using Directshow - PushSo

2019-09-09 21:50发布

问题:

I am working on DirectShow.NET to avail webcam and desktop screen recording features. I am successful with webcam recording. Now, moving towards desktop screen recording I have done this:

  1. Downloaded Windows SDK, compiled push source project and pushsource.dll is generated.

  2. Registered pushsource.dll using regsvr32

  3. Successfully able build the graph in graphedit using PushSource Desktop Filter and genrated AVI/asf file.

After all this now I want to do this using c# code, while trying to start development I am facing following problems as well as some doubts

  1. I referenced DirectShowLib-2005.dll in my project, but didn't know how can I add PushSource Desktop Filter into graph (ICaptureGraphBuilder2 n IFilterGraph2)

  2. I have tried to reference pushsource.dll but not successful.

  3. At the time of deployment of application on client machine, do I need to perform regsvr32 pushsource.dll step on client machine also?