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 685057 - Add actor for camera streams
Add actor for camera streams
Status: RESOLVED FIXED
Product: clutter-gst
Classification: Other
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: clutter-gst-maint
clutter-gst-maint
Depends on: 681562 681564 682502 682770 684981
Blocks:
 
 
Reported: 2012-09-28 15:37 UTC by Andre Moreira Magalhaes
Modified: 2013-03-26 11:53 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andre Moreira Magalhaes 2012-09-28 15:37:46 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.
Comment 1 Andre Moreira Magalhaes 2012-09-28 15:42:16 UTC
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.
Comment 2 Lionel Landwerlin 2013-03-26 11:53:24 UTC
Pushed to master, Thanks!