问题
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:
Downloaded Windows SDK, compiled
push source
project andpushsource.dll
is generated.Registered
pushsource.dll
usingregsvr32
Successfully able build the graph in
graphedit
usingPushSource 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
I referenced
DirectShowLib-2005.dll
in my project, but didn't know how can I addPushSource Desktop Filter
into graph (ICaptureGraphBuilder2 n IFilterGraph2)I have tried to reference
pushsource.dll
but not successful.At the time of deployment of application on client machine, do I need to perform
regsvr32 pushsource.dll
step on client machine also?
来源:https://stackoverflow.com/questions/34782340/desktop-screen-recording-using-directshow-pushsourcedesktop