#9841 NORM 1.5-sof: XO 1.5 Camera fails in Gnome Cheese

Zarro Boogs per Child bugtracker at laptop.org
Mon Dec 13 12:59:07 EST 2010


#9841: XO 1.5 Camera fails in Gnome Cheese
-------------------------------------+--------------------------------------
           Reporter:  reuben         |       Owner:  dsd               
               Type:  defect         |      Status:  new               
           Priority:  normal         |   Milestone:  1.5-software-later
          Component:  gnome-desktop  |     Version:  not specified     
         Resolution:                 |    Keywords:                    
        Next_action:  design         |    Verified:  1                 
Deployment_affected:                 |   Blockedby:                    
           Blocking:                 |  
-------------------------------------+--------------------------------------
Changes (by juliano):

  * verified:  0 => 1
  * next_action:  reproduce => design
  * component:  not assigned => gnome-desktop


Comment:

 After some testing I was able to get cheese recording video acceptably at
 320x240 on XO 1.5 . Apparently, there are two issues that need to be
 addressed.

 1) Gstreamer Gconf default configuration on the XO doesn't deliver the
 best performance. I used the following configuration and got much better
 results.

 gconftool-2 -s /system/gstreamer/0.10/default/videosrc --type string
 'v4l2src device="/dev/video0"'
 gconftool-2 -s /system/gstreamer/0.10/default/videosink --type string
 'xvimagesink device="0"'
 gconftool-2 -s /system/gstreamer/0.10/default/alsasrc --type string
 'alsasrc device="hw:0,0"'
 gconftool-2 -s /system/gstreamer/0.10/default/audiosrc --type string
 'alsasrc device="hw:0,0"'
 gconftool-2 -s /system/gstreamer/0.10/default/audiosink --type string
 'alsasink device="hw:0,0"'
 gconftool-2 -s /apps/cheese/y_resolution --type integer 240
 gconftool-2 -s /apps/cheese/x_resolution --type integer 320

 Audio setup looks to particularly affect the speed and quality of the
 resulting video.

 2) Cheese calculates automatically the framerate for a video based on
 information it captures from the camera and the processor. On the XO, the
 calculation delivers 30fps, what is more than the hardware can handle and
 more than necessary to record acceptable quality video. I modified cheese
 and made it capture 10/1 by default. The binary is at
 http://dev.laptop.org/~julianobittencourt/cheese

 We could package a patched version of sugar in order to get it back into
 our distribution.

-- 
Ticket URL: <http://dev.laptop.org/ticket/9841#comment:9>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list