Skip to main content

Hardware video adjustments

Products: Video Capture SDK .Net

Sample code

Many devices support hardware video adjustments that you can use to improve video quality.

Use Video_CaptureDevice_VideoAdjust_GetRanges to get the current brightness level or another adjustment, available adjustment ranges, and the pitch.

await VideoCapture1.Video_CaptureDevice_VideoAdjust_GetRangesAsync(
VideoHardwareAdjustment.Brightness,
out min,
out max,
out step,
out defaultValue,
out auto);

Use Video_CaptureDevice_VideoAdjust_SetValue to set the necessary level.

await VideoCapture1.Video_CaptureDevice_VideoAdjust_SetValueAsync(
VideoHardwareAdjustment.Brightness,
tbAdjBrightness.Value,
cbAdjBrightnessAuto.Checked);

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.