Is exposuretimerange a dynamic property for nvarguscamerasrc?

I’m using gstreamer with an nvarguscamerasrc to stream video. I’ve tried to adjust the exposure of nvarguscamerasrc dynamically during streaming, but it seems that nvarguscamerasrc ignores updates to the exposuretimerange property after the pipeline has been started.

Is exposuretimerange supposed to be a dynamically controllable property in the provided gst plugin?
[Or would I have to use the MMAPI’s instead of gstreamer to get dynamic exposure control?]

hello rywang.cs,

you may enable the camera stream with argus_camera application, there’s user-interface for you to input exposure-time settings, it’ll also have dynamic effects on the preview frames.
you should install MMAPI and check the instructions here, /usr/src/jetson_multimedia_api/argus/README.TXT.

Thanks Jerry for the quick reply. I’m specifically talking about the gstreamer nvarguscamerasrc plugin. Does this plugin respect changes to the exposuretimerange property?

hello rywang.cs,

nvarguscamerasrc is able to parse gain-range and exposure-time-range.
you may also ensure you’d specify these values within the sensor capability.
here’re some sample commands for your reference,
for example,

to configure gainrange,
$ gst-launch-1.0 nvarguscamerasrc gainrange="1 16" ! "video/x-raw(memory:NVMM), width=1920, height=1080, format=NV12, framerate=30/1" ! nvoverlaysink -e -v

to configure exposuretimerange,
$ gst-launch-1.0 nvarguscamerasrc exposuretimerange="34000 358733000" ! "video/x-raw(memory:NVMM), width=1920, height=1080, format=NV12, framerate=30/1" ! nvoverlaysink -e -v

Thanks Jerry. After a gst pipeline has been launched (not through gst-launcher, but through a custom program), will nvarguscamerasrc respect changes to the exposuretimerange property?

hello rywang.cs,

it should be works, because it’s one of nvarguscamerasrc plugin control property.
you may check it with gst-inspect-1.0 for plugin details.
for example,

$ gst-inspect-1.0 nvarguscamerasrc
  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