Related products: Video Capture SDK (Delphi / ActiveX)
Code sample - DV camcorder controlling
Delphi and C# (ActiveX) sample code.
Start video preview or capture to any format.
Use following commands to control DV camcorder:
Play
VideoCapture1.DV_SendCommand(DV_PLAY);
VideoCapture1.DV_SendCommand(VisioForge_Video_Capture_5.TxVFDVCommand.DV_PLAY);
Pause
VideoCapture1.DV_SendCommand(DV_PAUSE);
VideoCapture1.DV_SendCommand(VisioForge_Video_Capture_5.TxVFDVCommand.DV_PAUSE);
Stop
VideoCapture1.DV_SendCommand(DV_STOP);
VideoCapture1.DV_SendCommand(VisioForge_Video_Capture_5.TxVFDVCommand.DV_STOP);
Fast forward
VideoCapture1.DV_SendCommand(DV_FF);
VideoCapture1.DV_SendCommand(VisioForge_Video_Capture_5.TxVFDVCommand.DV_FF);
Rewind
VideoCapture1.DV_SendCommand(DV_REW);
VideoCapture1.DV_SendCommand(VisioForge_Video_Capture_5.TxVFDVCommand.DV_REW);
Single step forward
VideoCapture1.DV_SendCommand(DV_STEP_FW);
VideoCapture1.DV_SendCommand(VisioForge_Video_Capture_5.TxVFDVCommand.DV_STEP_FW);
Single step backward
VideoCapture1.DV_SendCommand(DV_STEP_REV);
VideoCapture1.DV_SendCommand(VisioForge_Video_Capture_5.TxVFDVCommand.DV_STEP_REV);