Bug 797188
Summary: | 10-90 seconds delay before showing video | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Carl-Johan Kjellander <carljohan> |
Component: | cheese | Assignee: | Matthias Clasen <mclasen> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 16 | CC: | agajania, hdegoede, joachim.backes, mclasen, rc556677 |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-06-10 23:57:32 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Carl-Johan Kjellander
2012-02-24 13:47:47 UTC
Having similar problems in F17 (cheese-3.3.92-1.fc17.x86_64), only 1 difference: after consuming about 45 secs full CPU time by cheese, the video appears on my screen, that means, no endless loop! On the other hand, "mplayer tv:// -tv device=/dev/video0" shows the video immediately! (In reply to comment #0) > Description of problem: > I'm trying to record video with cheese at default setting with > a Creative Live Cam Socialize HD 1080. But it just goes into an > infinite loop when you try to record. > > Trying to record in F17: A test shows the same behaviour as you described for the F16 version: infinite loop, nothing other (my webcam is connected before cheese is started). Hi, Does the video preview work? IOW do you get normal video when not pressing record, but just watching the video live? Regards, Hans (In reply to comment #2) > (In reply to comment #0) > > Description of problem: > > I'm trying to record video with cheese at default setting with > > a Creative Live Cam Socialize HD 1080. But it just goes into an > > infinite loop when you try to record. > > > > > Trying to record in F17: A test shows the same behaviour as you described > for the F16 version: infinite loop, nothing other (my webcam is connected > before cheese is started). I simply do: cheese -d /dev/video0 Hi, (In reply to comment #4) > (In reply to comment #2) > > (In reply to comment #0) > > > Description of problem: > > > I'm trying to record video with cheese at default setting with > > > a Creative Live Cam Socialize HD 1080. But it just goes into an > > > infinite loop when you try to record. > > > > > > > > Trying to record in F17: A test shows the same behaviour as you described > > for the F16 version: infinite loop, nothing other (my webcam is connected > > before cheese is started). > > I simply do: cheese -d /dev/video0 Ok, and your problem is the 45 second delay on startup, right? After that the video is shown as expected? This likely is a g_application_register timeout. Are you running cheese under gnome, or under another desktop environment ? Also have you installed all recent Fedora-17 updates? (In reply to comment #5) > Hi, > > (In reply to comment #4) > > (In reply to comment #2) > > > (In reply to comment #0) > > > > Description of problem: > > > > I'm trying to record video with cheese at default setting with > > > > a Creative Live Cam Socialize HD 1080. But it just goes into an > > > > infinite loop when you try to record. > > > > > > > > > > > Trying to record in F17: A test shows the same behaviour as you described > > > for the F16 version: infinite loop, nothing other (my webcam is connected > > > before cheese is started). > > > > I simply do: cheese -d /dev/video0 > > Ok, and your problem is the 45 second delay on startup, right? After that > the video is shown as expected? > This likely is a g_application_register timeout. Are you running cheese > under gnome, or under another desktop environment ? > > Also have you installed all recent Fedora-17 updates? 1. The problem is indeed the very long delay at startup; after this delay, the webcam video is shown as expected 2. system is up to date 3. I'm running cheese under gnome (more exactly, gnome-3) I've prepared a gstreamer-plugins-good update for Fedora-17, which *may* fix this issue, please give it a try. Note I've also done a new cheese build fixing some (likely) unrelated issues. When testing please get both the updated cheese and the updated gstreamer-plugins-good. Download the rpms for your architecture here (for cheese you also need to download cheese-libs): http://koji.fedoraproject.org/koji/buildinfo?buildID=322301 http://koji.fedoraproject.org/koji/buildinfo?buildID=322308 And then run as root: rpm -Uvh *.rpm (In reply to comment #7) > I've prepared a gstreamer-plugins-good update for Fedora-17, which *may* fix > this issue, please give it a try. Note I've also done a new cheese build > fixing some (likely) unrelated issues. When testing please get both the > updated cheese and the updated gstreamer-plugins-good. Download the rpms for > your architecture here (for cheese you also need to download cheese-libs): > http://koji.fedoraproject.org/koji/buildinfo?buildID=322301 > http://koji.fedoraproject.org/koji/buildinfo?buildID=322308 > > And then run as root: > rpm -Uvh *.rpm I installed cheese-3.4.2-2.fc17.x86_64.rpm cheese-libs-3.4.2-2.fc17.x86_64.rpm gstreamer-plugins-good-0.10.31-2.fc17.x86_64.rpm but there is still a delay of almost 1 minute until cheese shows the webcam video, and it still consumes a lot of CPU time until the webcam video is shown. So my impression: the bug is not fixed :-( Joachim, Do you have any files under: ~/Videos/Webcam, and if you do could you try moving them to some other place (or removing them altogether) ? Regards, Hans (In reply to comment #9) > Joachim, > > Do you have any files under: ~/Videos/Webcam, and if you do could you try > moving them to some other place (or removing them altogether) ? > > Regards, > > Hans Hans, 1. There is no ~/Videos directory 2. There is a ~/Webcam directory including some .jpg files which I removed now. But there is no change in the cheese behaviour after having removed the .jpg's: Still I see an initial cheese delay with consuming a lot of CPU. As you all have noticed, I've been working a lot on fixing cheese / gstreamer bugs the last few days, unfortunately the various bugs about cheese all contain comments about various different issues, so in order to sort things out, I'm going to update the summary of various bugs, to make clear which bug is about what. Pease only add comments to bugs if the bug matches the problem you are having! If none of the below bugs match your issue, please file a new bug! Here is a list of all bugs I'm actively working on, or which are on my todo list: bug 797188 10-90 seconds delay before showing video bug 810429 Cheese crashes on machines with radio/tv devices bug 815134 Cheese not working with webcam on Thinkpad x120e / x121e bug 815581 Could not map/get buffers from device '/dev/video0' errors when trying to record bug 820959 Crash when selecting effects, followed by starting recording or switching resolution bug 829957 Recorded pictures and videos do not appear in area at bottom of Cheese window bug 830166 Long starup delay when 0 sized filed exist under Videos/Webcam gstreamer-plugins-bad-free-0.10.23-6.fc17,gstreamer-plugins-good-0.10.31-3.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/gstreamer-plugins-bad-free-0.10.23-6.fc17,gstreamer-plugins-good-0.10.31-3.fc17 I've prepared a gstreamer-plugins-good and gstreamer-plugins-bad-free updates for Fedora-17, which should fix the delay at startup and when switching resolutions, please give them a try. Download the rpms for your architecture here: http://koji.fedoraproject.org/koji/buildinfo?buildID=323174 http://koji.fedoraproject.org/koji/buildinfo?buildID=323190 And then run as root: rpm -Uvh *.rpm I can confirm that 45s delay is fixed with the latest two gstreamer updates 1. webcam window appears immediately 2. no GTK warnings at the CLI Thank you!! Package gstreamer-plugins-bad-free-0.10.23-6.fc17, gstreamer-plugins-good-0.10.31-3.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing gstreamer-plugins-bad-free-0.10.23-6.fc17 gstreamer-plugins-good-0.10.31-3.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-9182/gstreamer-plugins-bad-free-0.10.23-6.fc17,gstreamer-plugins-good-0.10.31-3.fc17 then log in and leave karma (feedback). gstreamer-plugins-bad-free-0.10.23-6.fc17, gstreamer-plugins-good-0.10.31-3.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. |