LEADTOOLS Multimedia API Help > LEADTOOLS Multimedia Features > Multimedia Objects > Implementing an ltmmCapture Object |
The format to be used for the converted file. This includes the file format, any special settings used by that format, and which audio and/or video codec is to be used for the conversion, and any special settings used by the codecs.
A COmpressor combined with a DECompressor, or encoder and a decoder, which allows you to both compress and decompress that same data.
To implement the ltmmCapture Object you should use the following steps:
1. |
Create an instance of the ltmmCapture Object, acquiring 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. |