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 475559 - Cheese actions are slow
Cheese actions are slow
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.10.x
Other All
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 476830 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-09-10 18:41 UTC by Elrik
Modified: 2011-05-17 08:11 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Elrik 2007-09-10 18:41:04 UTC
Please describe the problem:
Every time I want to do an action (add a effect, change photo to video), Cheese take one minute to do the change. CPU is 0%, disk is 0%, net is 0%...
Everything else works, photo, video with XV, ...



Steps to reproduce:
I've a TV card and a Webcam. Is this the problem ?

Actual results:
see output

Expected results:
less than a few seconds for change

Does this happen every time?
yes

Other information:
$> cheese
appending /home/elrik/.gnome2/cheese/images/Picture01.jpg to thumbnail row
appending /home/elrik/.gnome2/cheese/images/Picture02.jpg to thumbnail row
appending /home/elrik/.gnome2/cheese/images/Picture03.jpg to thumbnail row
appending /home/elrik/.gnome2/cheese/images/Picture04.jpg to thumbnail row
appending /home/elrik/.gnome2/cheese/images/Picture05.jpg to thumbnail row
appending /home/elrik/.gnome2/cheese/images/Picture06.jpg to thumbnail row
appending /home/elrik/.gnome2/cheese/images/Picture07.jpg to thumbnail row
appending /home/elrik/.gnome2/cheese/images/Picture08.jpg to thumbnail row
creating thumbnail for /home/elrik/.gnome2/cheese/videos/Video01.ogg (application/ogg)
totem-video-thumbnailer couln't open file 'file:///home/elrik/.gnome2/cheese/videos/Video01.ogg'
Reason: The file you tried to play is an empty file..

** (cheese:4641): WARNING **: could not load /home/elrik/.gnome2/cheese/videos/Video01.ogg (application/ogg)

appending /home/elrik/.gnome2/cheese/videos/Video02.ogg to thumbnail row
appending /home/elrik/.gnome2/cheese/videos/Video03.ogg to thumbnail row
appending /home/elrik/.gnome2/cheese/videos/Video04.ogg to thumbnail row
appending /home/elrik/.gnome2/cheese/videos/Video05.ogg to thumbnail row
** Message: Probing the webcam, please ignore the following, not applicabable tries
** Message: Error running pipeline 'v4l2src ! fakesink': Could not negotiate format [gstbasesrc.c(2062): gst_base_src_start (): /pipeline0/v4l2src0:
Check your filtered caps, if any]
** Message: test pipeline for v4l2src failed:
[v4l2src ! fakesink]: Could not negotiate format
** Message: Error running pipeline 'v4lsrc ! video/x-raw-rgb,width=640,height=480 ! fakesink': Could not negotiate format [gstbasesrc.c(2062): gst_base_src_start (): /pipeline1/v4lsrc0:
Check your filtered caps, if any]
** Message: test pipeline for v4lsrc failed:
[v4lsrc ! video/x-raw-rgb,width=640,height=480 ! fakesink]: Could not negotiate format
using photo source: v4lsrc ! video/x-raw-yuv,width=640,height=480 ! ffmpegcolorspace

===> 30 seconds (window freezed, 0% CPU, 0% disc)

using video source: v4lsrc ! video/x-raw-yuv,width=320,height=240 ! ffmpegcolorspace

===> 30 seconds (window freezed, 0% CPU, 0% disc)

changing to video-mode
===> 30 seconds (window freezed, 0% CPU, 0% disc)

changing to photo-mode
===> 30 seconds (window freezed, 0% CPU, 0% disc)

changing to video-mode
===> 30 seconds (window freezed, 0% CPU, 0% disc)

changing to photo-mode
===> 30 seconds (window freezed, 0% CPU, 0% disc)
Comment 1 Travis Reitter 2007-09-18 04:22:58 UTC
I have the same problem - I'm using Xv, and my CPU isn't being used much at all, so that's not the bottleneck.

I get the same "could not negotiate format" errors as Elrik.

My webcam is a Logitech Quickcam 4000. In Ekiga, the video isn't very quick either, so that could just be the webcam. But it does take about 30 seconds to launch, change the effects, etc.
Comment 2 Elrik 2007-09-21 14:55:39 UTC
I omited to say that my webcam is a Philips PCVC740K ToUcam Pro.
Comment 3 daniel g. siegel 2007-09-21 15:03:37 UTC
i suppose you guys have a v4l-device?
Comment 4 Travis Reitter 2007-09-21 15:54:51 UTC
Right - it's using v4l. In Ekiga, I was using v4l2, and it seemed to work. I forced v4l2 in the Gstreamer settings, but it didn't seem to change anything over the autodetection.
Comment 5 daniel g. siegel 2007-10-01 20:28:04 UTC
*** Bug 476830 has been marked as a duplicate of this bug. ***
Comment 6 Stefan Sauer (gstreamer, gtkdoc dev) 2011-03-27 19:45:02 UTC
Why is this filed against plugins-base? Anyway in oder to process someone should make a gstreamer log and attach here:
  GST_DEBUG="*:4" GST_DEBUG_NO_COLOR=1 cheese 2>debug.log
Compress the log if needed.
Comment 7 Sebastian Dröge (slomo) 2011-05-17 08:11:02 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!