Hello,
I've installed ZoneMinder 1.24.2 from source on Debian 5.0.2 lenny with kernel 2.6.26 and using Logitech Quickcam Communicate Deluxe (S 7500)
debian:/tmp# lsusb
Bus 003 Device 006: ID 046d:09a2 Logitech, Inc.
Here's my main concern:
debian:/home/dave# zmu -d /dev/video0 -q -v
Error, failed to query crop /dev/video0: Invalid argument
debian:/home/dave# zmu -d /dev/video0 -V1 -q -v
Error, failed to get channel 0 attributes: Invalid argument
I've seen these errors on this board and have done the suggestions, but the errors persists.
debian:/# ls -l /dev/vid*
crw-rw-rw- 1 root video 81, 0 2009-08-15 23:34 /dev/video0
debian:/# ls -l /usr/local/bin/zmfix
-rwsr-xr-x 1 root staff 146925 2009-08-15 11:14 /usr/local/bin/zmfix
I can't get Zoneminder to show images while in Monitor mode (monitor and camera is orange), but in Modect mode the monitor and camera will turn green and download events as jpg's.
I can get this camera to work with xawtv and skype. Xawtv will not work for a second time without passing it -nodga. hmmm... something is not giving up the camera when finished? or it's leaving in a funky state.
Checked shared memory for zoneminder and it's releasing all memory. So no leaks.
When I put zoneminder in monitor mode (monitor and camera is orange) the syslog looks like this:
debian:/home/dave# tail -f /var/log/syslog
Aug 16 12:39:36 debian zmc_dvideo0[4974]: INF [Monitor-1: 2000 - Capturing at 14.93 fps]
Aug 16 12:40:43 debian zmc_dvideo0[4974]: INF [Monitor-1: 3000 - Capturing at 14.93 fps]
Aug 16 12:41:49 debian zmc_dvideo0[4974]: INF [Monitor-1: 4000 - Capturing at 15.15 fps]
Aug 16 12:42:56 debian zmc_dvideo0[4974]: INF [Monitor-1: 5000 - Capturing at 14.93 fps]
Aug 16 12:44:03 debian zmc_dvideo0[4974]: INF [Monitor-1: 6000 - Capturing at 14.93 fps]
Aug 16 12:45:09 debian zmc_dvideo0[4974]: INF [Monitor-1: 7000 - Capturing at 15.15 fps]
Aug 16 12:46:16 debian zmc_dvideo0[4974]: INF [Monitor-1: 8000 - Capturing at 14.93 fps]
Aug 16 12:47:22 debian zmc_dvideo0[4974]: INF [Monitor-1: 9000 - Capturing at 15.15 fps]
Aug 16 12:48:29 debian zmc_dvideo0[4974]: INF [Monitor-1: 10000 - Capturing at 14.93 fps]
Aug 16 12:49:36 debian zmc_dvideo0[4974]: INF [Monitor-1: 11000 - Capturing at 14.93 fps]
Aug 16 12:50:14 debian zmpkg[5038]: INF [Command: stop]
Aug 16 12:50:15 debian zmdc[4952]: INF ['zmfilter.pl ' stopping at 09/08/16 12:50:15]
Aug 16 12:50:15 debian zmdc[4952]: INF ['zmfilter.pl ' exited, signal 14]
Aug 16 12:50:15 debian zmdc[4952]: INF ['zmwatch.pl ' stopping at 09/08/16 12:50:15]
Aug 16 12:50:15 debian zmdc[4952]: INF ['zmwatch.pl ' exited, signal 14]
Aug 16 12:50:15 debian zmdc[4952]: INF ['zmupdate.pl -c' stopping at 09/08/16 12:50:15]
Aug 16 12:50:15 debian zmdc[4952]: INF ['zmupdate.pl -c' exited, signal 14]
Aug 16 12:50:15 debian zmdc[4952]: INF ['zmaudit.pl -c' stopping at 09/08/16 12:50:15]
Aug 16 12:50:15 debian zmdc[4952]: INF ['zmaudit.pl -c' exited, signal 14]
Aug 16 12:50:15 debian zmdc[4952]: INF ['zmc -d /dev/video0' stopping at 09/08/16 12:50:15]
Aug 16 12:50:15 debian zmc_dvideo0[4974]: INF [Got signal 15 (Terminated), exiting]
Aug 16 12:50:15 debian zmdc[4952]: INF ['zmc -d /dev/video0' exited normally]
Aug 16 12:50:25 debian zmdc[4952]: INF [Server shutdown at 09/08/16 12:50:25]
Well.... that log looks good to me... and looks like zoneminder is working in monitor mode. Why can't I see the image in zoneminder. (monitor screen is totally white).
There are no errors in the zmdc.log, zm_debug.log, zmwatch.log, zmpkg.log, mysql.log, apache2/error.log, or /var/log/messages. What am I missing??? Are there any other tools like zmu that might be useful to me?
Thanks,
Dave
EDIT: Do I need a video capture card in order to see video in zoneminder?
zmu is giving errors
Thanks cordel. I'm not seeing any errors in the apache log files.
I've got zms and nph-zms binarys in /usr/lib/cgi-bin and have that path set in ZM options under the path tab for the zms path.
I'm searching out now if apache knows about my cgi path. I know nothing about apache but am searching the forum and reading some docs in apache directory.
I've got zms and nph-zms binarys in /usr/lib/cgi-bin and have that path set in ZM options under the path tab for the zms path.
I'm searching out now if apache knows about my cgi path. I know nothing about apache but am searching the forum and reading some docs in apache directory.
did anyone ever figure this out?
i have the same thing.
logitech quickcam deluxe.
i heard something about requiring v4l dvb modules, but i've tried some of them with no luck and it doesn't seem this should be required.
thanks!
edit:
all of a sudden i got a bit further. now if i setup this monitor with ntsc and yuyv the light on the camera comes on. but i still don't see video.
and zmdc.log says:
i have the same thing.
logitech quickcam deluxe.
i heard something about requiring v4l dvb modules, but i've tried some of them with no luck and it doesn't seem this should be required.
thanks!
edit:
all of a sudden i got a bit further. now if i setup this monitor with ntsc and yuyv the light on the camera comes on. but i still don't see video.
and zmdc.log says:
Code: Select all
11/02/09 18:59:46.893636 zmdc[25907].INF ['zmc -d /dev/video0' starting at 09/11/02 18:59:46, pid = 1860]
11/02/09 18:59:47.009533 zmdc[25907].WAR [Can't find process with command of 'zma -m 2']
[\code]
so mplayer seems to be able to work around this issue:
[code]mplayer tv:// -tv driver=v4l2:device=/dev/video0
MPlayer SVN-r29463-4.3.2 (C) 2000-2009 MPlayer Team
Playing tv://.
TV file format detected.
Selected driver: v4l2
name: Video 4 Linux 2 input
author: Martin Olschewski <olschewski>
comment: first try, more to come ;-)
v4l2: your device driver does not support VIDIOC_G_STD ioctl, VIDIOC_G_PARM was used instead.
Selected device: UVC Camera (046d:09a2)
Capabilites: video capture streaming
supported norms:
inputs: 0 = Camera 1;
Current input: 0
Current format: YUYV
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set format failed: Invalid argument
tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
v4l2: ioctl enum norm failed: Invalid argument
Error: Cannot set norm!
Selected input hasn't got a tuner!
v4l2: ioctl set mute failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred colorspace: Packed YUY2)
VDec: using Packed YUY2 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 640x480 => 640x480 Packed YUY2
Selected video codec: [rawyuy2] vfm: raw (RAW YUY2)
==========================================================================
Audio: no sound
Starting playback...
v4l2: ioctl set mute failed: Invalid argument
v4l2: 14 frames successfully processed, 25 frames dropped.
zm 1.24.2 on gentoo amd64
...and my xawtv output
xawtv does the same as for other people. the light comes on for a split second then goes off again. i only ever get black video
xawtv does the same as for other people. the light comes on for a split second then goes off again. i only ever get black video
Code: Select all
This is xawtv-3.95, running on Linux/x86_64 (2.6.30-gentoo-r4)
WARNING: v4l-conf is compiled without DGA support.
/dev/video0 [v4l2]: 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: VIDIOC_G_STD(std=0x7f89a98ff9fa [PAL_B1,PAL_H,PAL_I,PAL_D,PAL_D1,PAL_K,PAL_M,PAL_60,NTSC_M,NTSC_M_JP,?,?,SECAM_B,SECAM_D,SECAM_G,SECAM_H,?ATSC_8_VSB,ATSC_16_VSB,(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)]): Invalid argument
unknown chip id 0x95c5, can't guess.
ioctl: VIDIOC_S_STD(std=0x0 []): Invalid argument
ioctl: VIDIOC_DQBUF(index=0;type=VIDEO_CAPTURE;bytesused=0;flags=0x0 [];field=ANY;;timecode.type=0;timecode.flags=0;timecode.frames=0;timecode.seconds=0;timecode.minutes=0;timecode.hours=0;timecode.userbits="";sequence=0;memory=unknown): Invalid argument
ioctl: VIDIOC_DQBUF(index=0;type=VIDEO_CAPTURE;bytesused=0;flags=0x0 [];field=ANY;;timecode.type=0;timecode.flags=0;timecode.frames=0;timecode.seconds=0;timecode.minutes=0;timecode.hours=0;timecode.userbits="";sequence=0;memory=unknown): Invalid argument
Segmentation fault
zm 1.24.2 on gentoo amd64
according to this:
http://www.mail-archive.com/linux-uvc-d ... 00992.html
the above xawtv problems are a bug in xawtv.
this camera seems to work great everywhere except zoneminder and xawtv
any guidance/ideas would be greatly appreciated.
http://www.mail-archive.com/linux-uvc-d ... 00992.html
the above xawtv problems are a bug in xawtv.
this camera seems to work great everywhere except zoneminder and xawtv
any guidance/ideas would be greatly appreciated.
zm 1.24.2 on gentoo amd64
f#$king gentoo ebuild
this fixed it for me
ebuild doesn't put the cgi scripts in the right place for apache2.
finally saw reference to checking the apache logs
so i just copied nph-zms from
and now i'm mostly working. slow as hell for somereason.
and my axis web camera keeps switching between red and yellow and won't display video in ZM...
ebuild doesn't put the cgi scripts in the right place for apache2.
finally saw reference to checking the apache logs
Code: Select all
[Tue Nov 03 21:34:11 2009] [error] [client 127.0.0.1] script not found or unable to stat: /var/www/localhost/cgi-bin/nph-zms, referer: http://localhost/zoneminder/index.php?view=montage&group=0
Code: Select all
cp /var/www/zoneminder/cgi-bin/nph-zms /var/www/localhost/cgi-bin/
and my axis web camera keeps switching between red and yellow and won't display video in ZM...
zm 1.24.2 on gentoo amd64