Sorry, I meant to update you with that information. It was indeed not running. When I started running zmc manually I had more success, I got either a blue screen (for RGB/YUV) or a grey screen for greyscale (jpeg mode). When attempting to stream mpeg, it started to connect, which it didn't do at all previously, but I still couldn't get any video.
The way I started zmc was with the command:
I also tried running it as apache with:
But I don't think that made any difference...I tried starting zmc using the device 0 command, but it errored on me. I'm still getting the headers error in the Apache log even when zmc is running. Here's a quick overview:
1. When running "zmc -m 1" as apache and trying to view a video stream, everything appears to work except I dont' get a stream, it buffers for ages and then gives me a blank grey box. messages log:
Code: Select all
Dec 2 08:24:11 camserver zmfix[3466]: INF [Debug Level = 0, Debug Log = ]
Dec 2 08:24:39 camserver zmc-m1[3505]: INF [Debug Level = 0, Debug Log = ]
Dec 2 08:24:39 camserver zmc-m1[3505]: INF [Starting Capture]
Dec 2 08:26:39 camserver zmc-m1[3505]: INF [Bedroom: 1000 - Capturing at 8.33 fps]
Dec 2 08:28:39 camserver zmc-m1[3505]: INF [Bedroom: 2000 - Capturing at 8.33 fps]
Dec 2 08:30:38 camserver zmc-m1[3505]: INF [Bedroom: 3000 - Capturing at 8.40 fps]
Dec 2 08:32:38 camserver zmc-m1[3505]: INF [Bedroom: 4000 - Capturing at 8.33 fps]
2. When running "zmc -d 0" the process doesn't stay open and just dissapears. With the following error in messages:
Code: Select all
Dec 2 08:25:16 camserver zmc-d0[3511]: INF [Debug Level = 0, Debug Log = ]
Dec 2 08:25:16 camserver zmc-d0[3511]: ERR [No monitors found]
Despite the fact that monitor 1 (as above) is linked to device 0. So I'm not sure what I'm doing wrong there. I've tried running it after the above -m1 command and before, both return the same error in messages
3. When viewing still images while zmc -m1 is running I get a blank blue screen, the date/time is updating correctly, but just a blue screen (RGB) or a grey screen (greyscale) and the following in messages:
Code: Select all
Dec 2 08:37:00 camserver zms[3743]: INF [Debug Level = 0, Debug Log = ]
Dec 2 08:37:01 camserver zms[3748]: INF [Debug Level = 0, Debug Log = ]
Dec 2 08:37:06 camserver zms[3761]: INF [Debug Level = 0, Debug Log = ]
Dec 2 08:37:11 camserver zms[3767]: INF [Debug Level = 0, Debug Log = ]
Which is actually zms ... and there's no sight of zmc at the stage. I'm not sure if that's correct or not?
4. The Apache logs on the other hand, are completely empty (of errors) while zmc is running, so I'm glad that problem has been fixed up. We're making progress.
5. Here's the output of wget with quotes:
Code: Select all
[/home/user]# wget -S "http://127.0.0.1/zm/index.php?view=watchfeed&mode=still&mid=1&scale=100"
--08:40:53-- http://127.0.0.1/zm/index.php?view=watchfeed&mode=still&mid=1&scale=100
=> `index.php?view=watchfeed&mode=still&mid=1&scale=100'
Connecting to 127.0.0.1:80... connected.
HTTP request sent, awaiting response...
1 HTTP/1.1 200 OK
2 Date: Wed, 01 Dec 2004 21:40:53 GMT
3 Server: Apache-AdvancedExtranetServer/2.0.48 (Mandrake Linux/6.6.100mdk) PHP/4.3.4
4 X-Powered-By: PHP/4.3.4
5 Expires: Mon, 26 Jul 1997 05:00:00 GMT
6 Last-Modified: Wed, 01 Dec 2004 21:40:53 GMT
7 Cache-Control: no-store, no-cache, must-revalidate
8 Cache-Control: post-check=0, pre-check=0
9 Pragma: no-cache
10 Connection: close
11 Content-Type: text/html
[ <=> ] 672 --.--K/s
08:40:53 (6.41 MB/s) - `index.php?view=watchfeed&mode=still&mid=1&scale=100' saved [672]
And lastly, to answer your question about the monitor mode, I have just left it set to none to try and see if I can get some kind of output first. This is what is suggested in the readme. Thanks for your help.