Page 1 of 1

How to determine what ZM expects for captured image size

Posted: Fri Jan 27, 2012 3:33 pm
by mcleandl
HI,
Does someone know how to determine what zmc is expecting for the captured image size. width, height and colour depth?


2012-01-27 10:02:05.205625 zmc_m1 3719 ERR Failed to capture image from monitor 1 (0/1) zmc.cpp 263
2012-01-27 10:02:05.205445 zmc_m1 3719 ERR Captured image does not match expected size, check width, height and colour depth zm_monitor.cpp

output from camera:
http://192.168.1.13/get?sensorheight
sensorheight=1184
http://192.168.1.13/get?sensorwidth
sensorwidth=1600

Thanks

Re: How to determine what ZM expects for captured image size

Posted: Fri Jan 27, 2012 4:22 pm
by PacoLM
Try opening a browser and put the complete link: http:/remotehostname/remotehostpath:remotehostport, if it works, it should work also in ZM.

Re: How to determine what ZM expects for captured image size

Posted: Sat Jan 28, 2012 3:56 pm
by mcleandl
Using firefox i'm able to view the camera's without issue: Camera is an 2MP IP Arecont AV-2155DN

Code: Select all

rtps://192.168.1.13/h264.sdp?res=half&x0=0&y0=0&x1=1929&y1&=1200&quality=15&qp=20&ssn=1&doublescan=0&bitrate=65535&fps=15
Messages from zm log:
Remote Host Path = h264.sdp?res=half&x0=0&y0=0&x1=1600&y1&=1200&ssn=1&bitrate=65535&ssn=1

Re: How to determine what ZM expects for captured image size

Posted: Sat Jan 28, 2012 7:27 pm
by PacoLM
Have you tried using

Code: Select all

/h264.sdp?res=half&x0=0&y0=0&x1=1600&y1&=1200&ssn=1&bitrate=65535&ssn=1
in the remote host path?

Re: How to determine what ZM expects for captured image size

Posted: Sun Jan 29, 2012 3:24 am
by mcleandl
I was finally able to get some success but not really where I want to be.

Arecont AV2100DN

Code: Select all

HTTP, Regexp, <ip>, 8080, /image?res=full&x0=0&y0=0&x1=1600&y1=1200&fps=15
Same setup for the AV2155DN & AV3105DN, adjusting for the proper resolution.

Not able to get RSTP, mjpeg, h264 to work. I really thing Zoneminder is the best, boy it's not for the weak of heart or for someone that expects out of the box to work.

Would appreciate some help in taking getting other options to work.