Skip to main content

MPEG-2 file from camcorder

Products: Video Capture SDK .Net

Sample code

1. Use DirectCapture MPEG for output

VideoCapture1.Output_Format = new DirectCaptureMPEGOutput();

2. Set video capture mode

VideoCapture1.Mode = VideoCaptureMode.VideoCapture;

3. Set file name

VideoCapture1.Output_Filename = "output.mpg";

4. Start capture (sync or 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.