Cheese : If two v4l devices exist there is no way to choose the correct one

Bug #137981 reported by Stéphane Marguet
28
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Cheese
Fix Released
Critical
cheese (Baltix)
New
Undecided
Unassigned
cheese (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Binary package hint: cheese

I have two video devices and Cheese connect to my tv card (/dev/video0) instead of my webcam (/dev/video1).

Tags: gutsy
Changed in cheese:
importance: Undecided → High
status: New → Triaged
Changed in cheese:
status: Unknown → Confirmed
Revision history for this message
Aspis (matticala) wrote :

Actually you can: you can select default v4l device from gstreamer-properties. However, you cannote choose between v4l or v4l2 source.

I have a v4l webcam (doesn't work with v4l2, it works with Camorama and GStreamer anyway) and a video capture card (v4l2 compliant), cheese looks just for v4l2 source.

Changed in cheese:
status: Confirmed → Incomplete
Revision history for this message
Ramaddan (ramaddan) wrote :

Same problem here.

I tried to change the default gstreamer video device to /dev/video1, and even tried changing the webcam string in Gconf-editor, but it still refuses to use my Camera, but instead uses my TV tuner /dev/video0

Hope you can point me in the right direction.

I use Ubuntu Gutsy Gibbon (64-bit version)

Revision history for this message
CirclingTheSun (circlingthesun) wrote :

Same happens here

Revision history for this message
Blacknight (michael-blacknight) wrote :

same here and it seems like there is no -d option via terminal either..

Revision history for this message
craigs80 (craigs80) wrote :

I've also got the same problem, running Hardy (64bit), funny thing was it did work ok once until i rebooted, no changes were made in between either.

Revision history for this message
Luis Mondesi (lemsx1) wrote :

I only have one camera and it works fine with other programs.

$> v4l-info

### video4linux device info [/dev/video0] ###
general info
    VIDIOCGCAP
 name : "CPiA Camera"
 type : 0x201 [CAPTURE,SUBCAPTURE]
 channels : 1
 audios : 0
 maxwidth : 352
 maxheight : 288
 minwidth : 48
 minheight : 48

channels
    VIDIOCGCHAN(0)
 channel : 0
 name : "Camera"
 tuners : 0
 flags : 0x0 []
 type : CAMERA
 norm : 0

tuner
ioctl VIDIOCGTUNER: Invalid argument

audio
ioctl VIDIOCGAUDIO: Invalid argument

picture
    VIDIOCGPICT
 brightness : 33792
 hue : 32768
 colour : 32768
 contrast : 32768
 whiteness : 0
 depth : 16
 palette : YUV422

buffer
ioctl VIDIOCGFBUF: Invalid argument

window
    VIDIOCGWIN
 x : 0
 y : 0
 width : 48
 height : 48
 chromakey : 0
 flags : 0

"cheese -v" does not work either... it simply does not output anything

This is on Hardy.

Changed in cheese:
status: Incomplete → Confirmed
Changed in cheese:
status: Confirmed → Fix Released
Revision history for this message
Greg A (etulfetulf) wrote :

This is fixed upstream now, however we must wait for cheese 2.23.5 or higher (currently unstable).

Revision history for this message
Greg A (etulfetulf) wrote :

Cheese 2.23.91-0ubuntu1in Ubuntu Intrepid fixes this.

Changed in cheese:
status: Triaged → Fix Released
Revision history for this message
bro (matthijsbro) wrote :

I'm using intrepid 64-bit on a dell xps 1330 with integrated cam. I'm not getting any working camera with cheese or camorama, it does work with skype though. And it works when gstreamer-properties is testing. So... fix? nope.

Revision history for this message
Billy Lindeman (billylindeman) wrote :

I have a creative live vista im camera using the ov51x_jpeg driver. it is v4l-1 only and it is the only v4l device in the system. works fine with skype, ekiga, it is a little buggy with camorama(driver related issues) and it also works in gstreamer properties.. does not work with cheese (2.24.1) on ubuntu intrepid

Revision history for this message
Tomasz Czapiewski (xeros) wrote :

It doesn't look as fixed in Ubuntu 9.10 (cheese 2.28.1).
I've got both analog tv card (/dev/video0) and webcam (/dev/video1) v4l2 devices and even if I choose my camera in gstreamer-properties (it works fine there) it still doesn't work in cheese.
From the console logs, 'fuser...' and 'lsof' commands it looks like it still tries to access /dev/video0 instead of /dev/video1.

Changed in cheese:
importance: Unknown → Critical
Revision history for this message
LA (radiobuzzer) wrote :

Same on ubuntu 12.04

Revision history for this message
Martin (martin3000) wrote :

Cheese 3.26 claims to have a "-d" option for choosing the device. But it does not work. It always takes video0.

Revision history for this message
Andrew Gerald (co6aka) wrote :

"-d" option still doesn't work even in v3.30 -- it always uses video0.

Revision history for this message
Prasanna Loganathar (pvl) wrote :

Ended up hitting this on my Thinkpad X1. Integrated Camera is always been chosen, and Cheese always seems to reset the settings on each startup even if I change it manually using gsettings.

This is a pretty basic UX high priority bug that's somehow not been payed attention for over a decade since 2007?

Revision history for this message
Prasanna Loganathar (pvl) wrote :

^*Integrated IR Camera always selected as default -- instead of the actual webcam.

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.