Search found 29 matches

by candlerb
Tue Feb 07, 2006 10:04 pm
Forum: ZoneMinder Previous Versions
Topic: zms cgi unstable
Replies: 11
Views: 13354

I will also hopefully get back to working on an SELinux policy where ZM will run as user zm instead of sharing the apache user. With or without SELinux, I think it makes sense for all the zm daemons to run as user zm. /cgi-bin/zms can be made setuid zm. As long as the PHP scripts can read zm.conf ...
by candlerb
Tue Feb 07, 2006 9:06 pm
Forum: ZoneMinder Previous Versions
Topic: zms cgi unstable
Replies: 11
Views: 13354

su command dont work on zmpkg.pl.. but ok.. started on console What exactly do you mean by "started on console"? I have found that if I run zmc directly as root, I get a permissions problem like this. You need to start zmc as the webserver user, typically 'apache', otherwise /cgi-bin/zms can't ...
by candlerb
Sat Feb 04, 2006 9:16 am
Forum: ZoneMinder Previous Versions
Topic: Server side push
Replies: 15
Views: 10917

I guess the MV1000 is deciding not to provide M-JPEG based on the "Accept" and/or "User-Agent" stuff. I'm doubting it's the latter, as I don't think the MV1000 would be aware of Safari's server push capability... I guess the camera is just by checking for 'Mozilla' in the User-Agent string ...
by candlerb
Fri Feb 03, 2006 9:00 am
Forum: ZoneMinder Previous Versions
Topic: Server side push
Replies: 15
Views: 10917

if I change the path in the remote source setting from still to server-push image, and tcpdump again, I see a succession of http GETs of the push image. :( Can you extract the output from tcpdump and show exactly what zm is sending to the camera, and what the camera's response is? (Just the headers ...
by candlerb
Thu Feb 02, 2006 9:32 pm
Forum: ZoneMinder Previous Versions
Topic: Server side push
Replies: 15
Views: 10917

By means of Content-Type: multipart/x-mixed-replace; boundary=some-character-sequence Each image is then demarked by --some-character-sequence Content-Type: image/jpeg Content-Length: nnn You should be able to see this in a streaming sequence using tcpdump, e.g. # tcpdump -i eth0 -n -s1500 -X host x ...
by candlerb
Thu Feb 02, 2006 8:51 pm
Forum: ZoneMinder Previous Versions
Topic: Client computer software for ZM
Replies: 5
Views: 4425

by candlerb
Thu Feb 02, 2006 8:48 pm
Forum: ZoneMinder Previous Versions
Topic: Server side push
Replies: 15
Views: 10917

zm can capture a motion jpeg stream just fine. I'm doing it here - although the mjpeg stream source is another zm installation, rather than an IP camera. It should be the same. There was a bug in 1.21.4, when built without PCRE, which caused the HTTP connection to be repeatedly dropped and remade ...
by candlerb
Wed Jan 25, 2006 10:34 pm
Forum: ZoneMinder Previous Versions
Topic: Splitting ZoneMinder onto multiple machines, is it possible?
Replies: 5
Views: 8008

I have something similar running which is described in a nearby thread: http://www.zoneminder.com/forums/viewtopic.php?t=5549 Server A is a database and web server. It happens to have a USB camera attached. Server B is a remote ZM installation. It has another USB camera attached. Users point their ...
by candlerb
Wed Jan 25, 2006 2:15 pm
Forum: ZoneMinder Previous Versions
Topic: Using another ZoneMinder box as the remote IP camera source
Replies: 14
Views: 23874

Actually, those buffer manipulations were OK after all - I see the overloading of the (char *) operator in zm_buffer.h which means it's really the 'head' pointer which is returned. So here's a reduced patch, which I've tested and also works. --- src/zm_remote_camera.cpp.orig 2006-01-24 14:41:33 ...
by candlerb
Wed Jan 25, 2006 12:31 pm
Forum: ZoneMinder Previous Versions
Topic: two zm setups; one montage view
Replies: 3
Views: 2237

You can use the remote ZM as a remote camera onto the central one, see
http://www.zoneminder.com/forums/viewtopic.php?t=5549

and use a montage view on the central server. Or just make your own montage HTML page which contains links to the appropriate /cgi-bin/zms URL on the two servers.
by candlerb
Wed Jan 25, 2006 12:14 pm
Forum: ZoneMinder Previous Versions
Topic: strange question about using other pc(win)+usbcam as source
Replies: 6
Views: 5563

... errm, I didn't notice that the second PC is running Windoze, sorry. I guess porting ZM to Windows would be hard work, as it's tied to the /dev/video architecture.

But you could always upgrade your Win-PC to Linux :-)
by candlerb
Wed Jan 25, 2006 12:10 pm
Forum: ZoneMinder Previous Versions
Topic: strange question about using other pc(win)+usbcam as source
Replies: 6
Views: 5563

The thread at http://www.zoneminder.com/forums/viewtopic.php?t=5549 may be of interest too. You can install ZoneMinder on the second machine, and use it as a remote camera using HTTP and a motion JPEG stream to retrieve the images. This saves messing about with shared directories and probably can ...
by candlerb
Wed Jan 25, 2006 12:00 pm
Forum: ZoneMinder Previous Versions
Topic: Using another ZoneMinder box as the remote IP camera source
Replies: 14
Views: 23874

I would try using libpcre.a. The basic analysis works for some sources but sometimes seems to fail when it otherwise looks valid. Like you, when I see something which needs doing, I find it hard to put down :-) I think I've found the problems: (a) content_boundary_len was not declared as static, so ...
by candlerb
Tue Jan 24, 2006 2:19 pm
Forum: ZoneMinder Previous Versions
Topic: Using another ZoneMinder box as the remote IP camera source
Replies: 14
Views: 23874

The other thing I noticed is that the frame rate I set for the camera at the main ZM caused it to fetch the picture that number of times per second. I read this from the Apache logs of the remote. I see this too (zm-1.21.4). The code in zm_remote_camera.cpp looks like it ought to loop over the ...
by candlerb
Tue Jan 24, 2006 1:46 pm
Forum: ZoneMinder Previous Versions
Topic: Using another ZoneMinder box as the remote IP camera source
Replies: 14
Views: 23874

I have this working now. For reference, this is how it looks: QuickCam 4000 old QuickCam pwc driver qc-usb driver | HTTP | Central ZM ------------------> Remote ZM | | v | database "zm" | database "zm2" <--------------------' mysql Web users connect to the Central ZM instance only, which lists two ...