No Parameter
Namespace: Viscomsoft.VideoCapture
Return Value
1 - success. -1 - video device empty. -2 - selected video resolution empty. -3 - audio device empty. -4 - output file empty or invalid. -5 - preview window empty. -6 - video bitrate is 0. -7 - audio bitrate is 0. -999 - registration failed.
Example
|
[c# Syntax] select first audio device public VideoCapture _capture = new VideoCapture(); public Devices _devices = new Devices(); _capture.Initialize(); _devices.Refresh(); _capture.Window = pictureBox1.Handle; _capture.Mode = VideoCapture.CaptureMode.Preview; _capture.VideoDevice = _devices.VideoDevices[0]; _capture.VideoDevice.SelectedResolution = _capture.VideoDevice.VideoResolutions[0]; _capture.AudioDevice = _devices.AudioDevices[0]; int result= _capture.Start();
|
|