Skip to main content

Video capture to DV file

Products: Video Capture SDK .Net

To capture video to DV files, you can use software compression or DV/HDV camcorder. DV codec is used for a video stream, PCM is used for an audio stream, and AVI is 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 DirectCaptureDVOutput();

2. Set video capture mode and file name

VideoCapture1.Mode = VideoCaptureMode.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, and apply output format

var dvOutput = new DVOutput();

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

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

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

VideoCapture1.Output_Format = dvOutput;

2. Set video capture mode and the file name

VideoCapture1.Mode = VideoCaptureMode.VideoCapture;
VideoCapture1.Output_Filename = "output.avi";

3. Start capture (sync / async)

await VideoCapture1.StartAsync();

Required redists

How to install the required redists or deploy them to the user's PC?


Visit our GitHub page to get more code samples.