ltmmCapture_Object Constants

Summary

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

Syntax

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

Members

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.

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 VARIANT_TRUE and then retrieving the objects using IltmmTargetFormat::GetCacheObject.

ltmmCapture_Object_VideoRenderer

Specifies the preview video renderer.

ltmmCapture_Object_AudioRenderer

Specifies the preview audio renderer.

ltmmCapture_Object_VideoDecompressor

Specifies the video decompressor. This is usually present when capturing from compressed formats, like DV 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_SplitterSubtitles

Specifies the splitter (demultiplexer) subtitles object.

ltmmCapture_Object_TargetSubtitles

Specifies the target (multiplexer) subtitles object.

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

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 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.