Export (0) Print
Expand All

DirectShow Samples (Compact 2013)

3/26/2014

Compact 2013 includes sample code to help you develop applications that use the DirectShow middleware architecture to play multimedia content. The following list shows some general code samples. For examples of code that uses DirectShow filters, see DirectShow filter samples; for examples of code that uses DirectShow player applications, see DirectShow player samples.

The following table shows the code samples related to DirectShow filters. The source code for these samples is located in %WINCEROOT%\PUBLIC\DIRECTX\SDK\SAMPLES\DSHOW\FILTERS.

Sample

Description

Graphical Ball Sample DirectShow Filter (Ball.dll)

Source filter that produces a continuous stream of images that show a colored ball bouncing around the window. The color of the ball depends on the bit depth of the current display device. Because it is effectively a live video stream, this filter does not provide any seeking interfaces.

Write-to-Disk Sample DirectShow Filter (Dump.dll)

Generic renderer that can be attached to any data stream that uses an IMemInputPin Interface data transport. The renderer writes the contents of each sample, including its properties, into a file. This file is specified when the filter is created.

EZRGB24 Sample DirectShow Filter (Ezrgb24.dll)

Special-effects filter that only works with RGB24 formats. It can be inserted between video decoders and renderers to apply various effects to the decompressed video stream. For example, it can apply red, green, or blue color filters, posterise, and create graying effects. The effect can be applied to the stream at a given start and end media time, which are defined by using the filter's IIPEffect interface.

Infinite Tee Sample DirectShow Filter (Inftee.dll)

Pass-through filter. It has a single input pin and can have many output pins. It starts with one output pin and each time an output pin connects, the filter creates another output pin. Any data samples that the input pin receives are sent down each output pin. Each output pin has a separate thread to avoid delivery-blocking the filter's thread.

The following table shows the code samples related to DirectShow player applications. The source code for these samples is located in %WINCEROOT%\PUBLICROOT\DIRECTX\SDK\SAMPLES\DSHOW\PLAYERS.

Sample

Description

Sample DirectShow Player Application (Ceplayit.exe)

Simple console application for video playback.

DDraw Exclusive Mode Video Playback sample (Ddxclmv.dll)

Ee493818.note(en-us,WinEmbedded.80).gifImportant:
This sample is deprecated. The OVMixer component that it requires is no longer part of Windows Embedded Compact.

This sample demonstrates video playback using DirectDraw exclusive mode.

Sample DirectShow Headless Audio Player Application (Hlplayit.exe)

Simple console application for audio playback.

Sample DirectShow Player Application (Playwnd.exe)

Interactive audio and video media file player.

Other Resources

DirectShow

Show:
© 2015 Microsoft