The ltmmCapture_Object constants define objects that can be obtained through the IltmmCapture::GetSubObject method.
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;
Specifies the filter graph.
Specifies the video device filter.
Specifies the audio device filter.
Specifies the video capture pin.
Specifies the audio capture pin.
Specifies the video preview pin.
Specifies the audio preview pin.
Specifies the TV tuner.
Specifies the TV audio controls.
Specifies the video crossbar.
Specifies the audio or secondary crossbar.
Specifies the currently selected video compressor.
Specifies the currently selected audio compressor.
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.
Specifies the preview video renderer.
Specifies the preview audio renderer.
Specifies the video decompressor. This is usually present when capturing from compressed formats, like DV camcorders, and recompressing.
Specifies the audio decompressor.
Specifies the splitter. This is usually present when capturing interleaved video, like DV video, and recompressing.
Specifies the video compressor output pin.
Specifies the audio compressor output pin.
Specifies the sink (writer) object. If the target format type is ltmmCapture_TargetFormat_DVD, this specifies the DVD writer object.
Specifies the multiplexer for current target format.
Specifies implicit video compressor for the current target format. If the target format type is ltmmCapture_TargetFormat_FLV_H264, this specifies the H264 encoder.
Specifies implicit audio compressor for the current target format. If the target format type is ltmmCapture_TargetFormat_FLV_H264, this specifies the AAC encoder.
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.
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.
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.
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.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document