How to determine what ZM expects for captured image size

Forum for questions and support relating to the 1.25.x releases only.
Locked
mcleandl
Posts: 15
Joined: Sun Jan 06, 2008 4:08 pm
Location: Orlando, Florida USA

How to determine what ZM expects for captured image size

Post 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
Attachments
Screenshot-ZM - Monitor - Monitor-1 - Mozilla Firefox.png
Screenshot-ZM - Monitor - Monitor-1 - Mozilla Firefox.png (36.18 KiB) Viewed 3013 times
PacoLM
Posts: 971
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

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

Post by PacoLM »

Try opening a browser and put the complete link: http:/remotehostname/remotehostpath:remotehostport, if it works, it should work also in ZM.

After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
mcleandl
Posts: 15
Joined: Sun Jan 06, 2008 4:08 pm
Location: Orlando, Florida USA

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

Post 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
Attachments
Screenshot-ZM - Monitor - Monitor-1 - Mozilla Firefox-2.png
Screenshot-ZM - Monitor - Monitor-1 - Mozilla Firefox-2.png (35.52 KiB) Viewed 2991 times
Screenshot-ZM - System Log - Mozilla Firefox-2.png
Screenshot-ZM - System Log - Mozilla Firefox-2.png (85.78 KiB) Viewed 2991 times
PacoLM
Posts: 971
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

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

Post 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?

After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
mcleandl
Posts: 15
Joined: Sun Jan 06, 2008 4:08 pm
Location: Orlando, Florida USA

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

Post 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.
Locked