Managed Graphics and Multimedia Programming

We have changed the title to cover more ground than just Managed DirectX. Below, you'll find a few references about DirectShow programming in C#. But there are also old stuff, like Video for Windows, and new stuff, like the Windows Media SDKs, that are interesting to program in C#.  

DirectShow (through Interop)

We include here resources about programming DirectShow with C#.

Our first note, where we start to look at what can be done with DirectShow and C#.

Our second tutorial is a Jukebox sample where we translate some of the functionality from the C++ sample of the same name.

Our third tutorial is the Jukebox sample (version 2) where we use the open-source DirectShowLib to add frame stepping to our sample.

Version 3 of the Jukebox sample shows how to create a custom assembly to access specific DirectShow interfaces.

In this tutorial, we have a look at DirectShow Editing Services (DES) and how to use them in C# to append two wav files.

This is the "Final Frontier" tutorial, where we use the ISampleGrabber interface to implement the functionality of the EzRGB24 filter from the DirectShow SDK samples.

Here's some notes on implementing a VMR-9 custom allocator/presenter in C#. The code needs to be refined but we already spent more time than originally planned on this exercise...

This tutorial implements the Picture-In-a-Picture sample from the SDK in C#.

Since we haven't presented any capture application using DirectShow and C#. Here is a simple capture application similar to the PlayCap sample from the SDK in C#.

Here is a version of the Cube sample from the SDK in C#.

The code for the CsYuv filter in C# can be found here.

The description and code for a DS source filter in C# can be found here.

The solution and project files for Visual Studio Express Edition of my DirectShow filter in C# found on CodeProject can be downloaded from here.

Windows forms tutorial

Windows Forms progamming is a very nice way to create Windows applications. These tutorials show some of the simplest ways to use the class library. An experienced C++ or Java programmer can probably get up to speed in a very short period of time using these tutorials and the complete documentation in MSDN.

The tutorials include:

Others

Since we prefer "bite size" samples to illustrate some techniques, we have written the simplest possible code to get "Miss Tiny" up and walking. After reading this sample, you can turn to the CsSimpleAnimation and the C++ SkinnedMesh sample from the SDK.

The code for the FFWrapper filter can be found here. The code for a simple sample showing how to use the wrapper in C# can be found here.

A first draft showing how to use FFMpeg libraries with C#.

A second draft that provides a more appealing interface to some of the functionalities of the FFMpeg libraries with C#.(With VC++ and VC# Express solutions and projects).

Here's version 0.7 of Audio and Video for .Net (AvDn) of our wrapper library for some FFMpeg functionalities in a .Net environment.

Joomla Template by Joomlashack
Joomla Templates by JoomlaShack Joomla Templates by Compass Design