To use the ltmmCapture Object perform the following steps:
1. |
Create an instance of the ltmmCapture Object, by creating an instance of the IltmmCapture Interface. |
2. |
Set an event callback using SetNotifyWindow. |
3. |
Set a window to serve as the frame for the video preview window by calling put_VideoWindowFrame. |
4. |
Select audio and video capture devices (use ShowDialog to set properties). |
5. |
Optionally, select audio and video compressors (use ShowDialog to set properties). |
6. |
Optionally, select audio and video processors (use ShowDialog to set properties). |
7. |
Specify the media data target (i.e. file). |
8. |
Specify the target format (i.e. AVI). |
9. |
Call StartCapture to start capturing process. |
10. |
Handle ltmmCapture_Notify Constants messages. |
11. |
Call StopCapture when finished. |
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