ltmmCapture_Object Constants

typedef enum _ltmmCapture_Object
{
   ltmmCapture_Object_FilterGraph,
   ltmmCapture_Object_VideoCaptureFilter,
   ltmmCapture_Object_AudioCaptureFilter,
   ltmmCapture_Object_VideoCapturePin,
   ltmmCapture_Object_AudioCapturePin,
   ltmmCapture_Object_VideoPreviewPin,
   ltmmCapture_Object_AudioPreviewPin,
   ltmmCapture_Object_TVTuner,
   ltmmCapture_Object_TVAudio,
   ltmmCapture_Object_VideoCrossbar,
   ltmmCapture_Object_AudioCrossbar,
   ltmmCapture_Object_VideoCompressor,
   ltmmCapture_Object_AudioCompressor,
   ltmmCapture_Object_TargetFilter,
   ltmmCapture_Object_VideoRenderer,
   ltmmCapture_Object_AudioRenderer,
   ltmmCapture_Object_VideoDecompressor,
   ltmmCapture_Object_AudioDecompressor,
   ltmmCapture_Object_Splitter,
   ltmmCapture_Object_VideoCompressorOutputPin,
   ltmmCapture_Object_AudioCompressorOutputPin,
   ltmmCapture_Object_Sink,
   ltmmCapture_Object_TargetAVMux,
   ltmmCapture_Object_TargetVideoCompressor,
   ltmmCapture_Object_TargetAudioCompressor,
   ltmmCapture_Object_SelAudioProcessor = 0x100,
   ltmmCapture_Object_SelVideoProcessor = 0x200,
   ltmmCapture_Object_PrevAudioProcessor= 0x300, 
   ltmmCapture_Object_PrevVideoProcessor= 0x400,
} ltmmCapture_Object;

 

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

 

Constant

Description

ltmmCapture_Object_FilterGraph

Specifies the filter graph.

ltmmCapture_Object_VideoCaptureFilter

Specifies the video device filter.

ltmmCapture_Object_AudioCaptureFilter

Specifies the audio device filter.

ltmmCapture_Object_VideoCapturePin

Specifies the video capture pin.

ltmmCapture_Object_AudioCapturePin

Specifies the audio capture pin.

ltmmCapture_Object_VideoPreviewPin

Specifies the video preview pin.

ltmmCapture_Object_AudioPreviewPin

Specifies the audio preview pin.

ltmmCapture_Object_TVTuner

Specifies the TV tuner.

ltmmCapture_Object_TVAudio

Specifies the TV audio controls.

ltmmCapture_Object_VideoCrossbar

Specifies the video crossbar.

ltmmCapture_Object_AudioCrossbar

Specifies the audio or secondary crossbar.

ltmmCapture_Object_VideoCompressor

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

Specifies the currently selected audio compressor.

ltmmCapture_Object_TargetFilter

Specifies the target filter.

 

NOTE: If the target filter is multiplexer or sink, use the IltmmTargetFormat::GetCacheObject function instead of IltmmCapture::GetSubObject.

The target filters are not added to the capture graph until the capture graph being built using IltmmCapture::ReadyCapture or IltmmCapture::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 calling function IltmmTargetFormat::put_UseFilterCache with true and then retrieving the objects using IltmmTargetFormat::GetCacheObject.

ltmmCapture_Object_VideoRenderer

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

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

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

Specifies the audio decompressor.

ltmmCapture_Object_Splitter

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

ltmmCapture_Object_VideoCompressorOutputPin

Specifies the video compressor output pin.

ltmmCapture_Object_AudioCompressorOutputPin

Specifies the audio compressor output pin.

ltmmCapture_Object_Sink

Specifies the sink (writer) object. If the target format type is ltmmCapture_TargetFormat_DVD, this specifies the DVD writer object.

ltmmCapture_Object_TargetAVMux

Specifies the multiplexer for current target format.

ltmmCapture_Object_TargetVideoCompressor

Specifies implicit video compressor for the current target format. If the target format type is ltmmCapture_TargetFormat_FLV_H264, this specifies the H264 encoder.

ltmmCapture_Object_TargetAudioCompressor

Specifies implicit audio compressor for the current target format. If the target format type is ltmmCapture_TargetFormat_FLV_H264, this specifies the AAC encoder.

ltmmCapture_Object_SelAudioProcessor

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

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.

ltmmCapture_Object_PrevAudioProcessor

Specifies the first preview 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.

Preview processors affect only the preview stream, not any captured video.

ltmmCapture_Object_PrevVideoProcessor

Specifies the first preview 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.

Preview processors affect only the preview stream, not any captured video.

See Also

IltmmCapture::GetSubObject