Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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

  • *Experts*
Posted

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
Posted
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?
  • 2 weeks later...
Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...