Ask Your Question

Revision history [back]

No effect from setting CAP_PROP_GAIN

OS: Windows 10 webcam: brand unknown, cheap, USB other settings: exposure 0.5ms, 1280*720@120

I tried setting CAP_PROP_GAIN with a range of different values, but wasn't able to see any discernible in my recorded videos. They all basically just look black.

I am able to control the gain from Amcap, but the settings don't persist into OpenCV recordings and my data pipeline requires that the videos be captured in OpenCV.

Any help is greatly appreciated!