directshow.net

Video Capture output always in 320x240 despite changing resolution

℡╲_俬逩灬. 提交于 2019-11-28 07:44:16
Ok I have been at this for 2 days and need help with this last part. I have a Microsoft LifeCam Cinema camera and I use the .NET DirectShowLib to capture the video stream. Well actually I use WPFMediaKit, but I am in the source code of that dealing directly with the direct show library now. What I have working is: - View the video output of the camera - Record the video output of the camera in ASF or AVI (the only 2 MediaType's supported with ICaptureGraphBuilder2) The problem is: I can save it as a .avi. This works fine and at a resolution of 1280x720 but it saves the file in RAW output.

C# + DirectShow.NET = Simple WebCam access?

不想你离开。 提交于 2019-11-27 12:57:22
I have found an example for accessing a webcam in C#. The example uses the DirectShow.NET library. I have tried to understand the code, but so far the only thing I could figure out is that somehow the usercontrol calls directshow to draw directly to the surface of the user control. I want to access each frame and put it into a Bitmap object. How can I tell when a new frame arrived? How can I capture this new frame into a Bitmap Object? This might be simple to answer if you know your way around DirectShow.NET. Shay Erlichmen You will need to use the ISampleGrabber interface there are many c++

GMFBridge usage in DirectShow

一笑奈何 提交于 2019-11-27 07:16:52
问题 enter code here I have to stop and start Video Renderer Filter dynamically . That is not possible with "normal" Direct Show Architecture without creating new graph. But with GMFBridge it seems it is possible. But i can not figure out how to use it.( yes i read the paper at http://www.gdcl.co.uk/gmfbridge/index.htm ) My Graph is: SourceFilter ---> MyCustomTransformFilter ---> Video Rendrer Filter So GMFBridge fits where? i) I can devide my graph two pieces [ Source Filter + MyCustomFilter ] +

Can't make IAMStreamConfig.SetFormat() to work with LifeCam Studio

我怕爱的太早我们不能终老 提交于 2019-11-27 06:18:29
问题 I'm brand new to DirectShow and am working on adding a video stream to my application. I've looked into many solutions out there (TouchLess, DirectShow.net, etc.) and ended up going with this small project on Code Project There isn't much to it, which is why I selected it; I wanted a small code base to work with, as I need to get this feature implemented quickly. After a solid day of reading, experimenting and debugging I finally have everything working nicely. There is a delay which is a