<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.staging.zoneminder.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Therps2</id>
	<title>ZoneMinder Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.staging.zoneminder.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Therps2"/>
	<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/Special:Contributions/Therps2"/>
	<updated>2026-04-20T00:27:32Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Foscam_FI8921P&amp;diff=14597</id>
		<title>Foscam FI8921P</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Foscam_FI8921P&amp;diff=14597"/>
		<updated>2017-04-07T03:00:17Z</updated>

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