Difference between revisions of "Foscam FI8921P"

From ZoneMinder Wiki
Jump to navigationJump to search
(Detailed instructions on setting up Foscam FI9821P cameras using RTSP and ffmpeg on ZoneMinder 1.30.2 on Fedora 25 (64-bit))
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
'''
'''
== Foscam FI8921P Pan/Tilt Camera==
== Foscam FI8921P Pan/Tilt Camera (s.b. FI9821P) ==
'''
'''


The Foscam FI8921P is a H.264 Pan/Tilt camera with a default resolution of 1280x720.
The Foscam FI9821P is a H.264 Pan/Tilt camera with a default resolution of 1280x720.


Connecting to the camera is via FFMpeg in Zoneminder, using the URL rtsp://UserName:Password@IP:88/videoMain, i.e.;    rtsp://UserName:Password@192.168.0.90:88/videoMain or rtsp://UserName:Password@192.168.0.90:88/videoSub for 320x240 resolution to conserve bandwidth.
Connecting to the camera is via FFMpeg in Zoneminder, using the URL rtsp://UserName:Password@IP:88/videoMain, i.e.;    rtsp://UserName:Password@192.168.0.90:88/videoMain or rtsp://UserName:Password@192.168.0.90:88/videoSub for 320x240 resolution to conserve bandwidth.
I changed my camera from the default http port of port 88 to the normal default of port 80, the URL must be changed accordingly.
I changed my camera from the default http port of port 88 to the normal default of port 80, the URL must be changed accordingly.


The PTZ Control script for this camera is included with the latest version of ZoneMinder.
This camera uses the same firmware as many other Foscam cameras, which means one of the PTZ control scripts already included in ZoneMinder will likely work.
 
It appears that when one seeks the information for the Foscam FI9821P you only get detail for the FI89XX series
 
For the FI9821P the following HTTP settings work in Zoneminder 1.28.1
 
For Source type = Remote and using Remote Protocol "HTTP", Remote Method "Simple", Remote Host Name "IP of Cam, Remote Host "Port # of Cam" Then Remote Host Path is
 
cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=username&pwd=password
 
Target Colorspace = 32 Bit colour
 
Capture Width = 1280
 
Capture Height = 720
 
Using FFMPEG appears to be alot more flexible when tweaking the camera's capture dimensions.
 
For the FI9821P the following FFMPEG settings work in Zoneminder 1.28.1 
 
Source path rtsp://username:password2@IP of Cam:88/videoMain
 
Remote Method RTP/Unicast
 
Target Colorspace 32 Bit Colour
 
Capture Width 320 pixels
 
Capture Height 240 pixels
 
 
 
== Foscam FI9821P ==
 
The following settings are from a github thread.  I have tested them on my 1.29 install.
 
Remote Protocol = RTSP
 
Remote Method = RTP/RTSP
 
Remote Host Name = username:password@IP_ADDRESS
 
Remote Host Port = PORT_NUMBER (Default is 88)
 
Remote Host Path = /videoMain
 
 
[https://github.com/ZoneMinder/ZoneMinder/issues/734#issuecomment-76526882 GitHub Post]
 
 
== Foscam FI9821P ==
 
I have four of these cameras on ZoneMinder 1.30.2 on a Fedora 25 platform using ffmpeg. I haven't sorted out
the control features yet, but getting RTSP/ffmpeg working was important. Here are the settings I used:
 
1. Ensure you enable the ONVIF feature on the cameras. This is imperative! If you don't, they won't spit out RTSP.
  Log into the camera, go to the "Network" tab of the setup, click on "OnVif", make sure the Enable checkmark is
  set and click "Save".
 
2. When setting up the monitor function:
 
  a. On the General tab:
 
      Name: (whatever you want)
      Server: None
      Source Type: Ffmpeg
      Function: Monitor (or whatever you want)
      Enabled: (checkmark)
      (you can leave the rest alone)
 
  b. On the "Source" tab:
      Source Path: rtsp://<username>:<password>@<IPaddressOfCamera>/videoMain
      Remote Method: TCP
      Options: (whatever you want)
      Target colorspace: 32 bit colour
      Capture Width (pixels): 1920
      Capture Height (pixels): 720
      Preserve Aspect Ratio: (unchecked)
      Orientation: Normal
      Deinterlacing: Disabled
 
Again, this works for me. I offer it up as help for others (that OnVIF thing on the camera was a bugger!)

Latest revision as of 22:00, 6 April 2017

Foscam FI8921P Pan/Tilt Camera (s.b. FI9821P)

The Foscam FI9821P is a H.264 Pan/Tilt camera with a default resolution of 1280x720.

Connecting to the camera is via FFMpeg in Zoneminder, using the URL rtsp://UserName:Password@IP:88/videoMain, i.e.; rtsp://UserName:Password@192.168.0.90:88/videoMain or rtsp://UserName:Password@192.168.0.90:88/videoSub for 320x240 resolution to conserve bandwidth. I changed my camera from the default http port of port 88 to the normal default of port 80, the URL must be changed accordingly.

This camera uses the same firmware as many other Foscam cameras, which means one of the PTZ control scripts already included in ZoneMinder will likely work.

It appears that when one seeks the information for the Foscam FI9821P you only get detail for the FI89XX series

For the FI9821P the following HTTP settings work in Zoneminder 1.28.1

For Source type = Remote and using Remote Protocol "HTTP", Remote Method "Simple", Remote Host Name "IP of Cam, Remote Host "Port # of Cam" Then Remote Host Path is

cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=username&pwd=password

Target Colorspace = 32 Bit colour

Capture Width = 1280

Capture Height = 720

Using FFMPEG appears to be alot more flexible when tweaking the camera's capture dimensions.

For the FI9821P the following FFMPEG settings work in Zoneminder 1.28.1

Source path rtsp://username:password2@IP of Cam:88/videoMain

Remote Method RTP/Unicast

Target Colorspace 32 Bit Colour

Capture Width 320 pixels

Capture Height 240 pixels


Foscam FI9821P

The following settings are from a github thread. I have tested them on my 1.29 install.

Remote Protocol = RTSP

Remote Method = RTP/RTSP

Remote Host Name = username:password@IP_ADDRESS

Remote Host Port = PORT_NUMBER (Default is 88)

Remote Host Path = /videoMain


GitHub Post


Foscam FI9821P

I have four of these cameras on ZoneMinder 1.30.2 on a Fedora 25 platform using ffmpeg. I haven't sorted out the control features yet, but getting RTSP/ffmpeg working was important. Here are the settings I used:

1. Ensure you enable the ONVIF feature on the cameras. This is imperative! If you don't, they won't spit out RTSP.

  Log into the camera, go to the "Network" tab of the setup, click on "OnVif", make sure the Enable checkmark is
  set and click "Save".

2. When setting up the monitor function:

  a. On the General tab:
     Name: (whatever you want)
     Server: None
     Source Type: Ffmpeg
     Function: Monitor (or whatever you want)
     Enabled: (checkmark)
     (you can leave the rest alone)
  b. On the "Source" tab:
     Source Path: rtsp://<username>:<password>@<IPaddressOfCamera>/videoMain
     Remote Method: TCP
     Options: (whatever you want)
     Target colorspace: 32 bit colour
     Capture Width (pixels): 1920
     Capture Height (pixels): 720
     Preserve Aspect Ratio: (unchecked)
     Orientation: Normal
     Deinterlacing: Disabled

Again, this works for me. I offer it up as help for others (that OnVIF thing on the camera was a bugger!)