Example Programs and Demos for Win32/x64

The source code for the following demo programs are installed in separate EXAMPLES subdirectories (such as C:\LEADTOOLS 175\Examples\Ltmm\Cpp\capture). You can specify the root directory during Installation .

The executables are installed in Bin subdirectories (such as C:\LEADTOOLS 17.5\Bin\CDLL\Win32). The executables that are shipped have "_Original" appended to the name. The ones you build do not have that added, so that you can 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.

 

Special EXE Utilities

Demo name

EXE name

Description

 

ltmmFMgr.exe

The "LEADTOOLS Multimedia Filter Manager" utility that allows you to add 3rd party processor filters to the LEADTOOLS Video and Audio Processor categories.

 

ltmmListFilters.exe

 

The "DirectShow Filter List" utility that allows you to list DirectShow filters, change their merit and obtain information like a filter's CLSID or display name strings. These strings can then be used to programmatically access these filters in your applications.

 

ltmmFiltersMerits.exe

 

The "LEADTOOLS Directshow Filters Merits" utility that allows you to change various decoder and splitter merits. The utility  will let you control all filters found in your system.

 

ltmmFilterMerit.exe

The "ltmmFilterMerit" is a command line utility for changing the merit of DirectShow filters such as decoders and splitters. This utility can be used to control all filters found in the system.

 

ltmmWin7PlaybackUtil.exe

The "ltmmWin7PlaybackUtil" can be used to disable/enable the default Media Foundation Decoders and Demultiplexers on Windows  7.  Use it to force Microsoft Windows Media Player and Media Center to use the LEAD DirectShow Decoders and Demultiplexers.

 

MeritSPDIF.exe

The "LEADTOOLS MeritSPDIF" utility allows you to enable and disable the LEAD SPDIF Audio Passthru filter in your system.

 

End-user Applications

Demo name

EXE name

Description

 

ltmmNetClient.exe

Videoconferencing client end-user application. This application can be licensed for deployment.

 

ltmmNetServer.exe

Videoconferencing server end-user application. This application can be licensed for deployment.

 

C Demos

Demo name

EXE name

Description

Capture

cCapture_Original.exe

Demonstrates the capture and save-to-file capabilities of the Multimedia toolkit, in C.

Player

cPlayer_Original.exe

Demonstrates how to play files from disk using the Multimedia toolkit, in C.

Convert

cConvert_Original.exe

Demonstrates the file-to-file conversion capabilities of the Multimedia toolkit, in C.

CnvMem

cCnvMem_Original.exe

Demonstrates the memory-to-file conversion capabilities of the Multimedia toolkit, in C.

GenAvi

cGenAvi_Original.exe

Demonstrates how to create a file by generating every frame using the Multimedia toolkit, in C.

ConvertToMobile

cConvertToMobile_Original.exe

Demonstrates how to create video and audio files that can run on mobile devices like iPod™, IPhone™, PSP™, Zen™, Zune™, SmartPhones and Windows Phone, in C.

H264Transcoder

cH264Transcoder_Original

Demonstrates how to transcode an H.264 stream to an ISO format, without performing decoding and re-encoding. This provides a faster conversion method for some formats, in C.

 

C++ Demos

Demo name

EXE name

Description

Capture

capture_Original.exe

Demonstrates the capture and save-to-file capabilities of the Multimedia toolkit, in C++.

Player

player_Original.exe

Demonstrates the play files from disk capabilities of the Multimedia toolkit, in C++.

Callback

callback_Original.exe

A simple player demo that demonstrates the use of the Video Callback Filter of the Multimedia toolkit in C++. The Video Callback Filter 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

convert_Original.exe

Demonstrates the file-to-file conversion capabilities of the Multimedia toolkit, in C++.

CnvMem

CNVMEM_Original.exe

Demonstrates the  memory-to-file conversion capabilities of the Multimedia toolkit, in C++.

CnvWM

cnvwm_Original.exe

