Code sample - DV camcorder controlling

Delphi and C# (ActiveX) sample code. You shout start video preview or capture to any format before DV commands usage.

Use the following commands to control the 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);
Please contact support to get help with this tutorial. Visit our GitHub page to get more code samples.
VisioForge © 2006 - 2021