I’m using gstreamer programmatically.
My gstreamer source is configured with the option “fpsRange” set to “6 6”.
Due to blurred photos, I would like to set manually the exposure time
Here are relevants extracts of my code:
m_source = gst_element_factory_make ("nvcamerasrc", "source");
...
g_object_set (m_source, "sensor_id", (gint)0, NULL);
g_object_set (m_source, "wbmode", (gint)0, NULL);
g_object_set (m_source, "auto-exposure", (gint)1, NULL);
g_object_set (m_source, "exposure-time", (gfloat)0.1, NULL);
g_object_set (m_source, "fpsRange", "6 6", NULL);
Without the auto-exposure and exposure time parameter, the image rate is correct.
When I activate these 2 parameters the camera goes up to its maximal framerate (15FPS at this resolution)
and ignore my fpsRange parameter.
I tried to change parameters order without any effect.