Video Problems

Support and queries relating to all previous versions of ZoneMinder
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

And you get what from xawtv -hwscan?
r0y
Posts: 17
Joined: Tue Feb 07, 2006 11:58 am

Post by r0y »

From xawtv -hwscan /dev/video0 i get OK, type: v4l2 name: Philips 730 webcam flags : capture...
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post 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 :)
r0y
Posts: 17
Joined: Tue Feb 07, 2006 11:58 am

Post 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...
r0y
Posts: 17
Joined: Tue Feb 07, 2006 11:58 am

Post 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?
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post 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.
Locked