isight does not work in ubuntu gutsy - Video for Linux 2 (v4l2): Could not get buffers from device '/dev/video0'.

Bug #131222 reported by pliz
22
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gstreamer plugins
Expired
Medium
gst-plugins-good0.10 (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

I am running the latest update of gutsy. Ekiga shows only top fourth of the camera output. Although each time I restart it it gets the static picture - and only that top fourth is live video. Gstreamer-properties gives me the following message when I run video capture test:
Video for Linux 2 (v4l2): Could not get buffers from device '/dev/video0'.

Revision history for this message
JulienM (julien-maillard) wrote :

I had the same problem on MacBook Pro rev3 and built-in isight with ekiga. I have updated pwlib_1.10.7 to 1.10.9 and that solved the problem.

Revision history for this message
JulienM (julien-maillard) wrote :

For gstreamer i found interesting bug report: http://bugzilla.gnome.org/show_bug.cgi?id=467214. This bug has been fixed in gstreamer.
We just need to wait an update of gst-plugins-good package.

Revision history for this message
pliz (pliz) wrote :

JulienM, thanks for the info. Hopefully this is all gets into the distribution by the time gutsy is out

Revision history for this message
Daniele Dellafiore (ildella) wrote :

I can report behavior on my MBP, gutsy up to date.
In Ekiga the webcam works. But I have some cases in which it does not.

# gst-launch-0.10 v4l2src queue-size=2 ! ffmpegcolorspace ! xvimagesink
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /pipeline0/v4l2src0: Could not negotiate format
Additional debug info:
gstbasesrc.c(2062): gst_base_src_start (): /pipeline0/v4l2src0:
Check your filtered caps, if any
Setting pipeline to NULL ...
FREEING pipeline ...

and...

# mencoder tv:// -tv driver=v4l2:width=320:height=240:device=/dev/video0 -ovc lavc -o webcam.avi
MEncoder 2:1.0~rc1-0ubuntu11 (C) 2000-2006 MPlayer Team
CPU: Genuine Intel(R) CPU 1500 @ 2.00GHz (Family: 6, Model: 14, Stepping: 8)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
success: format: 9 data: 0x0 - 0x0
TV file format detected.
Selected driver: v4l2
 name: Video 4 Linux 2 input
 author: Martin Olschewski <email address hidden>
 comment: first try, more to come ;-)
v4l2: ioctl get standard failed: Invalid argument
Selected device: Built-in iSight
 Capabilites: video capture streaming
 supported norms:
 inputs: 0 = Camera;
 Current input: 0
 Current format: UYVY
v4l2: ioctl set format failed: Device or resource busy
v4l2: ioctl set mute failed: Invalid argument
v4l2: 0 frames successfully processed, 0 frames dropped.
Segmentation fault (core dumped)

finally (maybe this is right...)

#cat /dev/video0
cat: /dev/video0: No such device

Revision history for this message
pliz (pliz) wrote :

It works on the latest gutsy update on my Mac Book Pro v3. May be the bug should be closed?

Revision history for this message
Gabriele Tassoni (gabriele-tassoni) wrote :

No, it's still not working properly, gutsy updated as of today, gstreamer just can test the isight webcam at 320x240 resolution, program gstreamer based like cheese, that default to 640x480, and the gstreamer itself when launched at 640x480 (gst-launch-0.10 v4l2src ! video/x-raw-yuv,format=\(fourcc\)UYVY,width=640,height=480 ! ffmpegcolorspace ! ximagesink) still freeze, so this bug is not to be closed, imho.

Revision history for this message
Michael Z. Krog (mic-apaq) wrote :

I also have the problem on my macbook.

The following just seems to run but never shows a window:
gst-launch-0.10 v4l2src ! video/x-raw-yuv,format=\(fourcc\)UYVY,width=640,height=480 ! ffmpegcolorspace ! ximagesink

The following works:
gst-launch-0.10 v4l2src ! video/x-raw-yuv,format=\(fourcc\)UYVY,width=320,height=240 ! ffmpegcolorspace ! ximagesink

Has updated to latest gutsy at 2007-11-24

Revision history for this message
Ali Sabil (asabil) wrote :

still not fixed with a macbook 1st gen

Revision history for this message
Sense Egbert Hofstede (sense) wrote :

This bug can be confirmed since it's being worked upon upstream. I'm adding the upstream bug reports to launchpad's bug watch.

Changed in gst-plugins:
status: Unknown → Invalid
Revision history for this message
marcowave (marcowave) wrote :

same problem here with a macbookpro core duo 1st gen...

is there a way to set default resolution for cheese and skype to 320x240?

Changed in gst-plugins:
importance: Unknown → Medium
status: Invalid → Expired
Revision history for this message
Lennart Regebro (regebro-gmail) wrote :

This problem has re-appeared in 11.10. A way to set the default format for gstreamer would solve it.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.