Related products: Video Capture SDK .Net

Video capture to WMV using Video Capture SDK .Net

Create VFWMVOutput object

VFWMVOutput wmvOutput = new VFWMVOutput();

Set WMV settings using settings dialog

WMVSettingsDialog wmvSettingsDialog = new WMVSettingsDialog(VideoCapture1.Core);

wmvSettingsDialog.WMA = false;

wmvSettingsDialog.ShowDialog(this);

wmvSettingsDialog.SaveSettings(ref wmvOutput);

Or

Set WMV settings without using settings dialog

Set WMV external profile mode and profile file name

wmvOutput.Mode = VFWMVMode.ExternalProfile;

wmvOutput.External_Profile_FileName = edWMVProfile.Text;

Apply settings

1. Set WMV format for output

VideoCapture1.Output_Format = wmvOutput;

2. Set video capture mode and file name (be sure that you have write access rights)

VideoCapture1.Mode = VFVideoCaptureMode.VideoCapture;

VideoCapture1.Output_Filename = "c:\\123.wmv";

3. Start capture

VideoCapture1.Start();

VisioForge © 2006-2019

  • GitHub-Mark-64px
  • Twitter Социальные Иконка
  • VisioForge Facebook page
  • YouTube channel