GNOME Bugzilla – Bug 685057
Add actor for camera streams
Last modified: 2013-03-26 11:53:24 UTC
clutter-gst currently only has an actor for video playback, and this actor cannot be used for displaying camera streams. I have worked on a new actor that can be used to display/manipulate camera streams. The following features are supported by the new API: - getting list of supported camera devices (using udev) - get/set active camera device - get/set color balance (saturation,hue,brightness,contrast) - get/set gamma correction - get/set custom filter for image processing - get supported resolutions per device - get/set capture resolution per device - set photo/video profile (the profile to use to save data, using ogg/theora for video and jpeg for photos as default values) - take picture (save to file or as pixbuf) - record video to file - methods to retrieve camerabin and pipeline elements for directly usage with GStreamer ... and a few other convenience APIS. It also includes a new example demonstrating how to use the new API. The changes can be found at http://cgit.collabora.com/git/user/andrunko/clutter-gst.git/log/?h=camera.
Currently, the branch will work for all features listed above except for taking pictures/recording videos due to the gstreamer 1.0 bug #682770. Some other gstreamer bugs required here were already fixed upstream, but we should wait for a new 1.0 release and depend on it.
Pushed to master, Thanks!