Thoughts on Managed Directshow (and why it doesn't exist) Comments?

From: nadadeperos (nadadeperos_at_hotmail.com)
Date: 03/02/04


Date: 2 Mar 2004 13:23:26 -0800

I've written several directshow filters in C++ and the obvious
question is why isn't there any C# DirectShow classes. However, as
far as I can see, its obvious why. I have never gone to any PDC, or
talked with anyone at MS...but I can see the issues just by looking at
what is there...here are some observations:
-------
1) DirectShow from a C++ looks to me like a 3rd party COM library, and
is quirky as hell....its works, but wasn't very cleanly designed. It
uses some manual/ancient registration techniques.

2) The C++ class library that comes with it is a mess. It works, but
its a mess. It is unnecessary complex, and looks like a bad hack job.
 But it works...I've used it.

3) There are a bazillion complex C++ interfaces.

4) The graph editor is simplistic, and feels old to me.

5) The who Microsoft media platform is based on these filters. They
has been a TON of filters developed that are mission critical...Mounts
of extremely complex code, half C++ half assembly.

6) DirectShow has to be extremely fast, especially to do video
processing (most filters are optimized with assembly in them

----
CONCLUSION: to get DirectShow right...it would have to be *completely*
REDESIGNED from scratch and from ground zero with managed interfaces.
You could see they started down this path before C# with those DMO's
(which is dead in the water now as I see it)
How the heck do you back out of years of Complex assembly languge
code?  How do you redesign all of those filters?  All those
interfaces?  Will it be fast enough in C#? How do you embedd assembly
in C#???  The work is enormous to redesign it!!
These are HUGE questions that even Microsoft, as big as it is, is
having trouble dealing with.  Im sure, if there is priority for it, it
will be done, because if they can't do it, no one can.
In light of this, its obvious why we don't have a C# implementation
for direshow, but I bet one will be forthcoming.
Any thoughts???


Relevant Pages

  • Re: Directshow, PPC2003 and VS2005
    ... and running custom directshow filters. ... it's becasue the platform doesn't have them. ... the SDK and somehow get it to build using another SDK, ...
    (microsoft.public.pocketpc.developer)
  • Crap: Really no programmatically filter control in DirectShow??
    ... I try to use several MPEG2-Decoders in my DirectShow application. ... Besides the quality and performance issues among all the filters you can get ... If I have to know what interfaces a COM object can use (I can only ... So I can only control these filters, where .h header files exist from the ...
    (microsoft.public.win32.programmer.directx.video)
  • Multicast Directshow Graph Bridging, COW Rustling, & the Use of Portable Holes in Cartoon Physic
    ... hack DirectShow and its progeny in new and even more unusual ways! ... memory to share buffer pools across processes and works pretty well. ... You get two basic Direct Show filters, ... issue each GMF-source a virtual memory alias with COW ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: IVideoWindow on WM5
    ... Windows Media Player uses the same filters as DirectShow to render. ... This function works flawlessly in WinXP, but fails everytime in WM5 ...
    (microsoft.public.windowsce.embedded.vc)
  • Learning basics of Directshow and questions
    ... Each type of Directshow filters has its own Standard interfaces, ... custom interfaces. ...
    (microsoft.public.win32.programmer.directx.video)

Loading