问题
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 sourceproject andpushsource.dllis generated.Registered
pushsource.dllusingregsvr32Successfully able build the graph in
grapheditusingPushSource Desktop Filterand 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.dllin my project, but didn't know how can I addPushSource Desktop Filterinto graph (ICaptureGraphBuilder2 n IFilterGraph2)I have tried to reference
pushsource.dllbut not successful.At the time of deployment of application on client machine, do I need to perform
regsvr32 pushsource.dllstep on client machine also?
来源:https://stackoverflow.com/questions/34782340/desktop-screen-recording-using-directshow-pushsourcedesktop