Shows how to manage Windows Media profiles (creating custom profiles) in the Multimedia toolkit, in C++.

DVR

DVR_Original.exe

Demonstrates how to capture using ltmmCapture and then use the DVRSink interface to set the DVR buffer folder settings. Also, the ltmmPlay control is used to read from the DVR buffer file.

GenAvi

GenAVI_Original.exe

Demonstrates how to create a file by generating every frame using the Multimedia toolkit, in C++.

TVViewer

tvviewer_Original.exe

Demonstrates how to use the IltmmTVTuner interface of the Multimedia toolkit, in C++.

AudioReplace

AudioReplace_Original.exe

Demonstrates how to change the audio stream in a media file using the capabilities of the convert object of the multimedia toolkit, in C++.

AVDetection

AVDetection_Original.exe

Demonstrate the usage of the LEAD Audio Detection filter and LEAD Video Motion Detection filter using a live sources for audio and video, in C++.

Callbacka

AudCalBk_Original.exe

Demonstrates the use of the Audio Callback Filter of the Multimedia toolkit, in C++. The Audio Callback Filter is inserted automatically as an audio processor. The demo shows how to use the audio callback filter to change the volume of the audio stream.

CaptureDICOM

CaptureDicom_Original.exe

Demonstrates capturing from a live video source to a DICOM file using the capabilities of the multimedia toolkit and the LEAD DICOM Writer Filter, in C++.

CnvDV

cnvdv_Original.exe

Demonstrates converting media files to the DV format writing the output directly to the device (DV camera), in C++.

ConcatAndResize

ConcatAndResize_Original.exe

Demonstrates the joining process of media files of different formats using the capabilities of the multimedia toolkit, in C++. The demo allows resizing of the video streams in addition to providing the ability to choose the audio and video compressors for the output stream.

ConcatSameSize

ConcatSameSize_Original.exe

Demonstrates the joining process of media files of the same format without recompression, using the capabilities of the multimedia toolkit, in C++.

ConvertLTES

ConvertLTES_Original.exe

Demonstrates how to use the Elementary Stream filters to convert a file using multiple convert objects, in C++.

DVDAuthor

DVDAuthor_Original.exe

Demonstrates creating DVD images using the capabilities of the multimedia toolkit (with LEAD DVD Writer), in C++.

The source media files can be of any supported format.

DVDBurner

DVDBurner_Original.exe

Demonstrates burning DVD images and ISO files to DVDs using the capabilities of the LEAD DVD Burner, in C++.

MediaInfo

MediaInfo_Original.exe

Demonstrates the usage of the media information object of the multimedia toolkit, which provides comprehensive information about all streams in a media file, in C++.

MPEG2Transport

MPEG2Transport_Original.exe

Demonstrates playback of MPEG-2 Transport files from a file or RTP, UDP or TCP stream. Also shows how to handle KLV metadata, in C++. Additionally, you can control the capture buffering using the new DVR Sink interface.

NetServer

NetServer_Original.exe

Demonstrates how to create a basic video conferencing server using the capabilities of the multimedia toolkit with the LEADTOOLS Video Streaming Module, in C++.

NetClient

NetClient_Original.exe

Demonstrates how to create a basic video conferencing client using the capabilities of the multimedia toolkit with the LEADTOOLS Video Streaming Module, in C++.

Restreamer

Restreamer_Original.exe

Demonstrates Streaming files to a RTP, UDP or TCP/IP port. The file format can be MPEG-2 Transport or any other format that will be re-compressed to be compatible with MPEG-2 Transport., in C++.

VOverlay

VOverlay_Original.exe

Demonstrates overlaying images over video using the capabilities of the multimedia toolkit and the LEAD Video Overlay Filter, in C++.

Note: The filter has more capabilities than what the demo shows.

ConvertToMobile

convertToMobile_Original.exe

