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 486250 - [v4l2src] fails to initialize webcam first time after boot
[v4l2src] fails to initialize webcam first time after boot
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
0.10.12
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-10-13 07:11 UTC by Filip Palm
Modified: 2011-08-11 12:50 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Debug log from Ubuntu 7.04. (486.85 KB, text/plain)
2007-10-13 20:31 UTC, Filip Palm
Details

Description Filip Palm 2007-10-13 07:11:57 UTC
When Gstreamer tries to initialize my webcam for the first time after a reboot it fails. I need to try one more time to get a picture.

gstreamer-properties:
1. Press "Test".
2. Fails with message that it could not make a test pipeline.
3. Press "Test" again, success!

1. Start cheese.
2. Fails with message that it could not find any webcam.
3. Start cheese again, success!

Other information:
Ubuntu 7.04 and Gstreamer 0.10.12
Comment 1 Tim-Philipp Müller 2007-10-13 14:04:07 UTC
Could you run gstreamer-properties like this:

 $ GST_DEBUG=*:5  gstreamer-properties 2>dbg.log
 ... make it fail ...
 ... try again and make it succeed ...
 Quit or interrupt with Control-C
 $ gzip dbg.log

and attach the dbg.log.gz file?

Also, if you have a gutsy installation already: does it work with gutsy?
Comment 2 Filip Palm 2007-10-13 20:31:06 UTC
Created attachment 97185 [details]
Debug log from Ubuntu 7.04.
Comment 3 Filip Palm 2007-10-13 20:31:45 UTC
It's the same problem with both versions of Ubuntu.
Comment 4 Wim Taymans 2008-11-11 14:41:09 UTC
apparently grabbing the first picture takes 16 (!) seconds, which makes the test program time out. 
Comment 5 Bastien Nocera 2008-11-11 15:00:31 UTC
What device is that with? The kernel driver might be a bit broken...
Comment 6 Fabio Durán Verdugo 2011-06-28 23:43:16 UTC
Filip can you reply the comment 5 ?
Comment 7 Akhil Laddha 2011-08-11 12:50:18 UTC
Please feel free to reopen this bug if the problem still occurs with a newer version of GStreamer Core 0.10.35, Base Plugins 0.10.35, Good Plugins 0.10.30 stable release, tia.