I'm running ZM 1.22.2 on a gentoo system and with my configuration zm is fully functional with:
Local analog cam on a BT878 board
Axis 214PTZ (network cam)
Panasonic BB-HCM381, BB-HCM331 and BL-C10 (same cgi protocol, all IP cam)
What I've tried:
- wget is working
Code: Select all
wget --save-headers -S "http://user:pass@IP/cgi-bin/push?CH=1&UID=661&MODE=START&FRAMERATE=10"
Code: Select all
HTTP/1.0 200
Content-type: multipart/x-mixed-replace;boundary =--myboundary
--myboundary
Content-type: image/jpeg
Content-length: 6606
..
..
..
--myboundary
Content-type: image/jpeg
Content-length: 6581
..
..
- switching the ZM_HTTP_VERSION on and off
- increasing the ZM_HTTP_TIMEOUT parameter up to 5 secs (with wget the cams are quite responsive)
In every case running zmc results in a log like
Code: Select all
11/17/06 17:36:16.028264 zmc_m18[9833].INF-zm_debug.c/305 [New Debug Level = 9, New Debug Log = /tmp/zmlog]
11/17/06 17:36:16.028829 zmc_m18[9833].DB1-zm_monitor.cpp/1871 [Got 1 monitors]
11/17/06 17:36:16.048511 zmc_m18[9833].DB2-zm_remote_camera.cpp/124 [Request: GET /cgi-bin/push?CH=1&UID=166&MODE=START&FRAMERATE=2 HTTP/1.0
User-Agent: ZoneMinder/1.22.2
Host: xxxxxxxxxxx
Connection: Keep-Alive
Authorization: Basic xxxxxxxxxxxxxxxxxxxxx
]
11/17/06 17:36:16.049131 zmc_m18[9833].DB1-zm_monitor.cpp/235 [monitor purpose=1]
11/17/06 17:36:16.049150 zmc_m18[9833].DB1-zm_monitor.cpp/242 [shm.size=12365764]
.
.
.
.
.
11/17/06 17:36:16.350076 zmc_m18[9833].DB1-zm_monitor.cpp/2008 [Loaded monitor 18(Pana), 1 zones]
11/17/06 17:36:16.350093 zmc_m18[9833].INF-zmc.cpp/183 [Starting Capture]
11/17/06 17:36:16.362924 zmc_m18[9833].DB3-zm_remote_camera.cpp/159 [Connected to host, socket = 6]
11/17/06 17:36:16.362963 zmc_m18[9833].DB3-zm_remote_camera.cpp/180 [Request sent GET /cgi-bin/push?CH=1&UID=166&MODE=START&FRAMERATE=2 HTTP/1.0
User-Agent: ZoneMinder/1.22.2
Host: xxxxxxxxxxxxxx
Connection: Keep-Alive
Authorization: Basic xxxxxxxxxxxxxxxxxxx
]
11/17/06 17:36:21.362896 zmc_m18[9833].ERR-zm_remote_camera.cpp/195 [Select timed out]
Thanks in advance
Vincenzo
ps (for jameswilson): I've seen a thread with similar problems you had with an IQEye cam (or something like that): did you succedeed to make it work?