tcamtegraae

Using the tcamtegraae gstreamer element

Automatically adjusts gain and exposure of the camera.

When you start a pipeline, make sure that no other element automatically adjust gain or exposure. For example: nvarguscamerasrc sets these values automatically. To change this behavior set aelock to 1 while using with tcamtegraae.

A live video window can be started like this:

gst-launch-1.0 -v nvarguscamerasrc aelock=1 ! tcamtegraae ! nv3dsink sync=false

tcamtegraae Element Properties

refvalue : Reference value for the average brightness to be achieved.
flags: readable, writable Integer. Range: 0 - 255 Default: 128
camera-path : Path to camera
flags: readable, writable String. Default: “/dev/video0”
enable-autoexposure : Enable automatic adjustment of exposure.
flags: readable, writable Boolean. Default: True
enable-autogain : Enable automatic adjustment of gain.
flags: readable, writable Boolean. Default: True
exposure-auto-max-value-auto : Sets max value for exposure to current framerate if it is enabled, otherwise it is set to exposure-auto-max-value.
flags: readable, writable Boolean. Default: True
exposure-auto-max-value : Max value for exposure. This is only used if exposure-auto-max-value-auto is set to false.
flags: readable, writable Integer. Range: 0 - 1000000 Default: 2495