Query about video stream flicking problem during night

Hi all. Currently we are facing problem when record video at night. We are using LI-AR0231-GMSL camera and PX2 AutoChauffeur to record video. The video we record is flicking heavily. We use drivework’s recorder tool driveworks\tools\recorder to record the data. Please refer to below for our setting file. The video is at https://vimeo.com/265686462

Does anyone encounter the same problem and know how to solve it? Thank you!

"camera": {
    "separate-thread": true,
    "write-file-pattern": "video_*",
    "sensors": [
        {
            "protocol": "camera.gmsl",
            "params": "camera-type=ar0231,csi-port=ab,camera-count=2,output-format=h264,async-record=0,cross-csi-sync=0,fifo-size=12",
            "channel-names": [
                "left",
                "right"
            ]
        },
        {
            "protocol": "camera.gmsl",
            "params": "camera-type=ar0231-rccb,csi-port=cd,camera-count=3,output-format=h264,async-record=0,cross-csi-sync=1,fifo-size=12",
            "channel-names": [
                "cam1",
                "cam2",
                "cam3"
            ]
        },
        {
            "protocol": "camera.gmsl",
            "params": "camera-type=ar0231-rccb,csi-port=ef,camera-count=3,output-format=h264,async-record=0,cross-csi-sync=1,fifo-size=12",
            "channel-names": [
                "cam4",
                "cam5",
                "cam6"
            ]
        }
    ]
},

Dear xiaoning.wang,

Can I know your using DPX2 PDK version and camera revision? Thanks.

Dear SteveNV,

Our DPX PDK version is driveworks-0.3 and camera revision is LI-AR0231-R6 RCCB. Thank you!

Dear xiaoning.wang,
Can you please upgrade to latest PDK version and check.

Dear Siva,

Thank you for your suggestion. We have upgraded to latest PDK version and the flicking problem disappears. But we encounter another problem when record the images at night. The saturation level is high and the street light occupies much bigger area than it should be. Could we adjust the exposure setting in the software to make the recorded video looks better?

The example image is at https://ibb.co/fV5xfd

Dear Dear xiaoning.wang,
Unfortunately Driveworks does not provide API to set Driveworks does not provide API to deal with exposure setting. You need to use NVMedia API.

Dear Siva,

Thank you for your suggestion. Could you please provide some documents or example codes of how to use NVMedia API to adjust exposure setting? Thank you!