Demonstrates how to create video and audio files that can run on mobile devices like iPod™, IPhone™, PSP™, Zen™, Zune™, SmartPhones and Windows Phone, in C++.

H264Transcoder

H264Transcoder_Original.exe

Demonstrates how to transcode an H.264 stream to an ISO format, without performing decoding and re-encoding. This provides a faster conversion method for some formats, in C++.

ConvertKLV

convertKLV_Original.exe

Demonstrates how to add a user data stream containing KLV metadata to an MPEG-2 Transport stream, in C++.

ConvertMMS

convertMMS_Original.exe

Demonstrates how to add a user data stream containing KLV metadata to an MPEG-2 Transport stream using Minimal Metadata Set, in C++.

ConvertSSF

convertSSF_Original.exe

Demonstrates how to create Smooth Streaming Files, in C++.

ConvertWMS

convertWMS_Original.exe

Demonstrates how to add Script Metadata Streams to a Windows Media file, in C++.

CnvFlash

cnvFlash_Original.exe

Demonstrates how to convert a file to generate a file compatible with the Flash player, in C++. This type of file is compatible with popular video sites like YouTube.

MetaInfoViewer

MetaView_Original.exe

Demonstrates how to retrieve meta data for a media file. Meta data includes art work, performers, release date, original DVD titles/chapters, director...etc. All information is retrieved from the web.

Publisher

Publisher_Original.exe

Demonstrates how to push data to a Windows Media Server.

 

Visual Basic Demos

Demo name

EXE name

Description

Capture

vbCapture_Original.exe

Demonstrates the capture and save-to-file capabilities of the Multimedia toolkit in VB.

Player

vbPlayer_Original.exe

Demonstrates the play files from disk capabilities of the Multimedia toolkit in VB.

Convert

vbConvert_Original.exe

Demonstrates the file-to-file conversion capabilities of the Multimedia toolkit in VB.

CnvMem

vbCnvMem_Original.exe

Demonstrates the  memory-to-file conversion capabilities of the Multimedia toolkit in VB.

CnvWM

vbCnvwm_Original.exe

Shows how to manage Windows Media profiles (creating custom profiles) in the Multimedia toolkit in VB.

DVR

vbDvr_Original.exe

Demonstrates how to capture using ltmmCapture and then use the DVRSink interface to set the DVR buffer folder settings. Also, the ltmmPlay control is used to read from the DVR buffer file.

GenAvi

vbGenAVI_Original.exe

Demonstrates how to create a file by generating every frame using the Multimedia toolkit in VB.

TVViewer

vbTVViewer_Original.exe

Demonstrates how to use the IltmmTVTuner interface of the Multimedia toolkit in VB.

AudioReplace

vbAudioReplace_Original.exe

Demonstrates how to change the audio stream in a media file using the capabilities of the convert object of the multimedia toolkit., in VB.

Callback

vbCallback_Original.exe

A simple player demo that demonstrates the use of the Video Callback Filter of the Multimedia toolkit in VB. The Video Callback Filter 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.

CallbackA

vbCallbackA_Original.exe

Demonstrates the use of the Audio Callback Filter of the Multimedia toolkit. The Audio Callback Filter is inserted automatically as an audio processor. The demo shows how to use the audio callback filter to change the volume of the audio stream.

ConcatAndResize

vbConcatAndResize_Original.exe

Demonstrates the joining process of media files of different formats using the capabilities of the multimedia toolkit, in VB. The demo allows resizing of the video streams in addition to providing the ability to choose the audio and video compressors for the output stream.

ConcatSameSize

vbConcatSameSize_Original.exe

Demonstrates the joining process of media files of the same format without recompression, using the capabilities of the multimedia toolkit, in VB.

DVDAuthor

vbDVDAuthor_Original.exe

Demonstrates creating DVD images using the capabilities of the multimedia toolkit (with LEAD DVD Writer), in VB.

The source media files can be of any supported format.

DVDBurner

vbDVDBurner_Original.exe

