Thanks to Philip for building this wonderful tool. After solving shared memory issues by increasing kernel.shmmax to "0x3000000" I have got a working application monitoring an Axis 2100 over the internet. I also tried with a Panasonic WV-NM100 I have here on the LAN but keep getting SELECT TIMEOUTS with it. I'll have to figure out why the Panasonic won't respond to the capture daemon but will respond to WGET? TCPDump might help with that. The Axis monitor seems to work well except the event images are incomplete, only half the picture is shown except for the final frame. The pictures from the view and zone links are complete however. I have the monitor set for 640X480, Image Buffer Size = 50 and maximum FPS = 1. The captured event images are two seconds apart and the live view shows 0.60fps. I am thinking perhaps it is a memory issue?
There are multiple copys of this in the log:
Oct 7 18:27:13 ns2 zma-m3[15033]: INF [icma: 4088 - Gone into alarm state]
Oct 7 18:27:13 ns2 zmf-m3[15053]: INF [Frame server socket open, awaiting images]
Oct 7 18:27:13 ns2 zma-m3[15033]: INF [Opened connection to frame server]
Oct 7 18:27:13 ns2 zmf-m3[15053]: ERR [Can't read frame image data: Success]
Oct 7 18:27:13 ns2 zma-m3[15033]: ERR [Can't write frame: No such file or directory]
Here is my memory:
[root@ns2 log]# cat /proc/meminfo
total: used: free: shared: buffers: cached:
Mem: 263188480 184639488 78548992 0 4038656 128847872
Swap: 254943232 12853248 242089984
MemTotal: 257020 kB
MemFree: 76708 kB
MemShared: 0 kB
Buffers: 3944 kB
Cached: 120664 kB
SwapCached: 5164 kB
Active: 61748 kB
Inactive: 106164 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 257020 kB
LowFree: 76708 kB
SwapTotal: 248968 kB
SwapFree: 236416 kB
Processor: AMD Athlon 1.33Ghz
Local Server Connection: ADSL 384kbs up /6.0mbps down
Offsite Axis 2100 Connection: 384kbs Partial T1
I would much rather donate to Zoneminder than purchase proprietary software from manufacturers that only support their own camera's and only offer Windows applications.
I was building my own linux based system but I think I will divert my efforts to Zoneminder as so much is already accomplished.
Cheers
Incomplete event images from remote Axis 2100
Re: Incomplete event images from remote Axis 2100
I switched to monitoring images at 320x240 and it worked wonderfully. I think think the 640x480 images are just too large to manipulate quickly. I am going to add alot more ram and give it a try. Also Cambozola and mpegencode are working great. I will try the ffmpeg encoder as the videos play very quickly just as I read they would.