Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gain value not applied if set before starting color stream #48

Open
kaatrasa opened this issue Jan 17, 2024 · 1 comment
Open

Gain value not applied if set before starting color stream #48

kaatrasa opened this issue Jan 17, 2024 · 1 comment

Comments

@kaatrasa
Copy link

kaatrasa commented Jan 17, 2024

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).

@zhonghong322
Copy link
Contributor

@kaatrasa yes,this is a little bug of firmware.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants