ltmmCapture_Object Constants

The ltmmCapture_Object constants define objects that can be obtained through the GetSubObject method.

Const ltmmCapture_Object_FilterGraph = 0
Const ltmmCapture_Object_VideoCaptureFilter = 1
Const ltmmCapture_Object_AudioCaptureFilter = 2
Const ltmmCapture_Object_VideoCapturePin = 3
Const ltmmCapture_Object_AudioCapturePin = 4
Const ltmmCapture_Object_VideoPreviewPin = 5
Const ltmmCapture_Object_AudioPreviewPin = 6
Const ltmmCapture_Object_TVTuner = 7
Const ltmmCapture_Object_TVAudio = 8
Const ltmmCapture_Object_VideoCrossbar = 9
Const ltmmCapture_Object_AudioCrossbar = 10
Const ltmmCapture_Object_VideoCompressor = 11
Const ltmmCapture_Object_AudioCompressor = 12
Const ltmmCapture_Object_TargetFilter = 13
Const ltmmCapture_Object_VideoRenderer = 14
Const ltmmCapture_Object_AudioRenderer = 15
Const ltmmCapture_Object_VideoDecompressor = 16
Const ltmmCapture_Object_AudioDecompressor = 17
Const ltmmCapture_Object_Splitter = 18
Const ltmmCapture_Object_VideoCompressorOutputPin = 19
Const ltmmCapture_Object_AudioCompressorOutputPin = 20
Const ltmmCapture_Object_Sink = 21
Const ltmmCapture_Object_SelAudioProcessor = 256
Const ltmmCapture_Object_SelVideoProcessor = 512

 

Constant

Description

ltmmCapture_Object_FilterGraph

[0] Specifies the filter graph.

ltmmCapture_Object_VideoCaptureFilter

[1] Specifies the video device filter.

ltmmCapture_Object_AudioCaptureFilter

[2] Specifies the audio device filter.

ltmmCapture_Object_VideoCapturePin

[3] Specifies the video capture pin.

ltmmCapture_Object_AudioCapturePin

[4] Specifies the audio capture pin.

ltmmCapture_Object_VideoPreviewPin

[5] Specifies the video preview pin.

ltmmCapture_Object_AudioPreviewPin

[6] Specifies the audio preview pin.

ltmmCapture_Object_TVTuner

[7] Specifies the TV tuner.

ltmmCapture_Object_TVAudio

[8] Specifies the TV audio controls.

ltmmCapture_Object_VideoCrossbar

[9] Specifies the video crossbar.

ltmmCapture_Object_AudioCrossbar

[10] Specifies the audio or secondary crossbar.

ltmmCapture_Object_VideoCompressor

[11] Specifies the currently selected video compressor Also known as an encoder Also known as compressor, this is a module or algorithm to compress data. Playing that data back requires a decompressor, or decoder., 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...

ltmmCapture_Object_AudioCompressor

[12] Specifies the currently selected audio compressor.

ltmmCapture_Object_TargetFilter

[13] Specifies the target filter.

 

NOTE: If the target filter is multiplexer or sink, use the ltmmTargetFormat.GetCacheObject instead of ltmmCaptureCtrl.GetSubObject.

The target filters are not added to the capture graph until the capture graph being built using ltmmCaptureCtrl.ReadyCapture or ltmmCaptureCtrl.StartCapture. But at this point, the graph is in running state. Some multiplexers or sinks might not be able to change some settings in running mode. By default, when the capture is stopped, the multiplexer and sink are destroyed so the only way to change their settings in stopped mode is to create them before the capture starts. This can be done by first setting the ltmmTargetFormat.UseFilterCache property to true and then retrieving the objects using ltmmTargetFormat.GetCacheObject.

ltmmCapture_Object_VideoRenderer

[14] Specifies the preview video renderer The DirectShow component responsible for playing the video. Some renderers might have useful settings you can adjust if you have problems playing the video..

ltmmCapture_Object_AudioRenderer

[15] Specifies the preview audio renderer The audio device that will play the sound. This is usually your sound card. Some computers have more than one sound playback device. You choose which sound playback device will play the sound by selecting the corresponding audio renderer..

ltmmCapture_Object_VideoDecompressor

[16] Specifies the video decompressor. This is usually present when capturing from compressed formats, like DV DV stands for Digital Video and has been defined in "Specification of Consumer-use Digital VCRs" (aka the Blue Book). camcorders, and recompressing.

ltmmCapture_Object_AudioDecompressor

[17] Specifies the audio decompressor.

ltmmCapture_Object_Splitter

[18] Specifies the splitter. This is usually present when capturing interleaved video, like DV video, and recompressing.

ltmmCapture_Object_VideoCompressorOutputPin

[19] Specifies the video compressor output pin.

ltmmCapture_Object_AudioCompressorOutputPin

[20] Specifies the audio compressor output pin.

ltmmCapture_Object_Sink

[21] Specifies the sink (writer) object. If the 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. type is ltmmCapture_TargetFormat_DVD, this specifies the DVD writer object. If the 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. type is lltmmCapture_TargetFormat_DVR_TRANSPORT, ltmmCapture_TargetFormat_DVR_PROGRAM or ltmmCapture_TargetFormat_DVR,  this specifies the DVR Sink object.

ltmmCapture_Object_SelAudioProcessor

[256] Specifies the first selected audio processor. Additional processors may be specified by adding the processor’s collection index to this constant. A maximum of 256 processors may be specified.

ltmmCapture_Object_SelVideoProcessor

[512] Specifies the first selected video processor. Additional processors may be specified by adding the processor’s collection index to this constant. A maximum of 256 processors may be specified.

See Also

ltmmCaptureCtrl.GetSubObject method