Adjust camera parameters when recording using Gstreamer pipeline command


I am using the following Gstreamer pipeline command to record raw video.

gst-launch-1.0 -e v4l2src device=/dev/video1 num-buffers=450 ! 'video/x-raw, format=UYVY, width=2304, height=1296, framerate=45/1' ! filesink location=/media/nvidia/Transcend/capture0.UYVY

I want to know is it possible to set the camera parameters (permanently) like white balance, brightness, etc before run this command and starting recording?

Any help would be appreciated.

Hi joejevons1001,
Your source is a file source and should not be able to change white balance, brightness.
You may try nvcamerasrc, nvarguscamerasrc with onboard camera ov5693.

Sorry, I put the wrong code. Now changed.

For v4l2 source, you can list all controls supported by your camera:

$ v4l2-ctl -d /dev/video1 --list-ctrls