I have a setup with a jetson orin NX and raspberry pi hq camera. I am getting the camera images into my program through a gstreamer pipeline. For my setup I want the images to be very dark such that I can focus only on some highlights in the image.
Now I have noticed, that when setting the ispdigitalgainrange and/or gainrange to lower values in order to get a dark image I am frequently getting errors that a new image is not available from the gstreamer appsrc. At first I thought it was due to incompatible ispdigitalgainrange and gainrange settings. However, I have since confirmed that it actually occours independent of these. In fact, it rather appears to be linked to the image content itself. When the image is very dark (due to gain settings or available light) the errors are frequent. As soon as I increase the light or gainrange which results in a brighter image (even if it just noise) the images come through without problems.
Is there a way to avoid this problem or a better way to set the brightness reference such that I can get my images at 30Hz even when the image is dark?