After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 622390 - [v4l2] add controllable color balance properties / programmable camera
[v4l2] add controllable color balance properties / programmable camera
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
unspecified
Other Linux
: Normal enhancement
: 0.10.26
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-06-22 13:04 UTC by Stefan Sauer (gstreamer, gtkdoc dev)
Modified: 2010-09-10 14:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
add controlable properties (8.13 KB, patch)
2010-06-22 13:04 UTC, Stefan Sauer (gstreamer, gtkdoc dev)
committed Details | Review
programmable camera toy (5.60 KB, text/x-csrc)
2010-06-22 13:05 UTC, Stefan Sauer (gstreamer, gtkdoc dev)
  Details

Description Stefan Sauer (gstreamer, gtkdoc dev) 2010-06-22 13:04:21 UTC
Created attachment 164302 [details] [review]
add controlable properties

Did not wanted to push this before freeze. The attached patch makes some v4l2 properties controllable. Main issue is the timing of the parameter changes. Right now I run an own timestamp counter because
- v4l2src is a live source and thus timestamps are unpredictable
- if we ask for 3 frames in the 'programm' we want 3 frames even if there is one bad frame in between

I did not added property probe interface. If a camera does not have this setting/getting them will be ignored.
Comment 1 Stefan Sauer (gstreamer, gtkdoc dev) 2010-06-22 13:05:04 UTC
Created attachment 164303 [details]
programmable camera toy

test gst controller on camera
Comment 2 Stefan Sauer (gstreamer, gtkdoc dev) 2010-09-10 14:02:54 UTC
both committed with small updates:
commit 9338395bc546aaf5e1bc97b7f4c33a4746f923c5
Author: Stefan Kost <ensonic@users.sf.net>
Date:   Fri Sep 10 16:59:10 2010 +0300

    example: add v4l2 example, demonstrating the use of gst controller

commit a08d4a5447b09204b54b6cb77373dc7ac75c211d
Author: Stefan Kost <ensonic@users.sf.net>
Date:   Tue Jun 22 15:48:04 2010 +0300

    v4l2src: add controlable colorbalance parameters
    
    Expose colorbalance controls as object properties (like we do on xvimagesink).
    Make them controlable.