How to control exposure and gain using GStreamer

Hi,
I’m trying to control the exposure time and analogue gain of the Raspberry Pi camera using GStreamer with the libcamerasrc element.

When I tried checking the element properties, I got the below
auto-focus-mode : AfModeManual / AfModeAuto / AfModeContinuous
camera-name : Select camera

Version GStreamer 1.22.0

However, I don’t see any properties for: exposure-time, exposure-mode, analogue-gain, ae-mode (auto exposure). How do I set these controls to reduce motion blur on image capture using gstreamer pipeline.
//Current pipeline for streaming
std::string pipeline = "libcamerasrc ! " + std::string(m_caps) + " ! " + m_clockOverlay +
“queue name=q1 ! videoconvert ! jpegenc quality=80 ! multifilesink max-files=1 location=” + m_tmpFramePath;

Hi sowmiya,

These are indeed not exposed by the libcamerasrc GStreamer element, you’ll need to use the libcamera API directly, see here: Making sure you're not a bot!

It does mention an application lock, so you wont be able to both have libcamerasrc and a manually created lbicamera::Camera running, but you can work around this by pulling the FrameBuffers from libcamera and pushing them to an appsrc in your pipeline.