Movatterモバイル変換


[0]ホーム

URL:


LWN.net LogoLWN
.net
News from the source
LWN
|
|
Log in /Subscribe /Register

The long road to a working Cheese

Ready to give LWN a try?

With a subscription to LWN, you can stay current with what is happening in the Linux and free-software community and take advantage of subscriber-only site features. We are pleased to offer youa free trial subscription, no credit card required, so that you can see for yourself. Please, join us!

ByForrest Cook
January 28, 2009

Cheeseis an interesting application that is designed totake still photos and movies using a webcam.In addition to its basic monitoring and recording abilities,Cheese can display and record real-time video effects similar tothose from theEffecTV project.Cheese is based on theGStreamermultimedia framework.From the Cheese project description:

Cheese uses your webcam to take photos and videos, applies fancy specialeffects and lets you share the fun with others. It was written as part ofGoogle's 2007 Summer of Code lead by Daniel G. Siegel and mentored byRaphaël Slinckx. Under the hood, Cheese uses GStreamer to applyfancy effects to photos and videos. With Cheese it is easy to take photosof you, your friends, pets or whatever you want and share them withothers. After a success of the Summer of Code, the development continuedand we still are looking for people with nice ideas and patches ;)

Cheese started out as aGoogle Summer of Codeproject entitledPhotobooth-like application for the GNOME-Desktop.(See this GNOME Journalinterview with Daniel Siegel).Several additional GSoC projects involved Cheese, these includeCheese integration into Gnome withstudent Felix Kaser and mentor Daniel SiegelandExtend Cheese with OpenGL effects withstudent Filippo Argiolas and mentor Daniel Siegel.

The main features of Cheese include:

  • Real-time video monitor window.
  • Supports the selection of multiple video resolutions.
  • Ability to take still .jpg photos with optional video effects.
  • Has a countdown timer for taking still photos.
  • Makes a click sound when a still photo is taken.
  • Ability to record .ogv movies with sound and optional video effects.
  • Can chain multiple video effects together.
  • Built-in thumbnail library that shows recorded photos and movies.
  • Displays photos withEye of GNOME.
  • Plays movies withTotem Movie Player.
  • Images and movies can be saved to files, emailed or exported toF-spot.

Your author installed version 2.24.2 of Cheese on an Ubuntu 8.10system using the standard Ubuntu package. The CPU was an Athlon 642800 running the 32 bit version of Ubuntu.Initially, an ancient Kensington VideoCam Model 67015 was triedas the video capture device, but the camera would not work.This was likely a system issue since other video applicationssuch asxawtvand EffecTV no longer saw the camera after the system wasupgraded from Ubuntu 8.04.A new HP Deluxe Webcam model KQ246AA (USB) with a built-in microphonewas purchased at the local big-box electronics store.Initially, the HP camera worked with xawtv, but not with Cheese(or EffecTV).

A bit of Googling found an Ubuntubug report that indicated others were havingsimilar issues with Cheese. Following the thread in the bug report,your author first tried the suggestion of installing a newer kernelfrom the Pre-released package updates. This did not fix the problem.Digging further into the bug report messages, the next attemptinvolved installing mercurial (hg), then cloning and installing thelatest uvcvideo driver from theLinuxTV site.This finally produced a video capture device that workedwith Cheese.

Operation of Cheese is quite straightforward, one can simply runthe application and start clicking photos. A few user interfaceissues were encountered. The Edit->Preferences menu allows oneto select the camera and its resolution, but no audio configurationchoices were given. It was necessary to run thegstreamer-properties application to select the camera's built-inUSB audio device. Sometimes, after a pull-down menu was selected,a gray rectangle was left where the menu used to reside, ontop of the moving video monitor. Sometimes the gray area wouldeventually disappear while other times it was necessary to move themain Cheese window to refresh the video display.

