foscam 8905 setup
Posted: Thu Jan 05, 2012 11:09 am
Hi, I have acquired a Foscam FI8905W and am attempting to view in ZoneMinder. I can view a network stream in VLC (same linux box as running ZM) at 192.168.1.220:8085/video.cgi?user=admin&pwd=password&resolution=32:640*480&rate=0.
I have added a monitor - source type=remote, function=monitor, enabled, Maximum FPS=5, Alarm Maximum FPS=5, Reference Image Blend %ge=7, Triggers=None available, Remote Protocol=http, Remote method=simple, Remote host name 192.168.1.220, Remote host port=8085, Remote Host Path=/video.cgi?user=admin&pwd=password&resolution=8:640*480&rate=6.
Various combinations of remote image colours, capture width/height and resolution argument to remote host path above have been tried, the best I get when viewing the monitor is a black box with "State: Idle - 0.00 fps" message.
I must confess I only partially understand the memory allocation issues (shmmax, shmall) and currently have the following:
roger@gemini ~ $ ipcs -l
------ Shared Memory Limits --------
max number of segments = 4096
max seg size (kbytes) = 524288
max total shared memory (kbytes) = 8388608
min seg size (bytes) = 1
------ Semaphore Limits --------
max number of arrays = 128
max semaphores per array = 250
max semaphores system wide = 32000
max ops per semop call = 32
semaphore max value = 32767
------ Messages: Limits --------
max queues system wide = 14986
max size of message (bytes) = 8192
default max size of queue (bytes) = 16384
having added "kernel.shmmax = 536870912" to /etc/sysctl.d/60-kernel-shm.conf and rebooted.
syslog fills with repeats of the following lines when I view the monitor:
roger@gemini ~ $ sudo tail -f /var/log/syslog
Jan 5 23:56:11 gemini zmu[22141]: WAR [Shared data not initialised by capture daemon, some query functions may not be available or produce invalid results]
Jan 5 23:56:12 gemini zms[22142]: INF [Debug Level = 0, Debug Log = <none>]
Jan 5 23:56:12 gemini zms[22142]: Libgcrypt warning: missing initialization - please fix the application
Jan 5 23:56:12 gemini zms[22142]: INF [Authenticated user 'admin']
The box runs Mint 11 x64, 8GB memory, 2.6.38-8-generic, AMD Phenom(tm) II X4 955. I would welcome any feedback on where/what I might go/do from here?
Regards
Roger
I have added a monitor - source type=remote, function=monitor, enabled, Maximum FPS=5, Alarm Maximum FPS=5, Reference Image Blend %ge=7, Triggers=None available, Remote Protocol=http, Remote method=simple, Remote host name 192.168.1.220, Remote host port=8085, Remote Host Path=/video.cgi?user=admin&pwd=password&resolution=8:640*480&rate=6.
Various combinations of remote image colours, capture width/height and resolution argument to remote host path above have been tried, the best I get when viewing the monitor is a black box with "State: Idle - 0.00 fps" message.
I must confess I only partially understand the memory allocation issues (shmmax, shmall) and currently have the following:
roger@gemini ~ $ ipcs -l
------ Shared Memory Limits --------
max number of segments = 4096
max seg size (kbytes) = 524288
max total shared memory (kbytes) = 8388608
min seg size (bytes) = 1
------ Semaphore Limits --------
max number of arrays = 128
max semaphores per array = 250
max semaphores system wide = 32000
max ops per semop call = 32
semaphore max value = 32767
------ Messages: Limits --------
max queues system wide = 14986
max size of message (bytes) = 8192
default max size of queue (bytes) = 16384
having added "kernel.shmmax = 536870912" to /etc/sysctl.d/60-kernel-shm.conf and rebooted.
syslog fills with repeats of the following lines when I view the monitor:
roger@gemini ~ $ sudo tail -f /var/log/syslog
Jan 5 23:56:11 gemini zmu[22141]: WAR [Shared data not initialised by capture daemon, some query functions may not be available or produce invalid results]
Jan 5 23:56:12 gemini zms[22142]: INF [Debug Level = 0, Debug Log = <none>]
Jan 5 23:56:12 gemini zms[22142]: Libgcrypt warning: missing initialization - please fix the application
Jan 5 23:56:12 gemini zms[22142]: INF [Authenticated user 'admin']
The box runs Mint 11 x64, 8GB memory, 2.6.38-8-generic, AMD Phenom(tm) II X4 955. I would welcome any feedback on where/what I might go/do from here?
Regards
Roger