How to start capture without stopping preview (separate capture) in Video Capture SDK .Net?

Related products
Video Capture SDK .Net

Sample code

You can start and stop video capture without stopping preview.

1. Enable separate capture

VideoCapture1.SeparateCapture_Enabled = cbSeparateCaptureEnabled.Checked;

2. Enable Video Capture mode (or Screen Capture, etc.)

VideoCapture1.Mode = VFVideoCaptureMode.VideoCapture;

3. Set output format settings

VideoCapture1.Output_Format = ...

4. Start video capture / preview (real video capture not started at this moment)

VideoCapture1.Start();

5. Start real video capture

VideoCapture1.SeparateCapture_Start();

6. Stop real video capture if needed

VideoCapture1.SeparateCapture_Stop();

or change output file name on the fly

VideoCapture1.SeparateCapture_ChangeFilenameOnTheFly("newfile.mp4");
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