Get GStreamer camera settings after initialization

Hi,
On python and your current setup, you can use v4l2_control and fcntl to manipulate the camera parameters.You will need the Python bindings for the v4l2 userspace api, that can be installed with pip:

pip install v4l2

An example usage:

>>> from v4l2 import *
>>> import fcntl 
>>> vd = open('/dev/video0', 'rw') 
>>> cp = v4l2_capability() 
>>> fcntl.ioctl(vd, VIDIOC_QUERYCAP, cp) 
0

To change or read camera properties you need the kernel defined CID. We did that for TX1 and the code looks something like this:

from v4l2 import *
import fcntl

TEGRA_CAMERA_CID_BASE = 10100736
INITIAL_EXPOSURE_LEVEL = 1000
INITIAL_GAIN_LEVEL = 256

vd = open('/dev/video0', 'rw')

#   Set initial exposure level
exposure = v4l2_control()
exposure.id = TEGRA_CAMERA_CID_BASE + 1
exposure.value = INITIAL_EXPOSURE_LEVEL;
fcntl.ioctl(vd, VIDIOC_S_CTRL, exposure)

#   Set initial gain level
gain = v4l2_control()
gain.id = TEGRA_CAMERA_CID_BASE + 10
gain.value = INITIAL_GAIN_LEVEL;
fcntl.ioctl(vd, VIDIOC_S_CTRL, gain)

There is another v4l2 operation called VIDIOC_G_CTRL, I think you could use that one in a similar way to get the properties instead of setting them.
I hope this helps.