ltmmCapture_TargetFormat Constants

typedef enum _ltmmCapture_TargetFormat
{
ltmmCapture_TargetFormat_Avi,
ltmmCapture_TargetFormat_Asf,
ltmmCapture_TargetFormat_WAVE,
ltmmCapture_TargetFormat_MPEG1Audio,
ltmmCapture_TargetFormat_DICOM,
ltmmCapture_TargetFormat_dvsd,
ltmmCapture_TargetFormat_MP3,
ltmmCapture_TargetFormat_dvsd_Avi,
ltmmCapture_TargetFormat_Asf_Compressor_Mux,
ltmmCapture_TargetFormat_Asf_Mux,
ltmmCapture_TargetFormat_Still_Image
ltmmCapture_TargetFormat_Stream
ltmmCapture_TargetFormat_OGG
ltmmCapture_TargetFormat_dvsd_OGG
ltmmCapture_TargetFormat_MPEG1System
ltmmCapture_TargetFormat_MPEG2_PROGRAM
ltmmCapture_TargetFormat_MP3_LEAD
ltmmCapture_TargetFormat_DVD
ltmmCapture_TargetFormat_NET
ltmmCapture_TargetFormat_MPEG2_DICOM,
ltmmCapture_TargetFormat_ISO,
ltmmCapture_TargetFormat_MP3_LAME,
ltmmCapture_TargetFormat_MP3_DEFAULT,
ltmmCapture_TargetFormat_MPEG2_TRANSPORT,
ltmmCapture_TargetFormat_FLV
} ltmmCapture_TargetFormat;

The ltmmCapture_TargetFormat constants define the target file format.

Constant

Description

ltmmCapture_TargetFormat_Avi

[0] AVI audio/video format.

ltmmCapture_TargetFormat_Asf

[1] Windows Media ASF audio/video format. User must supply a Windows Media Certificate to the capture module. For information about Windows Media Support, click here.

ltmmCapture_TargetFormat_WAVE

[2] WAVE audio format.

ltmmCapture_TargetFormat_MPEG1Audio

[3] MPEG1 audio format. User must select a MPEG1 compatible audio compressor Also known as an encoder, this is a module or algorithm to compress data. Playing that data back requires a decompressor, or decoder.. i.e. MP3 audio compressor.

ltmmCapture_TargetFormat_DICOM

[4] DICOM video format.

ltmmCapture_TargetFormat_dvsd

[5] Standard DV DV stands for Digital Video and has been defined in "Specification of Consumer-use Digital VCRs" (aka the Blue Book). audio/video format. User should not select any compressors when using this format.

ltmmCapture_targetFormat_MP3

[6] MP3 audio format. User should not select any compressors when using this format

ltmmCapture_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.

ltmmCapture_TargetFormat_Asf_Compressor_Mux

[8] LEAD ASF Compressor /Multiplexer A module that combines audio and video into one file. (replaces Microsoft ASF, can be used for in-memory conversion).

ltmmCapture_TargetFormat_Asf_Mux

[9] LEAD ASF Multiplexer (uses external decompressors).

ltmmCapture_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.

ltmmCapture_TargetFormat_Stream

[11] Stream format. All the samples are written in an output frame, without adding any headers. You can use this with capture cards that can output raw MPEG data. (Ex: Some Hauppauge cards).

ltmmCapture_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.

ltmmCapture_TargetFormat_dvsd_OGG

[13] Ogg format for video only or video and audio compressed with DV compression. (Requires LEAD Ogg Multiplexer and Splitter filters.)

ltmmCapture_TargetFormat_MPEG1System

[14] MPEG-1 System format. (Requires LEAD MPEG-2 Encoder 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.., LEAD MPEG Audio Encoder and LEAD MPEG-1 Multiplexer filters.)

ltmmCapture_TargetFormat_MPEG2_PROGRAM

[15] MPEG-2 Program format. (Requires LEAD MPEG-2 Encoder, LEAD MPEG Audio Encoder and LEAD MPEG-2Multiplexer filters.)

ltmmCapture_TargetFormat_MP3_LEAD

[16] MP3 audio format, compressed using the LEAD MP3 Audio Encoder. (Not available yet.)

ltmmCapture_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 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 A COmpressor combined with a DECompressor, or encoder and a decoder, which allows you to both compress and decompress that same data. is to be used for the conversion, and any special settings used by the codecs. 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 IltmmCapture::GetSubObject with the ObjType parameter set to ltmmCapture_Object_Sink. If the target format is ltmmCapture_TargetFormat_DVD, then the target file, set using IltmmCapture::put_TargetFile or obtained using IltmmCapture::get_TargetFile, is a folder name and not a file name. The DVD writer will create all needed files and subfolders.

ltmmCapture_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.

ltmmCapture_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.

ltmmCapture_TargetFormat_ISO

[20] ISO video format.

ltmmCapture_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.

ltmmCapture_TargetFormat_MP3_DEFAULT

[22] MP3 audio format using the recommended MP3 compressor selected by the toolkit.

tmmCapture_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)

ltmmCapture_TargetFormat_FLV

[24] FLV Flash format. (flash) video format. (Requires the LEAD H263 Video Encoder and the LEAD FLV Multiplexer). Supports the following audio sampling rates: 5.5KHz, 11.025KHz, 22.05KHz, 44.1KHz.

See Also

IltmmCapture::get_TargetFormat

IltmmCapture::put_TargetFormat

Writing Windows Media Files for C

Writing Windows Media Files for C++