How can I learn a DirectShow programming? [closed]
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this questionI'm a .Net C# Developer. I want to develop the media programming about video/audio codec, capture media from source, etc. I'm going to use the DirectShow Lib, but I read it on MSD开发者_如何学PythonN, and I'm very confused, because I'm a beginner.
Do you have the best tutorials or some article that can make beginner understand to program in the DirectShow architecture? If so, please share them.
You will find these useful:
http://www.codeproject.com/KB/directx/PrgmngDirectShowappsCS.aspx
http://www.codeproject.com/KB/directx/directshowmediaplayer.aspx
http://www.codeproject.com/KB/directx/directshownet.aspx
http://www.codeproject.com/KB/directx/MPEG2_Capture_Device.aspx
Oh and these too:
http://www.codeproject.com/KB/audio-video/dshowencoder.aspx
http://www.codeproject.com/KB/directx/rendering.aspx
http://www.codeproject.com/KB/windows/samplegrabberfilter-wm6.aspx
http://www.codeproject.com/KB/audio-video/Tanvon_DirectShowFilters.aspx
Hope that helps.
Regards
Richard
Dude, IMO It's better develop direct show in C++, you just should learn how to create COM object and uninitialize it, C++ is faster, and current available library of direct show all are in c++, cases which are in code project in c# are good for learning basic of direct show, but they aren't practical solutions. they are COM wrapper to use them in C#, the speed is main concern and their speed in real time video analyzing is not good. the MSDN is best reference for working with directshow and there are good samples in SDK
Just read DirectShow SDK in MSDN from beginning. Then install GraphEditPlus, try building some graphs and then from File menu you can generate C# code which builds these graphs using DirectShowLib for .NET and see how it does it.
精彩评论