GNOME Bugzilla – Bug 475424
[v4l2] uvcvideo Macbook iSight webcam not working (regression)
Last modified: 2007-09-11 15:38:59 UTC
Macbook Built-In iSight does no longer work after upgrading Gtreamer. The regression somehow happend during the transition from ugly to good. Testing using simple pipeline "gst-launch v4l2src ! ffmpegcolorspace ! ximagesink" In 0.10.5, the camera did only work with "gst-launch v4l2src ! video/x-raw-yuv,format=\(fourcc\)UYVY,width=320,height=240,framerate=30/1 ! ffmpegcolorspace ! ximagesink". Setting a higher resolution such as 640x480, which worked before, simply fails. In 0.10.6, there is no way to get it working. "ERROR: from element /pipeline0/v4l2src0: Could not negotiate format" In CVS, it endless loops with a critical "(gst-launch-0.10:7147): GStreamer-CRITICAL **: gst_value_set_fraction: assertion `denominator != 0' failed" Attaching debug logs of 0.10.6 and CVS. Mind that the cam works with ffmpeg recording and mplayer.
Created attachment 95272 [details] gst-plugins-good 0.10.6 debug log GST_DEBUG=*v4l*:5
Created attachment 95273 [details] gst-plugins-good CVS debug log NOTE: Last 3 messages (starting with the CRITICAL) repeat endlessly thus the log was cut! GST_DEBUG=*v4l*:5
I believe this is fixed in CVS. *** This bug has been marked as a duplicate of 471823 ***
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_probe_caps_for_format_and_size): Fix framerate detection code some more. Handle the case where there is a weird step in the stepwise framerates. Don't overwrite the min interval with the framerate, use a temp variable instead. Use max in the Continuous framerate intervals instead of step, which is 1 according to the docs. Fixes #475424.