Difference between revisions of "Foscam FI8904W"

From ZoneMinder Wiki
Jump to navigationJump to search
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
8/1/12 : [[user:BenF|BenF]] Just to confirm this camera also works with Zoneminder 1.25 running on a Centos 5.7 box.
This is a basic IP camera, with passable daytime video quality and IR night capability available cheaply for only £65 from [http://www.amazon.co.uk/FOSCAM-Silver-FI8904W-Outdoor-Camera/dp/B004JV2O46 Amazon.co.uk] in the UK in December 2011. [[user:BenF|BenF]]


My Camera purchased via Amazon for £65 in December 2011 arrived with:
I wouldn't expose it directly to the elements without some shelter. Note also the plugs/sockets from the box are captive and have only a ~1m lead so you'll need something like an external junction box to terminate them.
 
Firmware Version   11.25.2.38
The camera I have arrived with  
 
;Software
Embeded Web UI Version   2.4.9.15
:Firmware Version   11.25.2.38
:Embeded Web UI Version   2.4.9.15




Line 15: Line 16:




== Using the FI8904W with Zoneminder ==
== Using the FI8904W with Zoneminder : ==


You can either use the snapshot stream, or video stream.
You can either use the snapshot stream, or video stream.
Line 21: Line 22:
If the IP Address of the camera is 192.168.1.100 then the monitor settings for each are:
If the IP Address of the camera is 192.168.1.100 then the monitor settings for each are:


== Snapshots : ==
== Snapshots : ==


For a 640 x 480, ~ 7 frames a second stream :  
For a 640 x 480, ~ 5-7 frames a second stream :  
 
 
Protocol : HTTP
 
Mehtod : Simple
 
Remote Hostname : <your camera IP>, eg 192.168.1.100
 
Port : 80
 
Path : /snapshot.cgi?user=<username>&pwd=<password>&resolution=32&rate=6
 
Colours : 24 bit
 
Width : 640


Height : 480
:Protocol : HTTP
:Method : Simple
:Remote Hostname : <your camera's static IP address>, eg 192.168.1.100
:Port : 80
:Path : /snapshot.cgi?user=<username>&pwd=<password>&resolution=32&rate=6
:Colours : 24 bit
:Width : 640
:Height : 480




I found the camera maxed out at 10-11fps.  
I found the camera could supply a maximum of 9-10fps.  


The only other issue is your Zoneminder box will be quite busy decoding jpgs - the jpeg-turbo MMX libraries do help here if you have a modern CPU. Alternatively, switch to the videostream method below, this helped on my installation.
The only other issue is your box running Zoneminder box will be quite busy decoding jpgs - the libjpeg-turbo MMX libraries do help here if you have a modern CPU. Alternatively, switch to the videostreaming method below,.


== Video Streaming :  ==
== Video Streaming :  ==
Line 52: Line 44:
Config as above, but the path changes to  
Config as above, but the path changes to  


:Path : /videostream.cgi?user=<username>&pwd=<password>


Path : /snapshot.cgi?user=<username>&pwd=<password>
To get a stream running about 10-12fps. I found that the stream wasn't entirely smooth, with a small pause every 2 seconds. Forcing a frame rate just slower than this does help give you a smoother stream, and so better playback:


:Path : /videostream.cgi?user=<username>&pwd=<password>&rate=6


To get a stream running about 10-12fps. I found that the stream wasn't entirely smooth, with a small pause every 2 seconds. Forcing a frame rate just under this does help give you a smoother stream, and so better playback:
Gives for me a framerate for me of 7.5fps, and rate=3 gives 10fps.


== Changing the Lens : ==


Path : /snapshot.cgi?user=<username>&pwd=<password>&rate=6
It appears different sensors may have been used with different lens fittings depending on the age of your unit.
 
Gives for me a framerate for me of 7.5fps.


Possibly pre- Jun 2011 cameras appear to take 'CS' lenses, which can be swapped if you don't mind some disassembly of the unit - there are a few videos on YouTube showing people doing this. These are readily available available from eBay as CCTV Lenses, for £5 GBP.


== Changing the Lens : ==


I understand the camera uses CS format CCTV lenses, which can be swapped if you don't mind some disassembly of the unit - there are a few videos on
The camera I have arrived appears to be a revision made in June 2011 according to the PCB silkscreen next to the sensor. The sensor also appears to have changed to be what is known as a 'boardcam' - a smaller unit with the lens being a 'M12' fine thread type lenses also used with Bulletcams. These lenses are also known as 'board' lenses, and suppliers include [http://www.tandsimports.co.uk/board-lenses-43-c.asp T&S imports]


The camera I have has come with a 3.6mm lens which gives a wide field of view, but I've got 6,8, 10 and 12mm lenses coming which give more of a 'zoom' as the lens gets 'longer'. They're easily sourced via eBay for £3-5 from suppliers in Hong Kong.
I have successfully swapped a 8mm and 12 mm lens - but note these lenses have a much more defined focal point and for shorter distances ( under 3-4m ) need a little care adjusting the focus to suit your needs.

Latest revision as of 04:08, 31 January 2012

This is a basic IP camera, with passable daytime video quality and IR night capability available cheaply for only £65 from Amazon.co.uk in the UK in December 2011. BenF

I wouldn't expose it directly to the elements without some shelter. Note also the plugs/sockets from the box are captive and have only a ~1m lead so you'll need something like an external junction box to terminate them.

The camera I have arrived with

Software
Firmware Version 11.25.2.38
Embeded Web UI Version 2.4.9.15


Note that a request for updated firmware from Foscam support offered me a much older firmware.

The details on the Foscam page were a very useful in getting this setup, especially in passing your username and password.

The below assumes you have got the camera setup and connected to your network, and use a static IP address. You will have also setup a new user on the camera and are using that account to retrieve the snapshots or video.


Using the FI8904W with Zoneminder :

You can either use the snapshot stream, or video stream.

If the IP Address of the camera is 192.168.1.100 then the monitor settings for each are:

Snapshots :

For a 640 x 480, ~ 5-7 frames a second stream :

Protocol : HTTP
Method : Simple
Remote Hostname : <your camera's static IP address>, eg 192.168.1.100
Port : 80
Path : /snapshot.cgi?user=<username>&pwd=<password>&resolution=32&rate=6
Colours : 24 bit
Width : 640
Height : 480


I found the camera could supply a maximum of 9-10fps.

The only other issue is your box running Zoneminder box will be quite busy decoding jpgs - the libjpeg-turbo MMX libraries do help here if you have a modern CPU. Alternatively, switch to the videostreaming method below,.

Video Streaming :

Config as above, but the path changes to

Path : /videostream.cgi?user=<username>&pwd=<password>

To get a stream running about 10-12fps. I found that the stream wasn't entirely smooth, with a small pause every 2 seconds. Forcing a frame rate just slower than this does help give you a smoother stream, and so better playback:

Path : /videostream.cgi?user=<username>&pwd=<password>&rate=6

Gives for me a framerate for me of 7.5fps, and rate=3 gives 10fps.

Changing the Lens :

It appears different sensors may have been used with different lens fittings depending on the age of your unit.


Possibly pre- Jun 2011 cameras appear to take 'CS' lenses, which can be swapped if you don't mind some disassembly of the unit - there are a few videos on YouTube showing people doing this. These are readily available available from eBay as CCTV Lenses, for £5 GBP.


The camera I have arrived appears to be a revision made in June 2011 according to the PCB silkscreen next to the sensor. The sensor also appears to have changed to be what is known as a 'boardcam' - a smaller unit with the lens being a 'M12' fine thread type lenses also used with Bulletcams. These lenses are also known as 'board' lenses, and suppliers include T&S imports

I have successfully swapped a 8mm and 12 mm lens - but note these lenses have a much more defined focal point and for shorter distances ( under 3-4m ) need a little care adjusting the focus to suit your needs.