Media Foundation Example Programs and Demos

The source code for the following demo programs are installed in separate EXAMPLES subdirectories (such as <LEADTOOLS_INSTALLDIR>\Examples). You can specify the root directory during Installation.

The executables are installed in Bin subdirectories (such as <LEADTOOLS_INSTALLDIR>\Bin\CDLL\Win32). The executables that are shipped have "_Original" appended to the name. The ones you build do not have that added, allowing you to distinguish between the two.

Note: You can run the example programs on your system by clicking the appropriate buttons in the local help. If you try to run an example program that is not on your system, an error message will appear.

C++ Demos

Demo name EXE name Description
Capture captureMF_Original.exe Demonstrates the capture and save-to-file capabilities of the
Media Foundation toolkit, in C++.
Player playerMF_Original.exe Demonstrates the play files from disk capabilities of the Media
Foundation toolkit, in C++.
Callback CallbackMF_Original.exe A simple player demo that demonstrates the use of the Video
Callback Transform of the Media Foundation toolkit in C++. The
Video Callback Transform is inserted automatically as a video
processor when the demo starts. You can choose one of the
sample effects listed in the "Effects" menu.
Note: You must install the LEADTOOLS Imaging Pro SDK (or
higher) to build this demo.
Convert convertMF_Original.exe Demonstrates the file-to-file conversion capabilities of the
Media Foundation toolkit, in C++.
TVViewer tvviewerMF_Original.exe Demonstrates how to use the IltmfTVTuner interface of the Media
Foundation toolkit, in C++.

C#.NET Demos

Demo name EXE name Description
Capture CSCaptureDemoMF_Original.exe Demonstrates the capture and save-to-file capabilities of the
Media Foundation toolkit, in C#.NET.
Convert CSConvertDemoMF_Original.exe Demonstrates the file-to-file conversion capabilities of the
Media Foundation toolkit, in C#.NET.
Player CSPlayerDemoMF_Original.exe Demonstrates the play-files-from-disk capabilities of the Media
Foundation toolkit, in C#.NET.
Callback CSCallbackDemoMF_Original.exe A simple player demo that demonstrates the use of the Video
Callback Transform of the Media Foundation toolkit, in C#.NET.
The Video Callback Transform is inserted automatically as a
video processor when the demo starts. You can choose one of the
sample effects listed in the "Effects" menu.
Note: You must install the LEADTOOLS Imaging Pro SDK (or
higher) to build this demo.

VB.NET Demos

Demo name EXE name Description
Capture Source only Demonstrates the capture and save-to-file capabilities of the
Media Foundation toolkit, in VB.NET.
Convert Source only Demonstrates the file-to-file conversion capabilities of the
Media Foundation toolkit, in VB.NET.
Player Source only Demonstrates how to play files from disk using the Media
Foundation toolkit, in VB.NET.
Callback Source only A simple player demo that demonstrates the use of the Video
Callback Transform of the Media Foundation toolkit, in VB.NET.
The Video Callback Transform is inserted automatically as a
video processor when the demo starts. You can choose one of the
sample effects listed in the "Effects" menu.
Note: You must install the LEADTOOLS Imaging Pro SDK (or
higher) to build this demo.

See Also

Introduction

LEADTOOLS Support Forums

LEADTOOLS Documentation

LEAD Technical Support

Getting Started with LEADTOOLS Multimedia

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Media Foundation C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.