Demonstrates burning DVD images and ISO files to DVDs using the capabilities of the LEAD DVD Burner, in VB.

MediaInfo

vbMediaInfo_Original.exe

Demonstrates the usage of the media information object of the multimedia toolkit, which provides comprehensive information about all streams in a media file, in VB.

MPEG2Transport

vbMPEG2TRANSPORT_Original.exe

Demonstrates playback of MPEG-2 Transport files from a file or RTP, UDP or TCP stream. Also shows how to handle KLV metadata in VB.  Additionally, you can control the capture buffering using the new DVR Sink interface.

MtnDet

vbMtnDet_Original.exe

Demonstrate the usage of the LEAD Video Motion Detection filter using a live source for video, in VB.

NetServer

vbNetServer_Original.exe

Demonstrates how to create a basic video conferencing server using the capabilities of the multimedia toolkit with the LEADTOOLS Video Streaming Module, in VB.

NetClient

vbNetClient_Original.exe

Demonstrates how to create a basic video conferencing client using the capabilities of the multimedia toolkit with the LEADTOOLS Video Streaming Module, in VB.

VOverlay

vbVOverlay_Original.exe

Demonstrates overlaying images over video using the capabilities of the multimedia toolkit and the LEAD Video Overlay Filter, in VB.

Note: The filter has more capabilities than what the demo shows.

ConvertToMobile

vbConvertToMobile_Original.exe

Demonstrates how to create video and audio files that can run on mobile devices like iPod™, IPhone™, PSP™, Zen™, Zune™, SmartPhones and Windows Phone in VB.

H264Transcoder

vbH264Transcoder_Original.exe

Demonstrates how to transcode an H.264 stream to an ISO format, without performing decoding and re-encoding. This provides a faster conversion method for some formats in VB.

 

Builder Demos

Demo name

EXE name

Description

Capture

CaptureB5_Original.exe

Demonstrates the capture and save-to-file capabilities of the Multimedia toolkit in C++ (using Borland Builder).

Player

PlayerB5_Original.exe

Demonstrates the play-files-from-disk capabilities of the Multimedia toolkit in C++ (using Borland Builder).

 

Delphi Demos

Demo name

EXE name

Description

Capture

CaptureD5_Original.exe

Demonstrates the capture and save-to-file capabilities of the Multimedia toolkit in Delphi.

Player

PlayerD5_Original.exe

Demonstrates the play-files-from-disk capabilities of the Multimedia toolkit in Delphi.

 

C#.NET Demos

Demo name

EXE name

Description

DrawOnVideo

CSDrawOnVideoDemo_Original.exe

Demonstrates how to draw objects on a video using the Multimedia toolkit and LEAD raster objects, in C#.NET.

DVR

csDVRDemo_Original.exe

Demonstrates how to capture using ltmmCapture and then use the DVRSink interface to set the DVR buffer folder settings. Also, the ltmmPlay control is used to read from the DVR buffer file.

GenerateAVI

Source only.

Demonstrates how to create a file by generating every frame using the Multimedia toolkit in C#.NET.

MPEG2Transport

CSMPEG2TRANSPORTDemo_Original.exe

Demonstrates playback of MPEG-2 Transport files from a file or RTP, UDP or TCP stream. Also shows how to handle KLV metadata in C#.NET.

VideoConferencing

CSVideoConferencingDemo_Original.exe

Demonstrates how to create a basic video conferencing application (server and client) using the capabilities of the multimedia toolkit with the LEADTOOLS Video Streaming Module, in C#.NET.

ConvertToMobile

CSConvertToMobile_Original.exe

Demonstrates how to create video and audio files that can run on mobile devices like iPod™, IPhone™, PSP™, Zen™, Zune™, SmartPhones and Windows Phone, in C#.NET.

H264Transcoder

CSH264TranscoderDemo_Original.exe

Demonstrates how to transcode an H.264 stream to an ISO format, without performing decoding and re-encoding. This provides a faster conversion method for some formats in C#.NET.

