Nvarguscamerasrc does not allow to set exposuretimerange below 34000

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?

You can get the source code to build it by yourself. Download the source from below link. And apply the patch.



Thanks. I fixed it already in my code but it would be good to be included in the next JetPack Release ;-)
Also the possible values for exposure_compensation should be adapted to much higher values than -2;2.

Thanks for your update.
Will check if can add it to the request for next release.