Preet, thanks - That seems to be from the horse's mouth. 

I am using some DirectShow.NET stuff, and I guess if my calls (video camera
. web camera capture, etc) fail, then I know there is some problem. Looking
in Win7 Windows Features, it is possible for users (or Policy) to turn OFF
some Media Features but my guess is, from looking hard at the registry, that
DirectShow Core Services is always available, even though Microsoft is
(apparently) trying to phase it out and use Media Foundation. 

Pinching the filterbuilder code from the stackoverflow link you gave should
do the trick. 

 

  _____  

Ian Thomas
Victoria Park, Western Australia

From: [email protected] [mailto:[email protected]]
On Behalf Of Preet Sangha
Sent: Monday, August 27, 2012 5:54 PM
To: ozDotNet
Subject: Re: DirectShow

 

>From the DirectShow  FAQ
<http://msdn.microsoft.com/en-us/library/windows/desktop/dd375463(v=vs.85).a
spx>  (
http://msdn.microsoft.com/en-us/library/windows/desktop/dd375463(v=vs.85).as
px )  I found this:

 

 

How can I detect whether DirectShow is installed on a given machine?

Call CoCreateInstance to create an instance of the Filter Graph Manager. If
this call succeeds, DirectShow is installed on the machine. The following
code shows how to do this:

 
IGraphBuilder *pGraph;
 
HRESULT hr = CoCreateInstance(CLSID_FilterGraph,
    NULL, CLSCTX_INPROC_SERVER,
    IID_IGraphBuilder, (void **) &pGraph);

 

You should be able to call this from .net using the DirectShow.NET see here
for some thing that you could crib from
http://stackoverflow.com/questions/2584488/how-to-create-thumbnails-from-wmv
-videos

 

On 27 August 2012 21:37, Ian Thomas <[email protected]> wrote:

Can anyone tell me how to test for DirectShow installs on Windows (XP
onwards; mobile platform not included)? Is it still a standard install
(without users opting to download and install it themselves) for Windows 7
and Windows 8 versions? 

Note that I'm aware that DirectShow.NET is a non-Microsoft wrapper for DS. 

 

  _____  

Ian Thomas
Victoria Park, Western Australia





 

-- 
regards,
Preet, Overlooking the Ocean, Auckland

:  

Reply via email to