Hi,
I want to set exposure time for my camera below 34000 which is not possible via nvarguscamerasrc.
It causes:
GST_ARGUS: NvArgusCameraSrc: Setting Exposure Time Range : 16000 40000
GST_ARGUS: Invalid Exposure Time Range Input
although the camera seems to provide it:
GST_ARGUS: 1920 x 1080 FR = 59,999999 fps Duration = 16666667 ; Analog Gain range min 1,000000, max 354,000000; Exposure Range min 5000, max 352112000;
Looking into the source code of gstnvarguscamerasrc.cpp
it is obvious why:
#define MIN_EXPOSURE_TIME 34000
…
else if(prop_id == PROP_EXPOSURE_TIME_RANGE)
{
if (array[0] < MIN_EXPOSURE_TIME || array[1] > MAX_EXPOSURE_TIME) {
GST_ARGUS_PRINT(“Invalid Exposure Time Range Input\n”);
ret = FALSE;
goto done;
}
…
Could you please fix the MIN_EXPOSURE_TIME and adapt it to the value that the camera provides?