Skip to main content

Code sample - Video capture to Windows Media Video (external profile)

Delphi and C# (ActiveX) sample code.

Select WMV profile

VideoCapture1.WMV_Profile_Filename := edWMProfile.Text;
VideoCapture1.WMV_Profile_Filename = edWMProfile.Text;

Use Windows Media Video format for output

VideoCapture1.OutputFormat := Format_WMV;
VideoCapture1.OutputFormat = VisioForge_Video_Capture_5.TxVFOutputFormat.Format_WMV;

Set video capture mode

VideoCapture1.Mode := Mode_Video_Capture;
VideoCapture1.Mode = VisioForge_Video_Capture_5.TxVFMode.Mode_Video_Capture;

Start capture

VideoCapture1.Start;
VideoCapture1.Start();

Please contact support to get help with this tutorial. Visit our GitHub page to get more code samples.