Ubuntu

camorama crash with message "unable to capture image"

Reported by Tyzef on 2009-03-29
58
This bug affects 11 people
Affects Status Importance Assigned to Milestone
camorama (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: camorama

When i start camorama there's a message :
"unable to capture image".
I can see a picture from my webcam,
 divided
 in three part and with no color.
When i close the message, camorama shut down itself.

the prompt in the console is :
"Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
"

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 8.10
NonfreeKernelModules: nvidia
Package: camorama 0.19-2
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
SourcePackage: camorama
Uname: Linux 2.6.27-11-generic i686

Tyzef (tyzef) wrote :
zasq (zasq) wrote :

Hi!
Same here. The Camera works with skype and cheese, but not with camorama. Here's the --debug output: (BTW: what does "tip - acap off" mean?)

VIDIOCGCAP
device name = USB Camera (046d:08d7)
device type = 1
can use mmap()
# of channels = 1
# of audio devices = 0
max width = 640
max height = 480
min width = 48
min height = 32

VIDIOCGWIN
x = 0
y = 0
width = 320
height = 240
chromakey = 0
flags = 0

VIDIOCGWIN
x = 0
y = 0
width = 320
height = 240
chromakey = 0
flags = 0

VIDIOCGPICT:
bright = 32896
hue = 0
colour = 0
contrast = 32768
whiteness = 39321
colour depth = 8

VIDIOCGMBUF
mb.size = 475136
mb.frames = 4
mb.offset = 118784
update_tooltip called
tip - acap off
** Message: SET PIC
** Message: SET PIC
** Message: SET PIC
update_tooltip called
tip - acap off
Unable to capture image (VIDIOCSYNC)

Any solution?
Thanks.

zasq (zasq) wrote :

Two months passed by. I just installed the newer kernel (2.6.28-13-generic) and the problem persists. If I can provide more information to help to solve this, please let me know.

fossfreedom (fossfreedom) wrote :

same here - not working in Karmic - my webcam does work with skype and xawtv

lsusb : Bus 004 Device 002: ID 0471:032d Philips SPC 210NC PC Camera

cheese only shows static image but is able to capture a video...

lsmod | grep gspca
gspca_zc3xx 47580 0
gspca_main 22812 1 gspca_zc3xx
videodev 36736 1 gspca_main

pepitux (alarga) wrote :

too me.....

I have to Karmic Koala

$ uname -r
2.6.31-14-generic

$ lsmod | grep gspca
gspca_spca561 11264 0
gspca_main 26816 1 gspca_spca561
videodev 43360 1 gspca_main

$ lsusb
Bus 002 Device 003: ID 046d:092e Logitech, Inc. QuickCam Chat

$ camorama

(camorama:13144): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

Victor Pelagatti (vpelagatti) wrote :

me too!!

lsusb
Bus 003 Device 002: ID 093a:2471 Pixart Imaging, Inc. SoC PC-Camera

lsmod | grep gspca

gspca_pac207 6588 0
gspca_main 22812 1 gspca_pac207
videodev 36736 1 gspca_main

camorama
(camorama:11029): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

zasq (zasq) wrote :

After updating to karmic, the problem persists. The debugging info is slightly different - the process stops earlier, the message is the same (unable to capture...):

$ camorama --debug

VIDIOCGCAP
device name = UVC Camera (046d:09a1)
device type = 1
can use mmap()
# of channels = 1
# of audio devices = 0
max width = 960
max height = 720
min width = 48
min height = 32

VIDIOCGWIN
x = 0
y = 0
width = 352
height = 288
chromakey = 0
flags = 0

VIDIOCGWIN
x = 0
y = 0
width = 352
height = 288
chromakey = 0
flags = 0

VIDIOCGPICT:
bright = 37008
hue = 0
colour = 7196
contrast = 6939
whiteness = 0
colour depth = 0
VIDIOCGMBF -- could not set buffer info, exiting...

adonet (jeroen-adolfse) wrote :

same here, except also no capture in Skype

same here:

Linux a001 2.6.31-20-generic #58-Ubuntu SMP

(camorama:2597): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
update_tooltip called
tip - acap off
** Message: SET PIC
** Message: SET PIC
** Message: SET PIC
update_tooltip called
tip - acap off
Unable to capture image (VIDIOCSYNC)

and no capture in skype

Predrag (martincom) wrote :

same on Ubuntu 10.04

lsusb
Bus 003 Device 002: ID 093a:2471 Pixart Imaging, Inc. SoC PC-Camera
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

(camorama:1713): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

Predrag (martincom) wrote :

I found solution , type in terminal

Code:
# export LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so
# camorama

Nicolas Boulesteix (noxx-free) wrote :

I test the solution above, and if effectively camorama launch successfully, the image of the webcam output seems corrupted (grayed, and partly repeated picture on the side)

YannUbuntu (yannubuntu) wrote :

same bug for me on Ubuntu 10.04 , Camorama 0.19, webcam (ID 046d:08a0 Logitech, Inc. QuickCam IM)

The following command also works for me :
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so camorama
but gives me strange colors.

Note : this webcam is recognized out-of-the-box by GVCView, and by Cheese (after reducing resolution in Preferences).

Michael Moroni (airon90) wrote :

Same on Ubuntu 12.04 in development

papiaud (papiaud) wrote :

hello,
I am on ubuntu 11.04
I can start camorama, it is OK but when I click on take a picture, nothing happens
I tried to try the solution proposed :
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so camorama, and I got the grey picture as said above plus the window "unable to take a picture" (that I did not get before , but before camorama did nothing when clicking take a picture)
BUT in the terminal after starting the command "LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so camorama" I get the error :
(camorama:8137): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
libv4l2: error reading: Argument invalide
Then I installed cheese (thanks zasq (zasq) ) which is working!
I am sad to see that since 2009 no solution was found, because before I was just using camorama to check my webcam, and today I have seen that there is a take a picture button and tried it! (OK it is easy to say that because I know nothing about ubuntu but using it)
Coul I get an answer? Thanks
Regards

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

Other bug subscribers