LEADTOOLS Multimedia API Help > LEADTOOLS Multimedia Features > Multimedia File Formats > Multimedia Format and Media Constants > ltmmConvert Enumeration Constants > ltmmConvert_TargetFormat Constants |
Also known as an encoder, this is a module or algorithm to compress data. Playing that data back requires a decompressor, or decoder.
DV stands for Digital Video and has been defined in "Specification of Consumer-use Digital VCRs" (aka the Blue Book).
A module that combines audio and video into one file.
Also known as compressor, this is a module or algorithm to compress data. Playing that data back requires a decompressor, or decoder .
Also known as a decompressor, this is a module or algorithm to decompress data.
The format to be used for the converted file. This includes the file format, any special settings used by that format, and which audio and/or video codec is to be used for the conversion, and any special settings used by the codecs.
A COmpressor combined with a DECompressor, or encoder and a decoder, which allows you to both compress and decompress that same data.
[Flash Version 9 format. Uses ISO multiplexer, H264 video compression and AAC audio compression. Unlike FLV format, this format does not have restrictions on the audio frequency. Also known as Flash HD]
typedef enum _ltmmConvert_TargetFormat
{
ltmmConvert_TargetFormat_Avi,
ltmmConvert_TargetFormat_WMV,
ltmmConvert_TargetFormat_WAVE,
ltmmConvert_TargetFormat_MPEG1Audio,
ltmmConvert_TargetFormat_DICOM,
ltmmConvert_TargetFormat_dvsd,
ltmmConvert_TargetFormat_MP3,
ltmmConvert_TargetFormat_dvsd_Avi,
ltmmConvert_TargetFormat_WMV_Mux,
ltmmConvert_TargetFormat_Asf_Mux
ltmmConvert_TargetFormat_Still_Image
ltmmConvert_TargetFormat_Stream
ltmmConvert_TargetFormat_OGG
ltmmConvert_TargetFormat_dvsd_OGG
ltmmConvert_TargetFormat_MPEG1System
ltmmConvert_TargetFormat_MPEG2_PROGRAM
ltmmConvert_TargetFormat_MP3_LEAD
ltmmConvert_TargetFormat_DVD
ltmmConvert_TargetFormat_NET
ltmmConvert_TargetFormat_MPEG2_DICOM,
ltmmConvert_TargetFormat_ISO,
ltmmConvert_TargetFormat_MP3_LAME,
ltmmConvert_TargetFormat_MP3_DEFAULT,
ltmmConvert_TargetFormat_MPEG2_TRANSPORT,
ltmmConvert_TargetFormat_FLV,
ltmmConvert_TargetFormat_FLV_H263,
ltmmConvert_TargetFormat_FLV_H264,
ltmmConvert_TargetFormat_DVR_PROGRAM,
ltmmConvert_TargetFormat_DVR_TRANSPORT,
ltmmConvert_TargetFormat_DVR,
ltmmConvert_TargetFormat_MXF,
ltmmConvert_TargetFormat_dvsd_MXF,
ltmmConvert_TargetFormat_MKV,
ltmmConvert_TargetFormat_FLV_H264_2,
ltmmConvert_TargetFormat_NULL,
ltmmConvert_TargetFormat_SSF,
ltmmConvert_TargetFormat_LTES,
ltmmConvert_TargetFormat_RTSP,
} ltmmConvert_TargetFormat;
The ltmmConvert_TargetFormat constants define the target file format.
Constant |
Description |
ltmmConvert_TargetFormat_Avi |
[0] AVI audio/video format. |
ltmmConvert_TargetFormat_WMV |
[1] Windows Media WMV audio/video format. For information about Windows Media Support, click here . |
ltmmConvert_TargetFormat_WAVE |
[2] WAVE audio format. |
ltmmConvert_TargetFormat_MPEG1Audio |
[3] MPEG1 audio format. User must select a MPEG1 compatible audio compressor . i.e. MP3 audio compressor. |
ltmmConvert_TargetFormat_DICOM |
[4] DICOM video format. |
ltmmConvert_TargetFormat_dvsd |
[5] Standard DV audio/video format. User should not select any compressors when using this format. |
ltmmConvert_targetFormat_MP3 |
[6] MP3 audio format. User should not select any compressors when using this format |
ltmmConvert_TargetFormat_dvsd_Avi |
[7] Standard DV audio/video format encapsulated in an AVI encoded stream. User should not select any compressors when using this format. |
ltmmConvert_TargetFormat_WMV_Mux |
[8] LEAD Windows Media Compressor / Multiplexer (replaces Microsoft WMV, can be used for in-memory conversion) |
ltmmConvert_TargetFormat_Asf_Mux |
[9] LEAD Windows Media Multiplexer (uses external decompressors) |
ltmmConvert_TargetFormat_Still_Image |
[10] LEAD Still Image format (requires the LEAD Still Image Writer filter). The Still Image Writer filter can write most raster file formats supported by LEADTOOLS. The output file can be multipage (all frames will be written in one output file) or single page (multiple output files will be created, each frame being written in an individual file). For example, the video can be saved as one TIF file, or as a sequence of JPEG files. |
ltmmConvert_TargetFormat_Stream |
[11] Stream format. All the samples are written in an output frame, without adding any headers. You can use this to create MPEG files with samples from capture devices that output raw MPEG data. (Ex: Some Hauppauge cards). |
ltmmConvert_TargetFormat_OGG |
[12] Ogg audio/video format. (Requires LEAD Ogg Multiplexer and Splitter filters). Recommended format for converting files of any media type without recompression. Use this format to convert to AVI if you experience audio/video synchronization problems. |
ltmmConvert_TargetFormat_dvsd_OGG |
[13] Ogg format for video only or video and audio compressed with DV compression. (Requires LEAD Ogg Multiplexer and Splitter filters.) |
ltmmConvert_TargetFormat_MPEG1System |
[14] MPEG-1 System format. (Requires LEAD MPEG-2 Encoder , LEAD MPEG Audio Encoder and LEAD MPEG-1 Multiplexer filters.) |
ltmmConvert_TargetFormat_MPEG2_PROGRAM |
[15] MPEG-2 Program format. (Requires LEAD MPEG-2 Encoder, LEAD MPEG Audio Encoder and LEAD MPEG-2Multiplexer filters.) |
ltmmConvert_TargetFormat_MP3_LEAD |
[16] MP3 audio format, compressed using the LEAD MP3 Audio Encoder. (Not available yet.) |
ltmmConvert_TargetFormat_DVD |
[17] DVD image format. (Requires the LEAD DVD Writer, LEAD MPEG-2 Encoder, LEAD MPEG Audio Encoder, and LEAD MPEG-2 Multiplexer filters.) Use this target format to compose DVD images, by creating a new DVD image or appending to an existing image. To gain access to the DVD writer object, call ltmmConvert::GetSubObject with the ObjType parameter set to ltmmConvert_Object_Sink. If the target format is ltmmConvert_TargetFormat_DVD, then the target file, set using ltmmConvert::put_TargetFile or obtained using ltmmConvert::get_TargetFile, is a folder name and not a file name. The DVD writer will create all needed files and subfolders. |
ltmmConvert_TargetFormat_NET |
[18] Network stream. Target format used to transmit multimedia streams over TCP/IP networks using LEAD network modules. The transmitted streams can be received by a player object with the source file set to the server address. For more information on network modules, see: LEAD Network Multiplexer, LEAD Network Sink, LEAD Network Source, and LEAD Network Demultiplexer. |
ltmmConvert_TargetFormat_MPEG2_DICOM |
[19] DICOM video format with embedded MPEG2 audio/video content. To be fully compliant, the video and audio should be as follows: |
ltmmConvert_TargetFormat_ISO |
[20] ISO Base video file format. This format can be used to create multiple file formats: MP4, AVC, QuickTime, F4V (Flash HD), 3GPP, etc. |
ltmmConvert_TargetFormat_MP3_LAME |
[21] MP3 audio format using the public domain LAME audio compressor. The user must have installed the LAME audio compressor for this format to work. |
ltmmConvert_TargetFormat_MP3_DEFAULT |
[22] MP3 audio format using the recommended MP3 compressor selected by the toolkit. |
ltmmConvert_TargetFormat_MPEG2_TRANSPORT |
[23] MPEG-2 Transport format. (Requires the LEAD MPEG-2 Transport Multiplexer and LEAD Transport compatible compressor; i.e. LEAD MPEG-2 Encoder and LEAD MPEG Audio Encoder) |
ltmmConvert_TargetFormat_FLV |
[24] FLV flash Version 6 video format. (Requires the LEAD H263 Video Encoder or LEAD H264 Video Encoder and the LEAD FLV Multiplexer. Can also use LEAD AAC Encoder). Supports the following types of audio: PCM(5.5KHz, 11.025KHz, 22.05KHz, 44.1KHz), MP3(22.05KHz, 44.1KHz), AAC (48KHz). |
ltmmConvert_TargetFormat_FLV_H263 |
[25] FLV Flash Version 6 format with hardcoded LEAD FLV Multiplexer, LEAD H263 encoder and a MP3 encoder. The audio is automatically converted to 44.1KHz MP3. User should not select any compressors when using this format. |
ltmmConvert_TargetFormat_FLV_H264 |
[26] F4V/MP4 flash video format using hardcoded the LEAD H264 Video Encoder, LEAD AAC Encoder and the LEAD ISO Multiplexer. User should not select any compressors when using this format. |
ltmmConvert_TargetFormat_DVR_PROGRAM |
[27] LBL LEAD DVR Buffer format using MPEG2 Program Stream |
ltmmConvert_TargetFormat_DVR_TRANSPORT |
[28] LBL LEAD DVR Buffer format using MPEG2 Transport Stream. |
ltmmConvert_TargetFormat_DVR |
[29] LBL LEAD DVR Buffer format. |
ltmmConvert_TargetFormat_MXF |
[30] MXF File format. |
ltmmConvert_TargetFormat_dvsd_MXF |
[31] Standard DV audio/video format encapsulated in an MXF encoded stream. User should not select any compressors when using this format. |
ltmmConvert_TargetFormat_MKV |
[32] Matroska (MKV) file format |
ltmmConvert_TargetFormat_FLV_H264_2 |
[33] FLV Flash Version 9 format with hard-coded LEAD FLV Multiplexer, LEAD H264 encoder and LEAD AAC encoder. User should not select any compressors when using this format. |
ltmmConvert_TargetFormat_NULL |
[34] NULL format designed for extracting metadata quickly from a file without using many system resources. |
ltmmConvert_TargetFormat_SSF |
[35] IIS Smooth Streaming format with built-in H264 and WMV video encoders, AAC and WMA audio encoders. Do not select any compressors when using this format. |
ltmmConvert_TargetFormat_LTES |
[36] LEAD Elementary Stream format, for use in distributed processing of transcoding tasks. |
ltmmConvert_TargetFormat_RTSP |
[37] Target format used to transmit multimedia streams using the LEAD RTSP Sink filter. Can use LEAD H264 Video Encoder and LEAD AAC Encoder. You only need to use this target format if you use the low level functions to implement a RTSP server. See the "Create a RTSP Server" link below for more information. |
See Also
IltmmConvert::put_TargetFormat
Writing Windows Media Files for C
Writing Windows Media Files for C++
Using the LEAD MMS Sink Filter
Create a RTSP Server using RTSP Sink