Change nvarguscamerasrc videobalance parameters during runtime

Hello, I would like to change the input parameters for the videobalance stage in the pipeline shown here during runtime so a user can control parameters like contrast and brightness while the video is streaming without interrupting the pipeline. Is there a way to do this without having to create my own custom app ? Likewise, can the saturation parameter be changed during runtime to nvarguscamerasrc so the streaming isnt interrupted?

gst-launch-1.0 nvarguscamerasrc sensor-id=0 saturation=0 !
“video/x-raw(memory:NVMM),width=1920,height=1080,framerate=30/1” !
nvvidconv ! videobalance contrast=1.5 brightness=-0.3 ! nvoverlaysink

Thank you

hello mbahnsen93 ,

gst pipeline with nvarguscamerasrc plugin isn’t able to support different control parameters.
you may test with argus_camera sample application, that provide the user-interface for camera controlling and you’re able to view the effects during runtime.

Hello, thank you for your answer. Is it possible to use this libargus API to encode with H.264 and stream over UDP multicast ?

hello mbahnsen93,

may I know what’s the actual use-case? there’s gst pipeline with nvarguscamerasrc plugin to doing so.

Hello, I have 3 cameras that are connected via CSI MIPI to the Connectech Rogue-X carrier board. I have a driver for them that allows me to debayer and stream the cameras via UDP, but I would like to add a control so that a user can control libargus parameters like saturation, contrast, white balance and brightness during runtime without interrupting the stream. So the method of hard coding those parameters in as command line arguments for gstreamer wont exactly work for me because of that requirement.

Hi,
The nvarguscamerasrc plugin is open source, so you can customize the plugins to add the property so that you can change the parameter in runtime.

For using Argus APIs you would need to implement codes about UDP streaming, so it is more convenient to use gstreamer and do customization to nvarguscamerasrc

Thank you! I will go with that approach

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