Page 1 of 1

ZM - ZM Forwarding

Posted: Fri May 15, 2009 5:54 pm
by coke
I have a ZM box that currently only operates 3 analog cameras. I decided to use it as my test-bed for 1.24.1, and it's running fine by itself. I had it set to forward to my main ZM server, and I can no longer get it to work. I verified the monitor number was correct, and the following source line on the main ZM server (1.23.3) isn't coming through. Did something change in the upgrade that would make this path different?

Code: Select all

/cgi-bin/nph-zms?mode=jpeg&monitor=1&scale=100&maxfps=5

Posted: Sat May 16, 2009 2:19 am
by rdmelin
That would depend on the distro or specific installation if from source. For ZMLarch for example the path would be

Code: Select all

/cgi-zm/nph-zms?mode=jpeg&monitor=1&scale=100&maxfps=5

Posted: Sun May 17, 2009 1:25 am
by allanE
on my Ubuntu 124.1 setup I found " mode=single " to be more stable than "mode=jpeg " I have no idea why that is ,but it works for me.

Allan

Posted: Mon May 18, 2009 3:51 pm
by coke
Tried single instead of JPEG, that didn't help.

Copying the URL from viewing it on the streaming machine & pasting it into firefox works fine. Streaming machine's running Ubuntu 9.0.4, ZM 1.24.1 from peter's deb. Receiving machine's 8.0.4.2, ZM 1.23.3.

Code: Select all

http://192.168.254.184/cgi-bin/nph-zms?mode=jpeg&monitor=1&scale=100&maxfps=5
It's setup on the receiving end exactly the same as it was before I redid the sending box with 9.0.4 and 1.24.1.

Receiving box has this to say about it.

Code: Select all

May 18 10:38:19 bigbrother zmc_m10[14808]: INF [Starting Capture]
May 18 10:38:19 bigbrother zmc_m10[14808]: ERR [Captured image does not match expected size, check width, height and colour depth]
May 18 10:38:19 bigbrother zmc_m10[14808]: ERR [Failed to post-capture monitor 0]
Sending and receiving are both set to 640x480, firefox properties on the viewed image say 640x480. Only difference I can see is that the receiving machine says "8 bit greyscale" and the sending machine says "Grey"

Ok, this is weird. It's capturing in greyscale, but streaming in color. I changed the receiving box to 24 bit color, and it's working fine now. Except it's theoretically eating more bandwidth/space, since the cameras are actually black and white.

Edit:

Code: Select all

COLOUR_JPEG_FILES  	Colourise greyscale JPEG files (?)
Had that checked on the sending machine. Duh.