Related products: Video Capture SDK .Net

Video capture to DV using Video Capture SDK .Net

First, you are need to configure your video capture device. DV camcorder required to use DV output without recompression.

 

Without recompression

1. Set DV without recompression as output formats.

VideoCapture1.Output_Format = new VFDirectCaptureDVOutput();

2. Set video capture mode and file name

VideoCapture1.Mode = VFVideoCaptureMode.VideoCapture;
VideoCapture1.Output_Filename = "c:\\123.avi";

3. Start capture

VideoCapture1.Start();

With recompression

1. Set DV parameters, apply output format

var dvOutput = new VFDVOutput();

dvOutput.Audio_Channels = 2;
dvOutput.Audio_SampleRate = 44100;

// set PAL or NTSC
dvOutput.Video_Format = VFDVVideoFormat.PAL;

// Set DV file type
dvOutput.Type2 = true;

VideoCapture1.Output_Format = dvOutput;

2. Set video capture mode and file name

VideoCapture1.Mode = VFVideoCaptureMode.VideoCapture;
VideoCapture1.Output_Filename = "c:\\123.avi";

3. Start capture

VideoCapture1.Start();

VisioForge © 2006-2019

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