Output to DV Device (Visual Basic)
1. |
Start with the project that you created in My First Convert. |
2. |
Update the Form_Load sub to be as follows: |
Private Sub Form_Load()
'Define the input file.
ltmmConvertCtrl1.SourceFile = "c:\source.avi"
'Set the target type to DV
ltmmConvertCtrl1.TargetFormat = ltmmConvert_TargetFormat_dvsd
'Select the first available device
ltmmConvertCtrl1.TargetDevices.Selection = 0
End Sub
3. |
Update the btnStartConvert_Click Sub to be as follows: |
Private Sub btnStartConvert_Click()
' Start recording, if vcr output
ltmmConvertCtrl1.TargetVCRControl.Record
' Start Converting Now.
ltmmConvertCtrl1.StartConvert
End Sub
4. |
Run your program to test it. |