iNET Interactive - Online Advertising Agency
          
Go Back  Xtreme .NET Talk > .NET > Graphics and Multimedia > DirectX > Managed DirectX 9 - no DirectShow?


Reply
 
Thread Tools Display Modes
  #1  
Old 04-29-2003, 04:22 AM
age age is offline
Newcomer
 
Join Date: Apr 2003
Posts: 1
Default Managed DirectX 9 - no DirectShow?

Hi all,

there is no namespace DirectShow in Managed DirectX 9
I do progam in C#, but all functionality I need comes with
Direct Show. I saw samples with DX8.1 wraping C++
class. At that time there was no managed DX.

So do I need do all this workaroud stuff, or there is diferent solution


age
Reply With Quote
  #2  
Old 04-29-2003, 11:10 AM
Nerseus's Avatar
Nerseus Nerseus is offline
Danner

Preferred language:
C#
 
Join Date: Oct 2002
Location: Arizona, USA
Posts: 2,546
Default

There's an AudioVideoPlayback namespace (you must reference Microsoft.DirectX.AudioVideoPlayback) - but I hear it only does basic audio and video playback, not the full DirectShow library.

From the MS newsgroups, it sounds like there is no managed support right now for DirectShow. There's a thread titled "No DirectShow What a Surprise!" where people have talked about the basics of creating a managed wrapper around the non-managed directshow pieces - it didn't look that difficult, but I didn't read it that close

-Nerseus
__________________
"I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
Reply With Quote
  #3  
Old 05-03-2003, 02:22 AM
AndreRyan AndreRyan is offline
Junior Contributor

Preferred language:
VB.Net
 
Join Date: Jan 2002
Posts: 366
Default

AudioVideoPlayback would appear to be DirectShow(DirectShow has never been very good anyway[poor control over the streams and inability to extract individual frames], so a substandard managed class would be fitting), AudioVideoPlayback can play MP3, WAV, AVI, MID, RMI, MP2(certain versions of), and a few others
__________________
.Net allows software to be written for any version of Windows and not break like Unmanaged applications unless using Unmanaged procedures like APIs. If your program uses large amounts of memory but releases it when something else needs it, then what's the problem?
Reply With Quote
  #4  
Old 05-15-2003, 03:12 AM
dsgreen57 dsgreen57 is offline
Regular
 
Join Date: Mar 2003
Posts: 66
Default

A guy aka 'NetMaster' has posted a DirectShow wrapper he has written at .DirectShow.NET

There is loads of useful stuff on this subject by the same author and others available via links from the site.

One other possible alternative dependent on the project is to use Windows Media 9 SDK available from MSDN. This has loads of stuff for encoding, playing, streaming media in C#. They have released a Primary Interop Assembly (PIA) for the SDK, which comes with the downloads, which makes it really nice to program in
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Managed DirectX with MC++ israel DirectX 8 08-10-2004 10:51 AM
using directX (directShow) to create a simple graphic visualization fguihen DirectX 3 12-03-2003 03:19 PM
Can Non-Managed DirectX engine be used in C# or Managed C++ app? knaack DirectX 2 09-24-2003 07:47 PM
Managed DirectX in Managed C++ I_R_Lee DirectX 8 06-08-2003 07:06 PM
Managed DirectX divil DirectX 0 12-20-2002 01:17 PM

Advertisement: