We have a CSI camera (the LI-M021C) connected to TX1 via the Elroy carrier board, and we are able to view video using the following gstreamer pipeline:
gst-launch-1.0 -e nvcamerasrc fpsRange="60.0 60.0" ! 'video/x-raw(memory:NVMM), width=(int)1280, height=(int)720, format=(string)I420, framerate=(fraction)60/1' ! nvvidconv flip-method=2 ! 'video/x-raw(memory:NVMM), format=(string)I420' ! nvoverlaysink -e
The video looks fine when indoors with room lights on, but outdoors it looks very bright, like the white balance or exposure is too high. We tried setting different wbmode, intent, and other settings, but it doesn’t seem to make a difference.
I am wondering if there is another step we have to take in order to get the nvcamerasrc options to have an effect. Is there some change required in the ISP or in the device tree entry or driver, for example, that tells gstreamer what to do with all those nvcamerasrc options?