Skip to main content
Email Password   helpLost your password?

Sample Image

Introduction

Besides the Microsoft SDK documentation, the information needed to program DirectShow applications is limited. This web site supplies many of the most useful references for programming these applications in C#. In order to continue this tradition, I have created a help file (.chm) that contains ten tutorials that illustrate how DirectShow applications can be written in C#.

Background

In general, the resources for programming DirectShow applications are scarce. In the past few months, I have written many tutorials that illustrate how to perform many common tasks in DirectShow with C#. I have put all these tutorials in one .chm file and provided access to all the source code samples from it. Moreover, the CodeProject web site has a nice messaging system to support the users of the code provided on this site, which should make these tutorials even more useful.

Using the code

I have provided a Visual Studio project file for each tutorial, and I have also included a .cmd file to compile it from the command line. Sometimes, these .cmd files contain references that need to be changed to reflect your local settings. I have mentioned these in the tutorial "readme.txt" file. Some tutorials will only run on 32-bit machines.

Points of Interest

The tutorials show how a simple multimedia player, a simple capture, a jukebox, and an append utility application can be written. Moreover, we have implemented versions of the Picture-In-a-Picture, custom allocator/presenter, custom image compositor samples from the DirectShow SDK in C#. And we have implemented the functionality of the EzRbg24 filter in C#.

Limitations and known issues

As mentioned previously, some samples will only work correctly on 32-bit machines. Moreover, I don't claim that these are optimal solutions. Many years ago, when I was teaching a VC++/MFC class, one student asked me where I was taking the code that I was using during the lectures. I replied that I had two directories with more than eighty samples in each of them, that I had written over a while. I was just picking some of these and brushed them up a little before presenting them and asking the students to modify or extend them (during the lectures or for assignments). I give these samples in the same spirit; but I'm still a long way from having more than hundred and sixty samples to chose from ;-)

You must Sign In to use this message board.
 
 
Per page   
 FirstPrevNext
GeneralAnti-flicker problem Pin
QuyLV
22:37 19 Feb '09  
GeneralSave PIP as wmv file Pin
rama srinu
6:09 23 Jan '09  
GeneralMultiple Sample Grabber Objects Pin
kazim bhai
6:42 11 Jun '08  
GeneralRe: Multiple Sample Grabber Objects Pin
daniel049
12:18 12 Jun '08  
Generalcannot display this HTML help file Pin
HooNose_JJP
3:18 11 Jun '08  
GeneralRe: cannot display this HTML help file Pin
HooNose_JJP
3:30 11 Jun '08  
GeneralRe: cannot display this HTML help file Pin
daniel049
3:59 11 Jun '08  
GeneralGreately in need of help Pin
babu74
2:49 3 Jun '08  
General.net Compact Framework Pin
s4souhail
9:43 3 Aug '07  
GeneralRe: .net Compact Framework Pin
daniel049
8:30 4 Aug '07  
GeneralJukebox: Step Forward works, but Step Backward has problems Pin
stringtheory_x
20:22 5 Jul '07  
GeneralRe: Jukebox: Step Forward works, but Step Backward has problems Pin
daniel049
7:19 9 Jul '07  
QuestionHow to capture single frame Pin
aishar
5:35 22 Jun '07  
GeneralAccess to Running Object Table? Pin
stringtheory_x
0:35 31 May '07  
GeneralRe: Access to Running Object Table? Pin
daniel049
3:57 31 May '07  
QuestionProblem with your tutorial.. please help... Pin
angeldoescry
6:34 9 May '07  
AnswerRe: Problem with your tutorial.. please help... Pin
daniel049
15:06 10 May '07  
Generalmu-LAW to MP3 Pin
Vince Zhou
14:47 2 May '07  
GeneralRe: mu-LAW to MP3 Pin
daniel049
9:21 5 May '07  
GeneralVMR9 and DX9 surface input Pin
wingnutman1
3:47 18 Apr '07  
GeneralRe: VMR9 and DX9 surface input Pin
daniel049
10:43 20 Apr '07  
GeneralGreat article !!... I need some help regarding video streaming.... Pin
sidsidz
22:06 31 Mar '07  
QuestionBuilding a DirectShow application Pin
Maynka
2:59 27 Mar '07  
AnswerRe: Building a DirectShow application Pin
daniel049
4:37 29 Mar '07  
QuestionCan't find the resource file Pin
hdtntran
14:15 18 Jan '07  


Last Updated 6 Oct 2005 | Advertise | Privacy | Terms of Use | Copyright © CodeProject, 1999-2009