ltmmCapture_TargetFormat Constants

typedef enum _ltmmCapture_TargetFormat 
{ 
   ltmmCapture_TargetFormat_Avi	= 0, 
   ltmmCapture_TargetFormat_Asf	= ( ltmmCapture_TargetFormat_Avi + 1 ) , 
   ltmmCapture_TargetFormat_WMV	= ltmmCapture_TargetFormat_Asf, 
   ltmmCapture_TargetFormat_WAVE	= ( ltmmCapture_TargetFormat_Asf + 1 ) , 
   ltmmCapture_TargetFormat_MPEG1Audio	= ( ltmmCapture_TargetFormat_WAVE + 1 ) , 
   ltmmCapture_TargetFormat_DICOM	= ( ltmmCapture_TargetFormat_MPEG1Audio + 1 ) , 
   ltmmCapture_TargetFormat_dvsd	= ( ltmmCapture_TargetFormat_DICOM + 1 ) , 
   ltmmCapture_TargetFormat_MP3	= ( ltmmCapture_TargetFormat_dvsd + 1 ) , 
   ltmmCapture_TargetFormat_dvsd_Avi	= ( ltmmCapture_TargetFormat_MP3 + 1 ) , 
   ltmmCapture_TargetFormat_Asf_Compressor_Mux	= ( ltmmCapture_TargetFormat_dvsd_Avi + 1 ) , 
   ltmmCapture_TargetFormat_WMV_Mux	= ltmmCapture_TargetFormat_Asf_Compressor_Mux, 
   ltmmCapture_TargetFormat_Asf_Mux	= ( ltmmCapture_TargetFormat_Asf_Compressor_Mux + 1 ) , 
   ltmmCapture_TargetFormat_Still_Image	= ( ltmmCapture_TargetFormat_Asf_Mux + 1 ) , 
   ltmmCapture_TargetFormat_Stream	= ( ltmmCapture_TargetFormat_Still_Image + 1 ) , 
   ltmmCapture_TargetFormat_OGG	= ( ltmmCapture_TargetFormat_Stream + 1 ) , 
   ltmmCapture_TargetFormat_dvsd_OGG	= ( ltmmCapture_TargetFormat_OGG + 1 ) , 
   ltmmCapture_TargetFormat_MPEG1System	= ( ltmmCapture_TargetFormat_dvsd_OGG + 1 ) , 
   ltmmCapture_TargetFormat_MPEG2_PROGRAM	= ( ltmmCapture_TargetFormat_MPEG1System + 1 ) , 
   ltmmCapture_TargetFormat_MP3_LEAD	= ( ltmmCapture_TargetFormat_MPEG2_PROGRAM + 1 ) , 
   ltmmCapture_TargetFormat_DVD	= ( ltmmCapture_TargetFormat_MP3_LEAD + 1 ) , 
   ltmmCapture_TargetFormat_NET	= ( ltmmCapture_TargetFormat_DVD + 1 ) , 
   ltmmCapture_TargetFormat_MPEG2_DICOM	= ( ltmmCapture_TargetFormat_NET + 1 ) , 
   ltmmCapture_TargetFormat_ISO	= ( ltmmCapture_TargetFormat_MPEG2_DICOM + 1 ) , 
   ltmmCapture_TargetFormat_MP3_LAME	= ( ltmmCapture_TargetFormat_ISO + 1 ) , 
   ltmmCapture_TargetFormat_MP3_DEFAULT	= ( ltmmCapture_TargetFormat_MP3_LAME + 1 ) , 
   ltmmCapture_TargetFormat_MPEG2_TRANSPORT	= ( ltmmCapture_TargetFormat_MP3_DEFAULT + 1 ) , 
   ltmmCapture_TargetFormat_FLV	= ( ltmmCapture_TargetFormat_MPEG2_TRANSPORT + 1 ) , 
   ltmmCapture_TargetFormat_FLV_H263	= ( ltmmCapture_TargetFormat_FLV + 1 ) , 
   ltmmCapture_TargetFormat_FLV_H264	= ( ltmmCapture_TargetFormat_FLV_H263 + 1 ) , 
   ltmmCapture_TargetFormat_DVR_PROGRAM	= ( ltmmCapture_TargetFormat_FLV_H264 + 1 ) , 
   ltmmCapture_TargetFormat_DVR_TRANSPORT	= ( ltmmCapture_TargetFormat_DVR_PROGRAM + 1 ) , 
   ltmmCapture_TargetFormat_DVR	= ( ltmmCapture_TargetFormat_DVR_TRANSPORT + 1 ) , 
   ltmmCapture_TargetFormat_MXF	= ( ltmmCapture_TargetFormat_DVR + 1 ) , 
   ltmmCapture_TargetFormat_dvsd_MXF	= ( ltmmCapture_TargetFormat_MXF + 1 ) , 
   ltmmCapture_TargetFormat_MKV	= ( ltmmCapture_TargetFormat_dvsd_MXF + 1 ) , 
   ltmmCapture_TargetFormat_FLV_H264_2	= ( ltmmCapture_TargetFormat_MKV + 1 ) , 
   ltmmCapture_TargetFormat_NULL	= ( ltmmCapture_TargetFormat_FLV_H264_2 + 1 ) , 
   ltmmCapture_TargetFormat_SSF	= ( ltmmCapture_TargetFormat_NULL + 1 ) , 
   ltmmCapture_TargetFormat_LTES	= ( ltmmCapture_TargetFormat_SSF + 1 ) , 
   ltmmCapture_TargetFormat_RTSP	= ( ltmmCapture_TargetFormat_LTES + 1 ) , 
   ltmmCapture_TargetFormat_MPEG2_TRANSPORT_DICOM = ( ltmmCapture_TargetFormat_RTSP + 1 ) , 
   ltmmCapture_TargetFormat_ISO_DICOM = ( ltmmCapture_TargetFormat_MPEG2_TRANSPORT_DICOM + 1 ) , 
   ltmmCapture_TargetFormat_AAC = ( ltmmCapture_TargetFormat_ISO_DICOM + 1 )  
} 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 WMV audio/video format. For information about Windows Media Support, click here.

