GNOME Bugzilla – Bug 475559
Cheese actions are slow
Last modified: 2011-05-17 08:11:02 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)
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.
I omited to say that my webcam is a Philips PCVC740K ToUcam Pro.
i suppose you guys have a v4l-device?
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.
*** Bug 476830 has been marked as a duplicate of this bug. ***
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.
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!