## DirectShow Samples

This article provides the descriptions of the Microsoft® DirectShow™ samples that are part of the DirectShow Software Development Kit (SDK). These samples demonstrate how to write DirectShow filters and applications that use them.

Microsoft® DirectShow™ provides filters and samples as part of the DirectShow Software Development Kit (SDK). A filter is supplied as binary code only. Samples include source code. Some samples are filters and some are applications. Some of the sample filters are registered and appear in the Filter Graph Editor when you choose Insert Filters from the Graph menu. Other sample filters must be built and registered before they will appear in the Filter Graph Editor.

The following sections describe the purpose and functionality of each sample filter or sample application.

Source Filters

- Async Sample (Asynchronous Reader Filter)
- Ball Sample (Bouncing Ball Filter)
- Synth Sample (Audio Synthesizer Filter)
- VidCap Sample (Video Capture Filter)

Transform Filters

- Contrast Sample (Video Contrast Filter)
- EzRGB24 Sample (Image Effect Filter)
- Gargle Sample (Gargle Filter)
- Inftee Sample (Infinite-Pin Tee Filter)
- MPGAudio Sample (MPEG Audio Decoder Filter)
- MPGVideo Sample (MPEG Video Decoder Filter)
- Nullip Sample (Null In Place Filter)
- Nullnull Sample (Minimal Null Filter)
- Vcrctrl Sample (VCR Control Filter)

Renderer Filters

- Dump Sample (Dump Filter)
- SampVid Sample (Video Renderer Filter)
- Scope Sample (Oscilloscope Filter)
- TextOut Sample (Text Display Filter)

Cutlist Sample Applications

- CLText Sample (Text Cutlist Application)
- Simplecl Sample (Cutlist Application)

C/C++-based Sample Applications

- AMCap Sample (DirectShow Capture Application)
- CPlay Sample (C/COM-based Media Player Application)
- Dvdsampl Sample (DVD Player Application)
- InWindow Sample (Window Playback Application)
- IPlay Sample (Indeo Player Application)
- MFCPlay Sample (C++/COM-based Media Player Application)
- MPEGProp Sample (MPEG Property Page Display Application)
- PlayFile Sample (Simple Playback Application)
- ShowStrm Sample (Multimedia Streaming Application)
- VidClip Sample (Video Editing Application)

Visual Basic-based Sample Applications

- Visual Basic-Based ActiveX Player
- Visual Basic-Based Filter Graph Builder
- Visual Basic-Based Filter Graph Player
- Visual Basic-Based Player

Miscellaneous Samples

- PID Sample (Plug-In Distributor Application)
- SampIOS Sample (IOStream Helper Library)

Additional Sample Information

- Structure of Comments in Sample Source Code
- Build Information

Sample Locations

The following table shows the directory location of each sample, assuming the default installation directory.

Sample | Directory location
AMCap Sample (DirectShow Capture Application) | DXMedia\Samples\Ds\Capture\
Async Sample (Asynchronous Reader Filter) | DXMedia\Samples\Ds\Async\
Ball Sample (Bouncing Ball Filter) | DXMedia\Samples\Ds\Ball\
CLText Sample (Text Cutlist Application) | DXMedia\Samples\Ds\Cutlist\Cltext
Contrast Sample (Video Contrast Filter) | DXMedia\Samples\Ds\Contrast\
CPlay Sample (C/COM-based Media Player Application) | DXMedia\Samples\Ds\Player\Cplay\
Dump Sample (Dump Filter) | DXMedia\Samples\Ds\Dump\
Dvdsampl Sample (DVD Player Application) | DXMedia\Samples\Ds\Dvdsampl\
EzRGB24 Sample (Image Effect Filter) | DXMedia\Samples\Ds\Ezrgb24\
Gargle Sample (Gargle Filter) | DXMedia\Samples\Ds\Gargle\
Inftee Sample (Infinite-Pin Tee Filter) | DXMedia\Samples\Ds\Inftee\
InWindow Sample (Window Playback Application) | DXMedia\Samples\Ds\Player\Inwindow\
IPlay Sample (Indeo Player Application) | DXMedia\Samples\Ds\Iplay\
MFCPlay Sample (C++/COM-based Media Player Application) | DXMedia\Samples\Ds\Player\Mfcplay\
MPGAudio Sample (MPEG Audio Decoder Filter) | DXMedia\Samples\Ds\Mpgaudio\
MPGVideo Sample (MPEG Video Decoder Filter) | DXMedia\Samples\Ds\Mpgvideo\
MPEGProp Sample (MPEG Property Page Display Application) | DXMedia\Samples\Ds\Player\Mpegprop\
Nullip Sample (Null In Place Filter) | DXMedia\Samples\Ds\Nullip\
Nullnull Sample (Minimal Null Filter) | DXMedia\Samples\Ds\Nullnull\
PID Sample (Plug-In Distributor Application) | DXMedia\Samples\Ds\pids\Iamovie\
PlayFile Sample (Simple Playback Application) | DXMedia\Samples\Ds\Player\Playfile\
SampIOS Sample (IOStream Helper Library) | DXMedia\Samples\Ds\Iostream\
SampVid Sample (Video Renderer Filter) | DXMedia\Samples\Ds\Sampvid\
Scope Sample (Oscilloscope Filter) | DXMedia\Samples\Ds\Scope\
ShowStrm Sample (Multimedia Streaming Application) | DXMedia\Samples\Ds\Showstrm\
Simplecl Sample (Cutlist Application) | DXMedia\Samples\Ds\Cutlist\Simplecl
Synth Sample (Audio Synthesizer Filter) | DXMedia\Samples\Ds\Synth\
TextOut Sample (Text Display Filter) | DXMedia\Samples\Ds\Textout\
Vcrctrl Sample (VCR Control Filter) | DXMedia\Samples\Ds\Vcrctrl\
VidCap Sample (Video Capture Filter) | DXMedia\Samples\Ds\Vidcap\
VidClip Sample (Video Editing Application) | DXMedia\Samples\Ds\Vidclip\
Visual Basic-Based ActiveX Player | DXMedia\Samples\Ds\Vb\Ocx\
Visual Basic-Based Filter Graph Builder | DXMedia\Samples\Ds\Vb\Builder\
Visual Basic-Based Filter Graph Player | DXMedia\Samples\Ds\Vb\Vbdemo\
Visual Basic-Based Player | DXMedia\Samples\Ds\Vb\Player\

© 1997 Microsoft Corporation. All rights reserved. Terms of Use.