Cheese: choppy refresh

Bug #252664 reported by Chris Gregan
52
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Ubuntu Netbook Remix
Won't Fix
Medium
Gary Lasker
cheese (Ubuntu)
Invalid
Medium
Gary Lasker

Bug Description

<Build: UNR 20080725>
<Environment: CG - 8.9">

Summary:
Web camera resolution can be lowered when being used in viewfinder mode then raised to full resolution for photos. It looks like this is not being done for web cameras connected to UNR.

Steps to Reproduce:
1) Select Graphics Category
2) Launch Cheese

Expected result:
When using camera as a viewfinder resolution is lowered so refresh rate is higher.

Actual result:
Camera is running at full resolution so refresh is slow

Tags: ubuntu-unr
Revision history for this message
Neil J. Patel (njpatel) wrote :

It also seems to suffer from refrehs problems...maybe caused by the launcher's GL window behind it?

Changed in netbook-remix:
assignee: nobody → njpatel
status: New → Confirmed
Revision history for this message
Chih-Hsyuan Ho (chih) wrote :

Neil, any idea how you will be dealing with this issue?

Bill Filler (bfiller)
Changed in netbook-remix:
assignee: njpatel → gary-lasker
importance: Undecided → Medium
Revision history for this message
Paul Larson (pwlars) wrote :

Moving to Ubuntu distribution

Changed in cheese (Ubuntu):
assignee: nobody → Gary Lasker (gary-lasker)
importance: Undecided → Medium
status: New → Confirmed
Changed in netbook-remix:
status: Confirmed → Won't Fix
tags: added: ubuntu-unr
Revision history for this message
Filippo Argiolas (fargiolas) wrote :

I don't believe the feature requested here will happen anytime soon. Photos are saved directly from the same stream of the viewfinder, a frame is taken and encoded into a jpeg file. To do what the OP suggested we will need to stop the pipeline, close the device, reopen it with an higher resolution, take a frame, stop the pipeline again and reopen it with the lower resolution.
It will take no less than 3-6 seconds just to shoot a photo. I'd say it's a wontfix.

About refresh issues I believe Neil is talking about some issue we had in the past with gtk double buffering, they should be fixed in git or in the 2.27.3 release expected in the next few days.

Revision history for this message
Gary Lasker (gary-lasker) wrote :

Filippo's comment #4 is an excellent description of the technical issues involved in trying to do a "real-time" webcam resolution switch when taking a photo. In fact, some test code I wrote a while back to do just this resulted in just over 5 seconds from the time the "Take a Photo" button was pressed to the point that the reduced-resolution "viewfinder" image was restored. Note that for the entire duration of the process no viewfinder image was available. The result was a completely unacceptable user experience.

The good news is that this problem can be easily worked around in current versions of Cheese by simply setting the default webcam resolution to a lower setting as desired via the Preferences dialog. This allows the user to make the tradeoff between optimal viewfinder performance and photo resolution.

Changed in cheese (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.