Difference between revisions of "Foscam FI9801/2W"

From ZoneMinder Wiki
Jump to navigationJump to search
Line 56: Line 56:
:Port: 88
:Port: 88
:Source Path: /cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=<username>&pwd=<password>
:Source Path: /cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=<username>&pwd=<password>
:Width: 1280
:Height: 720
'''''Using RTSP-stream:'''''
'''General'''
:Source Type: ffmpeg
'''Source'''
:Source Path: rtsp://<username>:<mandatory password>@<camera ip address>:88/videoMain
:Width: 1280
:Width: 1280
:Height: 720
:Height: 720

Revision as of 11:26, 20 April 2013

The Foscam FI9801W and FI9802W are outdoor IP cameras with 720p resolution, IR illumaniated night vision and support wireless. Specifications/More info here

CGI SDK - http://foscam.us/forum/cgi-sdk-for-fi9821w-fi9801w-fi9802w-t4010.html


Using FI9801W with Zoneminder

First upgrade to the latest version (at least App Firmware Version of 1.4.1.10) which enables the URL used for stills -

http://<cam ip>:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=<username>&pwd=<password>

RTSP support is meant to be implemented in a future release also.

Update: The newer firmware version 1.4.1.12 adds finally also the rtsp stream support:

rtsp://<username>:<mandatory password>@<cam ip>:88/videoMain

It seems that without setting a password for the account, it WILL NOT WORK with zoneminder!

NOTE!

The snapPicture cgi seems to only provide 4fps video with the latest firmware 1.4.1.10.

The previous firmware also has an initial support for the MJPEG stream with another cgi:

http://(FI9802W IP):88/cgi-bin/CGIStream.cgi?cmd=GetMJStream&usr=admin&pwd=

However, this is currently either broken or just incompatible with the current Zoneminder version and only produces the following errors:

Mar 9 11:24:37 purplecat zmdc[28588]: INF ['zmc -m 1' started at 13/03/09 11:24:37]
Mar 9 11:24:37 purplecat zmc_m1[28588]: INF [Starting Capture]
Mar 9 11:24:37 purplecat zmc_m1[28588]: WAR [Corrupt JPEG data: premature end of data segment]
Mar 9 11:24:37 purplecat zmc_m1[28588]: ERR [Invalid JPEG file structure: two SOI markers]
Mar 9 11:24:37 purplecat zmc_m1[28588]: ERR [Unable to decode jpeg]
Mar 9 11:24:37 purplecat zmc_m1[28588]: ERR [Failed to capture image from monitor 1 (0/1)]
Mar 9 11:24:37 purplecat zmdc[28253]: ERR ['zmc -m 1' exited abnormally, exit status 255]

And with the latest firmware 1.4.1.12 the above mentioned MJPEG support is completely broken/removed:

Even vlc gives the following output:

access_http access error: error: HTTP/1.0 500 Internal Server Error

Configuration in Zoneminder

General

Source Type: Remote

Source

Port: 88
Source Path: /cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=<username>&pwd=<password>
Width: 1280
Height: 720

Using RTSP-stream:

General

Source Type: ffmpeg

Source

Source Path: rtsp://<username>:<mandatory password>@<camera ip address>:88/videoMain
Width: 1280
Height: 720