Raspberry Pi v2.1 camera Red,Black Crash screen

hello, I use Raspberry PI Camera V 2.1 on nano, * When the light is low, the camera displays a red and black screen。How to appear black screen ??
and I use the following method starts the camera .
“gst-launch-1.0 nvarguscamerasrc sensor_id=1 !
‘video/x-raw(memory:NVMM),width=3264, height=2464, framerate=21/1, format=NV12’ !
nvvidconv flip-method=0 ! ‘video/x-raw, width=816, height=616’ !
nvvidconv ! nvegltransform ! nveglglessink -e”simple_camera.cpp (2.0 KB)

Will it recovery when turn on the light?

yeah, it recovery when turn on the light. And I add param “ispdigitalgainrange=1 , 4”, It will improve.

Try to configure the Max exposure and gain by argus_camera UI to narrow what value would cause the problem.

this param can meet requirements.