Difference between revisions of "Foscam FI9801/2W"

From ZoneMinder Wiki
Jump to navigationJump to search
Line 10: Line 10:
</pre>
</pre>
RTSP support is meant to be implemented in a future release also.
RTSP support is meant to be implemented in a future release also.
<b>Update:</b>
The newer firmware version 1.4.1.12 adds finally also the rtsp stream support:
<pre>
rtsp://<username>:<mandatory password>@<cam ip>:88/videoMain
</pre>
It seems that without setting a password for the account, it <b>WILL NOT WORK</b> with zoneminder!


<b>NOTE!</b>
<b>NOTE!</b>
Line 15: Line 24:
The snapPicture cgi seems to only provide 4fps video with the latest firmware 1.4.1.10.
The snapPicture cgi seems to only provide 4fps video with the latest firmware 1.4.1.10.


Currently there doesn't seem to be any way to retrieve a video stream with full resolution and some reasonable FPS using zoneminder.
The previous firmware also has an initial support for the MJPEG stream with another cgi:
 
The latest 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=  
http://(FI9802W IP):88/cgi-bin/CGIStream.cgi?cmd=GetMJStream&usr=admin&pwd=  
Line 31: Line 38:
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 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]
Mar 9 11:24:37 purplecat zmdc[28253]: ERR ['zmc -m 1' exited abnormally, exit status 255]
</pre>
And with the latest firmware 1.4.1.12 the above mentioned MJPEG support is completely
broken/removed:
Even vlc gives the following output:
<pre>
access_http access error: error: HTTP/1.0 500 Internal Server Error
</pre>
</pre>



Revision as of 11:22, 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