Vgrabbj returns all green image

Bug #364744 reported by Åsmund Hjulstad
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
vgrabbj (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: vgrabbj

Vgrabbj returns an all green image (352x288 pixels). Latest jaunty on a Dell XPS M1330 with built in web camera. AMD64.

$ uname -a
Linux askeladden 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:58:03 UTC 2009 x86_64 GNU/Linux

$ vgrabbj -d /dev/video0 > test2.jpg
Reading image from /dev/video0
There was no map allocated to be freed...

$ lsusb
Bus 002 Device 002: ID 05a9:2640 OmniVision Technologies, Inc.

v4l-info output attached

Revision history for this message
Åsmund Hjulstad (asmund) wrote :
Revision history for this message
tuxo (beat-fasel) wrote :

System: Kubuntu Jaunty 9.04

I can confirm this bug:

vgrabbj -i vga -d /dev/video0 -f test.png
Reading image from /dev/video0
There was no map allocated to be freed...

The result is a green image.

The camera here is a Logitech QuickCam E 3500.

Revision history for this message
tuxo (beat-fasel) wrote :

lsusb returns the following information about the QuickCam E 3500:
Bus 002 Device 007: ID 046d:09a4 Logitech, Inc.

Revision history for this message
tuxo (beat-fasel) wrote :

Just noticed that the webcam tool Cheese works fine with my QuickCam E 3500.

Revision history for this message
tuxo (beat-fasel) wrote :

I found a workaround for this problem. As proposed in http://n2.nabble.com/Opencv-Samples-in-Linux-environment-td2302179.html, this is achieved by preloading v4l1compat:

LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so vgrabbj -d /dev/video0 -f grab.jpg

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

Other bug subscribers

Bug attachments

Remote bug watches

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