Implementing an ltmmConvert Object
To implement the ltmmConvert Object you should use the following steps:
1. |
Create an instance of the ltmmConvert Object, acquiring the IltmmConvert Interface. |
2. |
Set an event callback using SetNotifyWindow. |
3. |
Specify the media data source (i.e. file). |
4. |
Optionally, select audio and video compressors (use HasDialog to set properties). |
5. |
Optionally, select audio and video processors (use HasDialog to set properties). |
6. |
Specify the media data target (i.e. file). |
7. |
Specify the target format (i.e. AVI). |
8. |
Call StartConvert to start the conversion process. |
9. |
Handle ltmmCapture_Notify Constants messages until the end of conversion. |