I've got zone minder set up and mostly working, however due to the capture card I am using, I'm having to use a file based source - I basically create 1 file per second from the capture card in an external process.
This seems to work ok and motion detection works, however when I go to view events, the event frames/images show up as broken images in the browser. So I can trigger events OK (by moving around in the area covered by the camera), and events show up in the event list, but no images of the captured event are visible (which kind of defeats the point of setting up the system....).
I don't see much of interest in the logs - any thoughts as to where to start?
Edit - on turning on debug logs I can find errors such as these - however all zm processes are running as apache, and events dir is owned by apache - so still somewhat in the dark.
Code: Select all
zm_debug.log.11333:04/27/08 23:03:35.950116 zma_m6[11333].ERR-zm_monitor.cpp/377 [Can't make events/6: Permission denied]
zm_debug.log.11333:04/27/08 23:04:36.905784 zma_m6[11333].ERR-zm_event.cpp/131 [Can't mkdir events/6/37: No such file or directory]
zm_debug.log.11333:04/27/08 23:04:36.905942 zma_m6[11333].INF-zm_monitor.cpp/1184 [Backyard: 061 - Creating new event 37]
zm_debug.log.11333:04/27/08 23:04:36.906118 zma_m6[11333].DB1-zm_event.cpp/340 [Writing pre-capture frame 1]
zm_debug.log.11333:04/27/08 23:04:36.906555 zma_m6[11333].ERR-zm_image.cpp/395 [Can't open events/6/37/001-capture.jpg: No such file or directory]
zm_debug.log.11333:04/27/08 23:04:36.906643 zma_m6[11333].DB1-zm_event.cpp/340 [Writing pre-capture frame 2]
zm_debug.log.11333:04/27/08 23:04:36.906685 zma_m6[11333].ERR-zm_image.cpp/395 [Can't open events/6/37/002-capture.jpg: No such file or directory]
zm_debug.log.11333:04/27/08 23:04:36.906756 zma_m6[11333].DB1-zm_event.cpp/340 [Writing pre-capture frame 3]
zm_debug.log.11333:04/27/08 23:04:36.906796 zma_m6[11333].ERR-zm_image.cpp/395 [Can't open events/6/37/003-capture.jpg: No such file or directory]
zm_debug.log.11333:04/27/08 23:04:36.906865 zma_m6[11333].DB1-zm_event.cpp/340 [Writing pre-capture frame 4]
zm_debug.log.11333:04/27/08 23:04:36.906904 zma_m6[11333].ERR-zm_image.cpp/395 [Can't open events/6/37/004-capture.jpg: No such file or directory]
zm_debug.log.11333:04/27/08 23:04:36.906973 zma_m6[11333].DB1-zm_event.cpp/340 [Writing pre-capture frame 5]
zm_debug.log.11333:04/27/08 23:04:36.907012 zma_m6[11333].ERR-zm_image.cpp/395 [Can't open events/6/37/005-capture.jpg: No such file or directory]
zm_debug.log.11333:04/27/08 23:04:36.9070