age Posted April 29, 2003 Posted April 29, 2003 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 Quote
*Experts* Nerseus Posted April 29, 2003 *Experts* Posted April 29, 2003 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 Quote "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
AndreRyan Posted May 3, 2003 Posted May 3, 2003 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 Quote .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?
dsgreen57 Posted May 15, 2003 Posted May 15, 2003 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 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.