OrbbecSDK
OrbbecSDK copied to clipboard
Gain value not applied if set before starting color stream
Ubuntu 20.04 LTS SDK 1.9.3 (Also 1.8.3) Femto Mega, FW 1.2.7, EDIT: also tested with 1.2.8 Astra 2, FW 2.8.20
We try to record videos with AE disabled, and set fixed exposure time & gain, but there is a bug, where device->setIntProperty(OB_PROP_COLOR_GAIN_INT, value)
is not applied if it is set before starting the color camera for the first time. All other properties we've tested (exposure time, brightness, white balance) do work.
This is also visible in the OrbbecViewer: https://github.com/orbbec/OrbbecSDK/assets/46484036/03a5544e-3847-4265-95a5-eff906943ca1
As a workaround, we can start the color stream once and then turn it off, and then gain will be applied correctly in the next recording (but only if using a different gain value).