Capture

CSCaptureDemo_Original.exe

Demonstrates the capture and save-to-file capabilities of the Multimedia toolkit, in C#.NET.

ConcatSameSize

CSConcatSameSizeDemo_Original.exe

Demonstrates the joining process of media files of the same format without recompression, using the capabilities of the multimedia toolkit, in C#.NET.

Convert

CSConvertDemo_Original.exe

Demonstrates the file-to-file conversion capabilities of the Multimedia toolkit, in C#.NET.

ConvertKLV

CSConvertKLVDemo_Original.exe

Demonstrates how to add a user data stream containing KLV metadata to a MPEG-2 Transport stream, in C# .NET.

ConvertMMS

CSConvertMMSDemo_Original.exe

Demonstrates how to add a user data stream containing KLV metadata to an MPEG-2 Transport stream using Minimal Metadata Set, in C# .NET.

ConvertSSF

CSConvertSSFDemo_Original.exe

Demonstrates how to create Smooth Streaming Files, in C# .NET.

ConvertWMS

CSConvertWMSDemo_Original.exe

Demonstrates how to add Script Metadata Streams to a Windows Media file, in C# .NET.

ConvertToFlash

CSConvertToFlashDemo_Original.exe

Demonstrates how to convert a file to generate a file compatible with the Flash player, in C# .NET. This type of file is compatible with popular video sites like YouTube.

DVDAuthor

CSDVDAuthorDemo_Original.exe

Demonstrates creating DVD images using the capabilities of the multimedia toolkit (with LEAD DVD Writer), in C#.NET.

The source media files can be of any supported format.

DVDBurner

CSDVDBurnerDemo_Original.exe

Demonstrates burning DVD images and ISO files to DVDs using the capabilities of the LEAD DVD Burner, in C#.NET.

GenerateAVI

CSGenerateAviDemo_Original.exe

Demonstrates how to create a file by generating every frame using the Multimedia toolkit, in C#.NET.

Player

CSPlayerDemo_Original.exe

Demonstrates the play-files-from-disk capabilities of the Multimedia toolkit, in C#.NET.

CallbackA

CSAudCalBkDemo_Original.exe

Demonstrates the use of the Audio Callback Filter of the Multimedia toolkit, in C#.NET. The Audio Callback Filter is inserted automatically as an audio processor. The demo shows how to use the audio callback filter to change the volume of the audio stream.

Callback

CSCallbackDemo_Original.exe

 

A simple player demo that demonstrates the use of the Video Callback Filter of the Multimedia toolkit, in C#.NET. The Video Callback Filter 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: Requires one of the following toolkits to build this demo:

Imaging Pro

Document Imaging, Document Imaging Suite

Medical Imaging, Medical Imaging Suite, PACS

Vector Pro

Recognition

MetaInfoViewer

CSMetaInfoViewerDemo_Original.exe

Demonstrates how to retrieve meta data for a media file. Meta data includes art work, performers, release date, original DVD titles/chapters, director...etc. All information is retrieved from web.

MultiMachineTranscoding

CSMultiMachineTranscodingDemo_Original.exe

Demonstrates how to use the Elementary Stream filters to convert a file using multiple convert objects.

Restreamer

CSRestreamerDemo_Original.exe

Demonstrates streaming files to a RTP, UDP or TCP/IP port. The file format can be MPEG-2 Transport or any other format that will be re-compressed to be compatible with MPEG-2 Transport.

 

VB.NET Demos

Demo name

EXE name

Description

Capture

Source only

Demonstrates the capture and save-to-file capabilities of the Multimedia toolkit, in VB.NET.

ConcatSameSize

Source only

Demonstrates the joining process of media files of the same format without recompression, using the capabilities of the multimedia toolkit, in VB.NET.

Convert

Source only

Demonstrates the file-to-file conversion capabilities of the Multimedia toolkit, in VB.NET.

