Skip to main content

MPEG-2 file from camcorder

Products: Video Capture SDK .Net

Launched in 1995, MPEG-2 is a standard for encoding video and audio. It's primarily used in digital television and DVDs. Known for balancing quality and compression, MPEG-2 provides excellent video clarity and is integral to broadcasting and DVD video formats, ensuring wide compatibility and quality playback.

Sample code

Use DirectCapture MPEG for output.

VideoCapture1.Output_Format = new DirectCaptureMPEGOutput();

Set video capture mode.

VideoCapture1.Mode = VideoCaptureMode.VideoCapture;

Set the file name.

VideoCapture1.Output_Filename = "output.mpg";

Start capture (sync or async).

await VideoCapture1.StartAsync();

Required redists

  • Video capture redist x86 x64

Visit our GitHub page to get more code samples.