The Effects button is somewhat non-intuitive; when one clicks it,a set of effects is shown. It took a bit of playing around tofigure out that one needs to click Effects again to get back to themain video monitor window. A differently named "Monitor" button wouldbe useful here.When making movies, using resolution above 352x288 resulted in majorlosses of audio samples and jerky video.Both the USB camera's audio input and thesound card's auxiliary input were tried with similar results.The Cheese built-in documentation recommended usinggstreamer-properties to switch the default video output to X11/XShm/Xv,this was tried but the higher-res video was still jerky.A CPU with more muscle would likely improve this situation.

Your author was left with the impression that Cheese and its ancillaryapplications could greatly benefit from the addition of a few extrafeatures. It would be more fun to look at still photos ifEye of Gnome's slideshow capability had the ability to step throughthe stills on a timed interval. It should be noted that it ispossible to export images to F-Spot, which can display a timed slide show.Similarly, Totem could really use some more advanced features such asa pause button with single-frame stepping capabilities.The documentation claims that it is possible to right-click the recordedimage or video thumbnail and fire up a non-default viewer, butyour author was unable to make this work.The video effects are very cool, but there are no audio effects;LV2 comes to mind here.Some of these ideas might make some good 2009 Google Summer of Codeprojects.

Despite encountering a number of bugs and user interfacedifficulties, Cheese is indeed a unique and useful application.Cheese is the first application your author has found that canproduce a working movie from a web cam.At this point, or at least with this hardware configuration, Cheeseis not quite ready for use by non-technical users, nonetheless it isa great application that shows much promise.



to post comments

The long road to a working Cheese

Posted Jan 29, 2009 11:25 UTC (Thu) byfb (guest, #53265) [Link]

Cheese is indeed a lovely application, it turns those webcams bought for VoIP calls into fun toys. All in all I personally find it the most interesting (and well executed) desktop application in... hum, in a while.

The fact that it has been broken into Ubuntu for so long lead me to stop using it though. Its popularity can be seen by the number of duplicates of thebug that has been keeping people from using it.

FWIW I also experience the jerky (i.e. low frame per second) video using it, though that is probably due to problems in the underlying stack, it does impact the experience of it. In any case, I hope cheese's popularity will help gather motivation to improve the whole stack.

The long road to a working Cheese

Posted Jan 30, 2009 4:02 UTC (Fri) bykingdon (guest, #4526) [Link]

I suppose I should play with it more to figure out what works and what doesn't, but I didn't have any trouble using Cheese (as shipped with Fedora 10) on a Sylvania netbook with a built-in webcam to take still photos.

I agree it is a nice application.

The long road to a working Cheese

Posted Feb 1, 2009 14:28 UTC (Sun) bydebacle (subscriber, #7114) [Link]

I would love to use cheesetogether with a VoIP or chat application (ekiga, amsn, ...), for a fun talk. Got angry? Just switch on theHulk effect! Without this "remote" capability, it's not so interesting to me.

The long road to a working Cheese

Posted Feb 1, 2009 16:27 UTC (Sun) byburdicda (guest, #10272) [Link] (1 responses)

What it could really use is user changeable default storage location
everytime I install this thing for someone...I have to download the
source and change it to something that makes sense...not a hidden directory
that no one can find....then recompile it and install....

duh!!!!!!!!!!!!!

burdicda

The long road to a working Cheese

Posted Feb 6, 2009 19:29 UTC (Fri) byandrigtmiller (guest, #53053) [Link]

The version of Cheese that is in Fedora 10 puts photos in the Pictures->Webcam folder in your home directory, and it puts Videos in the Vidoes->Webcam folder in your home directory. No more hidden directory (e.g. .gnome2->Cheese).

The long road to a working Cheese

Posted Feb 9, 2009 12:28 UTC (Mon) bymuwlgr (guest, #35359) [Link]

I would better like something to allow use a digital photo camera as a web cam. I.e. in shooting mode and connected to your host by USB.


Copyright © 2009, Eklektix, Inc.
This article may be redistributed under the terms of theCreative Commons CC BY-SA 4.0 license
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds


[8]ページ先頭

©2009-2025 Movatter.jp