Page 2 of 2

Posted: Sun Feb 12, 2006 10:33 am
by cordel
And you get what from xawtv -hwscan?

Posted: Mon Feb 13, 2006 2:14 pm
by r0y
From xawtv -hwscan /dev/video0 i get OK, type: v4l2 name: Philips 730 webcam flags : capture...

Posted: Mon Feb 13, 2006 10:21 pm
by cordel
Try to get a jpeg snapshot through xawtv (this is the method that ZM uses) and see if that returns an image. If you are able to get a image, check the attibutes of the image and set ZM to match. If you can't get a snapshot then you might have to compile a custom kernel to support the webcam:
http://www.zoneminder.com/forums/viewtopic.php?t=4368

I don't use webcams so I really can't be of much help. I guess I'll need to pick one up so that I can learn :)

Posted: Mon Feb 13, 2006 11:19 pm
by r0y
Ok i captured a jpeg from xawtv and the size was 640x480 i configured it in zm and started it again...

Feb 14 00:06:18 surveilance zmdc[11029]: INF [Starting pending process, zmc -d /dev/video0]
Feb 14 00:06:18 surveilance zmc_dvideo0[32541]: INF [Debug Level = 0, Debug Log = <none>]
Feb 14 00:06:18 surveilance zmdc[32541]: INF ['zmc -d /dev/video0' started at 06/02/14 00:06:18]
Feb 14 00:06:18 surveilance zmdc[11029]: INF ['zmc -d /dev/video0' starting at 06/02/14 00:06:18, pid = 32541]
Feb 14 00:06:18 surveilance zmc_dvideo0[32541]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
Feb 14 00:06:18 surveilance zmdc[11029]: ERR ['zmc -d /dev/video0' crashed, exit status 255]
still problems...

Posted: Mon Feb 13, 2006 11:23 pm
by r0y
i forgot to adjust the memory in sysctl.conf after i did that i got this:

Feb 14 00:21:52 surveilance zmdc[32691]: INF ['zmc -d /dev/video0' started at 06/02/14 00:21:52]
Feb 14 00:21:52 surveilance zmdc[32637]: INF ['zmc -d /dev/video0' starting at 06/02/14 00:21:52, pid = 32691]
Feb 14 00:21:52 surveilance zmdc[32637]: INF ['zmc -d /dev/video0' died, signal 10]

Whats signal 10?

Posted: Mon Feb 13, 2006 11:31 pm
by cordel
Check some of your other logs and you should find something more informative. Also you might try unchecking ZM_STRICT_VIDEO_CONFIG in the options panel under the Config tab.