This help file provides API platform information for:
LEADTOOLS Multimedia software development toolkits (SDKs)
LEADTOOLS Multimedia software development toolkit add-ons, plug-ins, and modules.
The LEADTOOLS Multimedia SDK is designed to provide developers with a full range of tools required to create professional, high-quality multimedia applications. With it you can add multimedia functionality such as Capture, Play, and Convert, as well as the latest DirectShow filters and multimedia file support . You can load/convert to and from many common file formats, such as WAV, AVI, WMA, WMV, MPEG-1, MPEG-2, OGG, FLV, WebM, MKV and others. All in all, nearly 100 formats, media types, and subtypes are supported, with full control over compression quality.
The LEADTOOLS toolkit is flexible and gives you full control over the input, middle and output samples:
Input: Provide your own samples to the conversion / playback, instead of converting a source file. (see the GenAvi demo for an example).
Middle: Get access to each sample being converted for additional processing (see the Callback C++ or DrawOnVideo .NET demo for an example).
Output: Get each output sample and store it as needed (see the Concatenate C++ demo for an example).
Input data can come from:
A media file
A raster file
A stream
The application, one sample at a time
A DirectShow Filter created manually by the application.
Data can be output to:
A media file
A still image file (as either one multi-page file or multiple single-page raster files)
A stream
The application, one sample at a time
A DirectShow filter created manually by the application.
The input streams can be very different (MPEG-2 Transport over UDP, TCP/IP, or RTSP server feeding RTP packets, http stream, etc), but as far as your application is concerned, all you have to do is set the stream URL as the source and the toolkit handles the rest. The output is handled in the same way: set the output to a URL and the toolkit will take care of streaming the data.
Add-on modules are available to enhance these capabilities. The LEADTOOLS DVD Module adds functionality for programmatically creating, capturing, authoring, burning, and playing DVD images. The LEADTOOLS Streaming Module is perfect for developers who need to implement video conferencing or serve videos on demand, using a standard IIS web server or the Microsoft Media Server. The LEADTOOLS MPEG-2 Transport Module can be used to play and process MPEG-2 Transport Streams used by satellites and UAVs (Unmanned Aerial Vehicle). The LEADTOOLS MPEG-2 Transport Module can also be used to create and play DVR files, and adds DVR support to the Capture, Convert and Play objects.
The LEADTOOLS Multimedia SDK includes full or evaluation versions* of many DirectShow and Media Foundation filters such as encoders, decoders, multiplexers, demultiplexers, sources, and sinks. Also included are evaluation versions [*] of the DVD writer, DVD burner, MPEG-1 multiplexer, MPEG-2 multiplexer, ISO multiplexer/demultiplexer, Screen capture filter, Network filters (source, mux, sink and protocol manager) (TCP/IP, UDP, RTSP), DICOM medical toolkit filters and more.
Refer to LEADTOOLS DirectShow Filters and LEADTOOLS Media Foundation Filters for a complete listing of available filters. Refer to the Multimedia Product Comparison Chart to see which licensed filters are included with the various LEADTOOLS products. LEADTOOLS Multimedia includes evaluation versions of all DirectShow and Media Foundation filters for use in development and testing.
[*] For pricing on filter and codec client licenses, contact sales@LEADTOOLS.com.
Key Features
The LEADTOOLS Multimedia API provides dynamic link library (DLL) functions that can perform the following tasks:
Multimedia Capture:
Create applications that can capture from a wide variety of capture devices: native DirectShow devices including DV (with device control), HDTV, Video for Windows (VFW) devices or the computer screen
Capture audio or video data to a file.
Capture audio or video data to a sample.
Capture graphs can be very complex when using DirectShow directly. LEADTOOLS abstracts the process, eliminates the complexity and allows the developer to treat all capture devices in a uniform manner.
Multimedia Playback:
Create applications that can play all formats supported by DirectShow using the simple-to-use LEADTOOLS playback control.
Play an audio, video or multimedia sample.
Play an audio, video or multimedia file.
Get support for DVD navigation and saving player settings to files and streams.
Add optional processors during playback for real time processing such as deinterlacing, text or image overlay, cropping, etc..
Multimedia Conversion:
Add features to your application so your users can convert to and from AVI, Windows Media content, WAVE, and MPEG1 Audio (MP3) formats, select DV devices for output
Convert an audio, video or multimedia file to another type of file.
Convert an audio, video or multimedia file to a multimedia sample.
Convert a multimedia sample to another multimedia sample.
Convert a multimedia sample to a multimedia file.
Convert using LEADTOOLS processors or your own 3rd party processors.
Get and modify each video frame during conversion or allow the processor to modify the entire video.
Automatically correct timestamps to produce correct output files. Converting files requires dealing with many types of files and video/audio codecs. Some of these files or codecs produce bad timestamps, which result in a bad file when you do the conversion using GraphEdit. LEADTOOLS can automatically handle this to produce correct output files.
Convert files to the proper format for mobile devices. The various popular mobile devices have different requirements for the files that they can play. Finding the correct settings for each device is difficult. LEAD has already researched the correct settings for mobile devices and includes a ConvertToMobile demo with the LEADTOOLS Multimedia SDK which shows you how to easily create files for mobile devices.
Multimedia File Formats
Add support for the most popular multimedia formats (AVI , WMV , WAV , MP3, OGG , FLV , F4V (Flash HD) , MPEG-1, MPEG-2 Program and Transport streams, MPG , ISO (MP4, 3GPP, AAC, AVC, MOV) , PSP thumbnail, LEAD DVR (LBL, LRC), MPEG-2 DICOM and MPEG-2 Transport DICOM).
Multimedia Compression
Add support to your applications for compressing individual samples with any available DirectShow filters (memory to memory).
Specify which compressors to use or let the toolkit suggest compressors appropriate for the desired file format.
Design your own target format by picking a sink, multiplexer and compressor(s).
Multimedia Processing:
Add to your applications the ability to process AVI, Windows Media content, WAVE, and MPEG1Audio (MP3) formats or data as it is captured using DirectShow filters. Nearly 100 formats, media types, and subtypes are supported.
Use the LEAD Video callback DirectShow filter to use any of the 200+ LEADTOOLS image processing functions to process movies during playback, conversion or capture.
DVR:
Pause live capture or capture continuously to a DVR buffer which contains the last X seconds captured.
Play and convert the DVR buffer while it is being written to (send to a live stream or archive system).
Save the DVR buffer on multiple hard disks if required.
DVD:
Author DVD images
Burn DVD images or regular files to DVD or CD disks
Convert a DVD to another multimedia file type. NOTE: Due to U.S. and international copyright laws, LEAD requires a special license agreement before providing the customer access to this capability. To see if you are eligible to obtain such a license, contact: licensing@leadtools.com
Multimedia Streaming:
Stream multimedia content via the web.
The LEADTOOLS MPEG-2 Transport Module can be used to play and stream MPEG-2 Transport files and RTSP streams.
The LEADTOOLS Streaming Module provides the ability to stream data using a TCP/IP connection for video conferencing, security servers or live presentations. It also offers a DMO codec for use with Microsoft Windows Media Server.
For more information, see the Feature Diagrams below.
Product Demonstrations
Nearly 100 example programs and executable demos are included in all LEADTOOLS products. The executable demos provide a quick and easy way to evaluate the Multimedia features and performance. Examples include:
Audio Video Detection demo (AVDetection.exe)
Audio replace demo (AudioReplace.exe)
MediaInfo demo (MediaInfo.exe)
Look for these executables in the different Bin subdirectories of the root installation directory for LEADTOOLS (for example, C:\LEADTOOLS 19\Bin\CDLLVC10\Win32).
The LEADTOOLS DVD Module includes several demo executables. These include:
DVD burner demo (DVDBurner.exe)
DVD Authoring demo (DVDAuthor.exe)
The LEADTOOLS Streaming Module includes several demo executables. These include:
Video Conferencing demos (NetServer.exe and NetClient.exe)
The LEADTOOLS MPEG-2 Transport Module includes several demo executables. These include:
MPEG2 Transport demo (MPEG2Transport.exe)
Convert KLV demo (ConvertKLV.exe)
DVR demo (DVR.exe)
Audio/Video Codecs and DirectShow Filters
The Multimedia SDK includes release versions of many LEAD Audio/Video Codecs and filters. Click here for a complete list.
Also included are evaluation versions of the other LEAD Audio/Video Codecs and Filters. Click here for a complete list. For pricing on these DirectShow filter client licenses, contact Sales@LEADTOOLS.com.
Add-on Modules
The following add-on modules are available for the Multimedia SDK:
LEADTOOLS MPEG-2 Transport Module
Includes the LEADTOOLS Multimedia toolkit, all of the modules listed above, every LEAD codec and filter (except the DICOM filters), and the LEADTOOLS Distributed Computing (Job Processor) SDK.
Requirements
LEADTOOLS Multimedia API features require that DirectShow 8.0 to be installed. There are also a number of files that you must include when you build your application .
Environments
LEADTOOLS comes in Win32 and x64 editions. The environments supported depend upon the specific product, platform and function. For more information, refer to Supported Platforms / Operating Systems.
Feature Diagrams
Burn a DVD:
Capture to file:
Capture to samples:
Play a sample:
Play a file:
Convert a file to a file:
Convert a file to a sample:
Convert a sample to a sample:
Convert a sample to a file:
Convert a DVD to a file (requires a special license. For more information, contact: licensing@leadtools.com ) :
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET