Video capture to DV file using Video Capture SDK .Net

Related products
Video Capture SDK .Net

To capture video to DV files, you can use software compression or DV/HDV camcorder. DV codec used for a video stream, PCM used for an audio stream, AVI used as a container. Optionally you can use MKV (Matroska) container format.

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

Capture video to DV without recompression (DV camcorder)

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 = "output.avi";

3. Start capture (sync or async)

await VideoCapture1.StartAsync();

Capture video to DV with recompression (any video source can be used)

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 = "123.avi";

3. Start capture (sync or async).

await VideoCapture1.StartAsync();
Please contact support to get help with this tutorial. Visit our GitHub page to get more code samples.
abstract 2abstract 1abstract 3
logo
VisioForge © 2006 - 2021