Page 1 of 1

use zm as network camera. ???

Posted: Mon Feb 21, 2005 4:17 am
by fernando
has was discuss on version 1.19.xx
i have tried with 1.20 with no luck the use of a zm has a network camera.

the idea is simple. have a zm master machine that control some small machine using the video source.
like /cgi-bin/zms?mode=jpeg&monitor=1&scale=100&maxfps=15&auth=efc03c32ae3b32d1453672c5e9eea35e"

i dont know why this dont work since is mjpeg like many network cameras out there.

any idea. ?

Posted: Mon Feb 21, 2005 10:02 am
by zoneminder
You have to be a little careful as the 'auth' string is time sensitive and so will expire. You would need to use username and password really, certainly for testing, to ensure that the stream gets replayed.

I can get one monitor to 'mirror' another here by using the zms stream of one monitor as the input for another so there shouldn't be any problems.

Phil

Posted: Mon Feb 21, 2005 3:41 pm
by fernando
i got it..
now you can get jpg source using zms. so the feature is easy to use.

What setting s do you use

Posted: Tue Feb 22, 2005 9:09 am
by ma77hias
This approach really interests me.
Can you please post the details of the settings you used ?

How did you do it?

Posted: Mon Mar 14, 2005 10:06 am
by somepdguy
How did you both end up doing this ?

Phil - you say you have got this working at home as a demo - what settings are you using, I have been banging my head against this since version 1.19.4 ?!?!

Help _please_!



Pete

Posted: Mon Mar 14, 2005 2:22 pm
by zoneminder
I just used opened up a jpeg stream and copied the image source path (do a 'view source' to find it) as the path of the new monitor. As I said above I think you'll probably have to use the username and password rather than auth string unfortunately if you are using authentication.

The string I used that worked was,

Code: Select all

/cgi-bin/zms?mode=jpeg&monitor=1&scale=100&maxfps=15&user=<user>&pass=<pass>
Phil

Same as before

Posted: Tue Mar 15, 2005 9:54 am
by somepdguy
Hi Phillip,

Thanks for that but I am back as was.

I can see the stream if I go directly to
http://myhost.com/cgi-bin/zms?mode=jpeg ... s=password

But when I put
myhost.com
80
/cgi-bin/zms?mode=jpeg&monitor=3&scale=100&maxfps=10&user=admin&pass=password in as the config, the monitor name and myhost.com goes orange in the list of monitors and I can't see the stream when I open it up.

/tmp/zm* doesn't show anything abnormal

All help appriciated.

Pete

Posted: Tue Mar 15, 2005 9:12 pm
by zoneminder
How about /var/log/messages? Anything in there?

Failing that you might need to increase the debug level on the capture daemon. Which version do you have?

Phil

Posted: Tue Mar 15, 2005 9:27 pm
by cordel
Might want to try setting that monitor to color even if the other camera is B/W. ZM can colorize the images per a config setting on the remote so would need to be set to color for the new machine.
also if you are using any of the RPM the location for zms is /cgi-bin/zm/zms
Cheers,
Cordel