Video capture to MPEG-2 using TV Tuner with Internal MPEG encoder

Related products
Video Capture SDK .Net

1. Get list of available MPEG-2 Hardware Encoders

foreach (string specialFilter in VideoCapture1.Special_Filters(VFSpecialFilterType.HardwareVideoEncoder))
{
  cbMPEGEncoder.Items.Add(specialFilter);
}

2. Select encoder

VideoCapture1.Video_CaptureDevice_InternalMPEGEncoder_Name = cbMPEGEncoder.Text;

3. Use DirectCapture MPEG for output

VideoCapture1.Output_Format = new VFDirectCaptureMPEGOutput();

4. Set video capture mode, file name and start.

VideoCapture1.Mode = VFVideoCaptureMode.VideoCapture;
VideoCapture1.Output_Filename = "123.mpg";
VideoCapture1.Start();
Please contact support to get help with this tutorial. Visit our GitHub page to get more code samples.
VisioForge © 2006 - 2021