ConvertKLV

Source only

Demonstrates how to add a user data stream containing KLV metadata to an MPEG-2 Transport stream, in VB .NET.

ConvertMMS

Source only

Demonstrates how to add a user data stream containing KLV metadata to an MPEG-2 Transport stream using Minimal Metadata Set, in VB .NET

ConvertSSF

Source only

Demonstrates how to create Smooth Streaming files, in VB .NET.

ConvertWMS

Source only

Demonstrates how to add Script Metadata Streams to a Windows Media file, in VB .NET.

DrawOnVideo

Source only

Demonstrate how to draw objects on a video using the Multimedia toolkit and LEAD Raster objects, in VB.NET.

DVDAuthor

Source only

Demonstrates creating DVD images using the capabilities of the multimedia toolkit (with LEAD DVD Writer), in VB.NET.

The source media files can be of any supported format.

DVR

Source only

Demonstrates how to capture using ltmmCapture and then use the DVRSink interface to set the DVR buffer folder settings. Also, the ltmmPlay control is used to read from the DVR buffer file.

GenerateAVI

Source only

Demonstrates how to create a file by generating every frame using the Multimedia toolkit, in VB.NET.

MPEG2Transport

Source only

Demonstrates the playback of MPEG-2 Transport files from a file or RTP, UDP or TCP stream. Also shows how to handle KLV metadata, in VB.NET.  Additionally, you can control the capture buffering using the new DVR Sink interface.

Player

Source only

Demonstrates how to play files from disk using the Multimedia toolkit, in VB.NET.

VideoConferencing

Source only

Demonstrates how to create a basic video conferencing application (server and client) using the capabilities of the multimedia toolkit with the LEADTOOLS Video Streaming Module, in VB.NET.

ConvertToMobile

Source only

Demonstrates how to create video and audio files that can run on mobile devices like iPod™, IPhone™, PSP™, Zen™, Zune™, SmartPhones and Windows Phone, in VB .NET.

H264Transcoder

Source only

Demonstrates how to transcode an H.264 stream to an ISO format, without performing decoding and re-encoding. This provides a faster conversion method for some formats, in VB .NET.

ConvertToFlash

Source only

Demonstrates how to convert a file to generate a file compatible with the Flash player, in VB .NET. This type of file is compatible with popular video sites like YouTube.

DVDBurner

Source only

Demonstrates how to burn DVD images and ISO files to DVDs using the capabilities of the LEAD DVD Burner, in VB.NET.

CallbackA

Source only

Demonstrates the use of the Audio Callback Filter of the Multimedia toolkit, in VB .NET. The Audio Callback Filter is inserted automatically as an audio processor. The demo shows how to use the audio callback filter to change the volume of the audio stream.

Callback

Source only

A simple player demo that demonstrates the use of the Video Callback Filter of the Multimedia toolkit, in VB .NET. The Video Callback Filter 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: Requires one of the following toolkits to build this demo:

  • Imaging Pro

  • Document Imaging, Document Imaging Suite

  • Medical Imaging, Medical Imaging Suite, PACS

  • Vector Pro

  • Recognition

MetaInfoViewer

Source only

Demonstrates how to retrieve meta data for a media file. Meta data includes art work, performers, release date, original DVD titles/chapters, director...etc. All information is retrieved from the web.

MultiMachineTranscoding

Source only

Demonstrates how to use the Elementary Stream filters to convert a file using multiple convert objects.

Restreamer

Source only

Demonstrates streaming files to a RTP, UDP or TCP/IP port. The file format can be MPEG-2 Transport or any other format that will be re-compressed to be compatible with MPEG-2 Transport.

See Also:

Introduction

Microsoft Code Snippet Picker

LEADTOOLS Support Forums

LEADTOOLS Documentation for API

LEADTOOLS Documentation for COM

Getting Started with LEADTOOLS Multimedia

Technical Support for API

Technical Support for COM