The ltmmCapture_Object constants define objects that can be obtained through the IltmmCapture::GetSubObject method.
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;
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 splitter (demultiplexer) subtitles object.
Specifies the target (multiplexer) subtitles object.
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