ZM wont work with my webcam

Support and queries relating to all previous versions of ZoneMinder
Locked
hacker.goodboy
Posts: 2
Joined: Fri Feb 19, 2010 5:40 pm
Location: India

ZM wont work with my webcam

Post by hacker.goodboy »

I use Ubuntu 8.04 Desktop. I installed ZM using "apt-get" without any issues.

My "sudo zmu -d /dev/video1 -q -v" displayed this....

Video Capabilities
Name: OV519 USB Camera
Type: 513
Can capture
Can capture subareas of the image
Video Channels: 1
Audio Channels: 0
Maximum Width: 640
Maximum Height: 480
Minimum Width: 64
Minimum Height: 48
Window Attributes
X Offset: 0
Y Offset: 0
Width: 640
Height: 480
Picture Attributes
Palette: 10 - YUV420
Colour Depth: 12
Brightness: 32768
Hue: 40960
Colour :32768
Contrast: 31744
Whiteness: 26880
Channel 0 Attributes
Name: Camera
Channel: 0
Flags: 0
Type: 2 - Camera
Format: 0 - PAL

I created a Monitor with the following settings

General
Name MyWebCam
Source Type Local
Function Monitor
Max FPS 5.00
Ref Img Blend % 7

Source
Device Path /dev/video1
Device Channel 0
Device Format PAL
Device Palette YUV420P
Capture Width 640
Capture Height 480

What I get is(when i click on the MyWebCam link in the console) is a large window with links and an empty picturebox which i suppose should be filled with the video from my cam..

I check my cam using xawtv using "xawtv -c /dev/video1". it gave me

This is xawtv-3.95.dfsg.1, running on Linux/i686 (2.6.24-27-generic)
xinerama 0: 1024x768+0+0
/dev/video1 [v4l]: no overlay support
v4l-conf had some trouble, trying to continue anyway
Warning: Cannot convert string "-*-ledfixed-medium-r-*--39-*-*-*-c-*-*-*" to type FontStruct
ioctl: VIDIOCMCAPTURE(frame=0;height=48;width=64;format=5): Invalid argument
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 2 (X_ChangeWindowAttributes)
Resource id in failed request: 0x320006b
Serial number of failed request: 807
Current serial number in output stream: 807

I've been tweaking this a lot but in vain.... Please help me. Thanks in advance.

Hacker Goodboy
Locked