ltmmCapture_TargetFormat_WMV

[1] Windows Media WMV audio/video format. 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 (i.e. MP3 audio compressor).

ltmmCapture_TargetFormat_DICOM

[4] DICOM video format.

ltmmCapture_TargetFormat_dvsd

[5] Standard DV 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 Windows Media Compressor / Multiplexer (replaces Microsoft WMV, can be used for in-memory conversion).

ltmmCapture_TargetFormat_WMV_Mux

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

ltmmCapture_TargetFormat_Asf_Mux

[9] LEAD Windows Media 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, 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 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 Base video file format. This format can be used to create multiple file formats: MP4, AVC, QuickTime, F4V (Flash HD), 3GPP, etc.

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.

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

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

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

ltmmCapture_TargetFormat_DVR_PROGRAM

[27] LBL LEAD DVR Buffer format using MPEG2 Program Stream.

ltmmCapture_TargetFormat_DVR_TRANSPORT

[28] LBL LEAD DVR Buffer format using MPEG2 Transport Stream.

ltmmCapture_TargetFormat_DVR

[29] LBL LEAD DVR Buffer format.

ltmmCapture_TargetFormat_MXF

[30] MXF File format.

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

ltmmCapture_TargetFormat_MKV

[32] Matroska (MKV) file format.

ltmmCapture_TargetFormat_FLV_H264_2

[33] FLV Flash Version 9 format with hardcoded LEAD FLV Multiplexer, LEAD H264 encoder and LEAD AAC encoder. User should not select any compressors when using this format.

ltmmCapture_TargetFormat_NULL

[34] NULL format, designed for extracting metadata quickly from a file without using many system resources.

ltmmCapture_TargetFormat_SSF

[35] 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.

ltmmCapture_TargetFormat_LTES

[36] LEAD Elementary Stream format, for use in distributed processing of transcoding tasks.

ltmmCapture_TargetFormat_RTSP

[37] Real Time Streaming Protocol (RTSP) format.

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

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

ltmmCapture_TargetFormat_AAC

[40] Advanced Audio Coding lossy audio compressor.

See Also

IltmmCapture::get_TargetFormat

IltmmCapture::put_TargetFormat

Writing Windows Media Files for C

Writing Windows Media Files for C++ 

Using the LEAD SSF Writer

Using the LEAD MMS Sink Filter

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

LEADTOOLS Multimedia C API Help