PC Review


Reply
Thread Tools Rate Thread

DirectShow C#

 
 
=?Utf-8?B?RGFuaCBWbw==?=
Guest
Posts: n/a
 
      9th Feb 2007
Can anyone send me a snipper code of how to build DS graph for "File Source
(Async.)" filter as intelligent graph builder?

Thank you
 
Reply With Quote
 
 
 
 
Ollie Riches
Guest
Posts: n/a
 
      9th Feb 2007
first of are using the interop library for direct show called directshowlib
?

http://directshownet.sourceforge.net/

I not a direct show expert but we have using direct show in .Net via
(directshowlib) to evaluate hardware recently and we used code similar to
this to create and use a graph builder. I am sure you should be able to find
an example of what you want done in C++ that you can translate into .net
using the directshowlib for .Net.

....
DirectShowLib.IGraphBuilder graphBuilder = (DirectShowLib.IGraphBuilder)new
DirectShowLib.FilterGraph();
DirectShowLib.IBaseFilter filter = (DirectShowLib.IBaseFilter)new
DirectShowLib.VideoMixingRenderer9();
hresult = graphBuilder.AddFilter(filter, "Video Mixing Renderer 9");
DirectShowLib.IVMRMonitorConfig9 vmrMonitorConfig = filter as
DirectShowLib.IVMRMonitorConfig9;
....
....

HTH

Ollie Riches


"Danh Vo" <(E-Mail Removed)> wrote in message
news:B7B523E9-7C34-4B4A-82FA-(E-Mail Removed)...
> Can anyone send me a snipper code of how to build DS graph for "File
> Source
> (Async.)" filter as intelligent graph builder?
>
> Thank you



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DirectShow in DX 10 =?Utf-8?B?Unlhbg==?= Windows Vista General Discussion 6 1st Jun 2007 09:41 PM
COM Directshow Nabz Windows XP Embedded 6 11th Dec 2006 04:59 PM
using DirectShow =?Utf-8?B?VGFtZXIgSGVzaGFt?= Microsoft Dot NET Compact Framework 0 18th May 2006 02:33 PM
DirectShow and C# Nick Z. Microsoft C# .NET 0 24th Sep 2004 01:00 AM
Directshow. Twoofakind Microsoft C# .NET 1 6th May 2004 07:54 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:21 PM.