This was an experiment (we performed several) and looking at different exposure values from v4lctl while auto-exposure/exposuretimerange are supposed to be honored lead to very misleading results (I am not 100% sure what the exposure units are under v4lctl but even if I compensate for it the camera’s behavior seems very wrong).
Can someone explain to me how exposuretimerange is supposed to work? We are trying to alleviate some pain caused by the aelock function oversaturating images by limiting exposure time. We thought exposuretimerange would solve it but its behavior is not what we expect.
That shouldn’t be. AWB shouldn’t effect exposure not should gain (btw, there is also gainrange too but I don’t want that limited since I need gain to be modified for AE).
How does it not working. Did you set the range and didn’t see the effect.
This property is different with the sensor exposure by v4l2-ctl -C exposure, it’s AE alg will run in this range. Have a reference to below link.
We don’t see it taking effect or at least the changes are not readily apparent to us. How can we verify the range is being honored? (obviously sensor exposure via v4l2-ctl is not the right answer).
As far as we can see, the “exposuretimerange” doesn’t do anything (should aelock be on or off, I assume off).
What’s your min_exp_time/max_exp_time define in device tree?
For the reference board ov5693 the value as below, when I set the exposuretimerange=“34000 34000” I can see the preview change to dark and if change to much bigger value the scene change to bright.
gst-launch-1.0 nvarguscamerasrc exposuretimerange="74000 76000" ! 'video/x-raw(memory:NVMM),width=1920,height=1080,format=NV12' ! nvoverlaysink
min_exp_time = "34";/* us */
max_exp_time = "550385";/* us */
Also, I see barely any difference when setting exposure compensation. I have programmed to create a capture objects with exposure compensation value increased by 1 in the range -2 to 2, waited for the exposure to stabilise, capture one image for each. This is the result… no observable trend