Webcam does not work on myrtille under intrepid

Bug #303741 reported by NicoInattendu
2
Affects Status Importance Assigned to Milestone
Myrtille
Confirmed
High
NicoInattendu

Bug Description

Under intrepid with myrtille 0.5.15, when the webcam acquisition button is pressed. No webcam acquisition is started.
This problem happens with phillips SPC 1030 and imac isight webcam.
The origin of problme ssems to be in the interaction with v4l2src and gstreamer video pipe.

From a terminal command :
gst-launch-0.10 v4l2src ! ffmpegcolorspace ! xvimagesink
works properly

but cheese does not work also and hangs.

---------------------------------------------------------------------------
Logs from myrtille
Error: Could not get/set settings from/on resource. v4l_calls.c(409): gst_v4l_set_chan_norm (): /GstPipeline:pipeline0/GstBin:bin0/GstV4lSrc:v4lsrc0:
Error setting the channel/norm settings: Invalid argument
Error: Could not read from resource. v4lsrc_calls.c(460): gst_v4lsrc_try_capture (): /GstPipeline:pipeline0/GstBin:bin0/GstV4lSrc:v4lsrc0:
Error getting buffer information: Invalid argument
Error: Could not read from resource. v4lsrc_calls.c(460): gst_v4lsrc_try_capture (): /GstPipeline:pipeline0/GstBin:bin0/GstV4lSrc:v4lsrc0:
Error getting buffer information: Invalid argument
Error: Could not read from resource. v4lsrc_calls.c(460): gst_v4lsrc_try_capture (): /GstPipeline:pipeline0/GstBin:bin0/GstV4lSrc:v4lsrc0:
Error getting buffer information: Invalid argument
Error: Could not read from resource. v4lsrc_calls.c(460): gst_v4lsrc_try_capture (): /GstPipeline:pipeline0/GstBin:bin0/GstV4lSrc:v4lsrc0:
Error getting buffer information: Invalid argument
Error: Could not read from resource. v4lsrc_calls.c(460): gst_v4lsrc_try_capture (): /GstPipeline:pipeline0/GstBin:bin0/GstV4lSrc:v4lsrc0:
Error getting buffer information: Invalid argument
Error: Could not read from resource. v4lsrc_calls.c(460): gst_v4lsrc_try_capture (): /GstPipeline:pipeline0/GstBin:bin0/GstV4lSrc:v4lsrc0:
Error getting buffer information: Invalid argument
Error: Could not read from resource. v4lsrc_calls.c(460): gst_v4lsrc_try_capture (): /GstPipeline:pipeline0/GstBin:bin0/GstV4lSrc:v4lsrc0:
Error getting buffer information: Invalid argument
Error: Could not read from resource. v4lsrc_calls.c(460): gst_v4lsrc_try_capture (): /GstPipeline:pipeline0/GstBin:bin0/GstV4lSrc:v4lsrc0:
Error getting buffer information: Invalid argument
Error: Could not read from resource. v4lsrc_calls.c(460): gst_v4lsrc_try_capture (): /GstPipeline:pipeline0/GstBin:bin0/GstV4lSrc:v4lsrc0:
Error getting buffer information: Invalid argument
Error: Could not read from resource. v4lsrc_calls.c(460): gst_v4lsrc_try_capture (): /GstPipeline:pipeline0/GstBin:bin0/GstV4lSrc:v4lsrc0:
Error getting buffer information: Invalid argument
Error: Could not read from resource. v4lsrc_calls.c(460): gst_v4lsrc_try_capture (): /GstPipeline:pipeline0/GstBin:bin0/GstV4lSrc:v4lsrc0:
Error getting buffer information: Invalid argument
Error: The stream is in the wrong format. gstbasesrc.c(2426): gst_base_src_start (): /GstPipeline:pipeline0/GstBin:bin0/GstV4lSrc:v4lsrc0:
Check your filtered caps, if any

Revision history for this message
NicoInattendu (nico-inattendu) wrote :

The behavior of V4l2src in gstreamer is not the same in hardy and intrepid.

Here after some test on Hardy and intrepid with gst-launch and v4ls2src. Fore each command we havae the detail of the command line and the result

The webcam used is a Philips SPC 1030NC

The result shows that when ffmpegcolorspace is used no display is available in Intrepid.

################################
### Philips SPC 1030NC tests on HARDY
################################

### test : no filter without ffmpegcolorspace
### result : display ok
#gst-launch-0.10 v4l2src name=source device =/dev/video0 ! xvimagesink

### test : no filter with ffmpegcolorspace
### result : display ok
#gst-launch-0.10 v4l2src name=source device =/dev/video0 ! ffmpegcolorspace ! xvimagesink

### test : filter video/x-raw-yuv without ffmpegcolorspace
### result : display ok
#gst-launch-0.10 v4l2src name=source device =/dev/video0 ! video/x-raw-yuv , width=640, height=480 ! xvimagesink

### test : filter video/x-raw-yuv without ffmpegcolorspace
### result : display ok
#gst-launch-0.10 v4l2src name=source device =/dev/video0 ! video/x-raw-yuv , width=640, height=480 ! ffmpegcolorspace ! xvimagesink

################################
### Philips SPC 1030NC tests on INTREPID
################################

### test : no filter without ffmpegcolorspace
### result : display ok
#gst-launch-0.10 v4l2src name=source device =/dev/video0 ! xvimagesink

### test : no filter with ffmpegcolorspace
### result : no display
### no error message
#gst-launch-0.10 v4l2src name=source device =/dev/video0 ! ffmpegcolorspace ! xvimagesink

### test : filter video/x-raw-yuv without ffmpegcolorspace
### result : display ok
#gst-launch-0.10 v4l2src name=source device =/dev/video0 ! video/x-raw-yuv , width=640, height=480 ! xvimagesink

### test : filter video/x-raw-yuv without ffmpegcolorspace
### result : no display
### no error message
#gst-launch-0.10 v4l2src name=source device =/dev/video0 ! video/x-raw-yuv , width=640, height=480 ! ffmpegcolorspace ! xvimagesink

Changed in myrtille:
assignee: nobody → nico-inattendu
importance: Undecided → High
status: New → Confirmed
Revision history for this message
NicoInattendu (nico-inattendu) wrote :

According bug #290506 the problem is due to v4l2 interface with gstreamer application of solution : http://ubuntuforums.org/showthread.php?t=966398

allow webcam display.

But for apple iSight the colors are ugly, like red signal saturation , with the Philips SPC 1030NC the display is correct

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.