ltmmConvert_TargetFormat Constants

Summary

The ltmmConvert_TargetFormat constants define the target file format.

Syntax

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, 
   ltmmConvert_TargetFormat_Asf_Mux, 
   ltmmConvert_TargetFormat_Asf_Compressor_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_MPEG2_TRANSPORT_DICOM, 
   ltmmConvert_TargetFormat_ISO_DICOM, 
   ltmmConvert_TargetFormat_AAC 
} ltmmConvert_TargetFormat; 

Members

ltmmConvert_TargetFormat_Avi

[0] AVI audio/video format.

ltmmConvert_TargetFormat_Asf

[1] Windows Media WMV audio/video format. For information about Windows Media Support, click here.

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. The user must select an MPEG1 compatible audio compressor (i.e. an MP3 audio compressor).

ltmmConvert_TargetFormat_DICOM

[4] DICOM video format.

ltmmConvert_TargetFormat_dvsd

[5] Standard DV audio/video format. The user should not select any compressors when using this format.

ltmmConvert_TargetFormat_MP3

[6] MP3 audio format. The 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. The user should not select any compressors when using this format.

ltmmConvert_TargetFormat_Asf_Compressor_Mux

[8] LEAD Windows Media Compressor / Multiplexer (replaces Microsoft WMV, can be used for in-memory conversion).

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 the 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:

Video - (NTSC) 30/29.97fps with size less than 720x480, or - (PAL) 25fps with size less than 720x576

Audio

- MP3, 32 kHz, 44.1 kHz or 48 kHz.

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 an RTSP server. See the "Create an RTSP Server" link below for more information.

ltmmConvert_TargetFormat_MPEG2_TRANSPORT_DICOM

[38] DICOM video format with embedded H264 video and AC3 or LPCM audio content. To be fully compliant, the video and audio should be as follows:

Video - (MPEG-4 AVC/H.264) frame rate less than 60.0 fps with size less than 1920x1080, or - (MPEG-4 AVC/H.264 BD-compatible) with size 1920x1080 and frame rate of (25.0 fps, 29.97 fps, 24.0 fps, 23.976 fps) or size 1280x720 and frame rate of (23.976 fps, 24.0 fps, 50.0 fps, 59.94 fps)

Audio - AC3 48 kHz, or - LPCM 48 kHz, 96 kHz

ltmmConvert_TargetFormat_ISO_DICOM

[39] Used for creating DICOM files with embedded H264/AAC streams in a MP4 container from the capture control. Similar to ltmmConvert_TargetFormat_ISO_DICOM.

ltmmConvert_TargetFormat_AAC

[40] Advanced Audio Coding lossy audio compressor.

See Also

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

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