IMX334 is changing gain continiously at night time

Hi Team,

I am using IMX334 sensor with Xavier nx . When I am using device in auto exposure mode at day time it is working fine but while at night time it is changing gain continuously and I can see flicker in my stream.

I am using below gstreamer pipeline-

gstreamer_pipeline (capture_width=3840, capture_height=2160, display_width=1920, display_height=1080, framerate=60, flip_method=0) :
return (‘nvarguscamerasrc !’
'video/x-raw(memory:NVMM), ’
'width=(int)%d, height=(int)%d, ’
'format=(string)NV12, framerate=(fraction)%d/1 ! ’
'nvvidconv flip-method=%d ! ’
'video/x-raw, width=(int)%d, height=(int)%d, format=(string)BGRx ! ’
'videoconvert ! ’
‘video/x-raw, format=(string)BGR ! appsink’ % (capture_width,capture_height,framerate,flip_method,display_width,display_height))

1 Like

Could you limit the gain/exposure by “gainrange/exposuretimerange” to max to check.

nvidia@tegra-ubuntu:~$ gst-inspect-1.0 nvarguscamerasrc
Factory Details:
  Rank                     primary (256)
  Long-name                NvArgusCameraSrc
  Klass                    Video/Capture
  Description              nVidia ARGUS Camera Source
  Author                   Viranjan Pagar <vpagar@nvidia.com>, Amit Pandya <apandya@nvidia.com>





 exposuretimerange   : Property to adjust exposure time range in nanoseconds
                        Use string with values of Exposure Time Range (low, high)
                        in that order, to set the property.
                        eg: exposuretimerange="34000 358733000"
                        flags: readable, writable
                        String. Default: null
  gainrange           : Property to adjust gain range
                        Use string with values of Gain Time Range (low, high)
                        in that order, to set the property.
                        eg: gainrange="1 16"
                        flags: readable, writable
                        String. Default: null

Also set the ispdigitalgainrange=“1 1”

Thank you for your reply ShaneCCC. Issue is already resolve I have use use_decibel_gain = “true” in device tree.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.