Page 1 of 1

Orbit and QuickCam Pro 4000

Posted: Sat Oct 23, 2010 6:53 pm
by daffy_duck530
Need some help in getting my Orbit Cam and QuickCam Pro 4000 working under zoneminder correctly. I'm was able to get both cams working using xawtv, however under zoneminder the picture seems to have only 4 colors or so.

When I perform the following "zmu -d /dev/video0 -q -v" or "zmud -d /dev/video1 -q -v", I receive the following error message.
"Error, failed to query crop capabilities /dev/video(x): Invalid argument" where (x) is the video device.

However, if I append another switch (i.e. -V1) as in "zmu -d /dev/video(x) -q -v -V1" I am able to query both cams settings. Which display a Palette setting of "YUV 4:2:0 Plannar".

Under Zonemider I've tried every combination of palette but the picture only comes out when using Video For Linux 2 and a Palette set to "YUV420" however the picture only has 4 colors or so and is really bad. If I try any other setting for Palette the cams stop working as they show up in red in zoneminder or there is no light on the cam which usually indicates if its activated. I've modified the shared memory value quite a bit which resolved an earlier problem.

One cam is a QuickCam Pro 4000, and the other is a QuickCam Orbit Spere MP and as I said both work find under any other application (i.e. CamStream, xawtv, etc...)

Here is the output for the Orbit Cam from "zmu -d /dev/video -q -v -V1"

Video Device: /dev/video0
Video Capabilities
Name: Logitech QuickCam Orbit
Type: 1
Can capture
Video Channels: 1
Audio Channels: 1
Maximum Width: 640
Maximum Height: 480
Minimum Width: 160
Minimum Height: 120
Window Attributes
X Offset: 0
Y Offset: 0
Width: 320
Height: 240
Picture Attributes
Palette: 15 - YUV 4:2:0 Planar
Colour Depth: 24
Brightness: 32256
Hue: 65535
Colour :32441
Contrast: 32768
Whiteness: 49152
Channel 0 Attributes
Name: Webcam
Channel: 0
Flags: 0
Type: 2 - Camera
Format: 0 - PAL

From the info above I thought I should be using Video For Linux 1 with YUV420P but that doesn't work for me as zoneminder indicates the source device in red an no picture.

Any help would be much appreciated. and I'm running Fedora 13.

solved

Posted: Tue Oct 26, 2010 9:27 pm
by msmith9xr4
see this post where I quote another one with a fix.

http://www.zoneminder.com/forums/viewto ... usb+solved

Posted: Fri Oct 29, 2010 8:24 pm
by daffy_duck530
Thanks, that fixed the problem for both cams.