<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://blueirissoftware.com/forum/app.php/feed/forum/22" />

	<title>Blue Iris</title>
	<subtitle>Blue Iris User Group</subtitle>
	<link href="https://blueirissoftware.com/forum/index.php" />
	<updated>2022-02-23T01:31:37+00:00</updated>

	<author><name><![CDATA[Blue Iris]]></name></author>
	<id>https://blueirissoftware.com/forum/app.php/feed/forum/22</id>

		<entry>
		<author><name><![CDATA[varghesesa]]></name></author>
		<updated>2022-02-23T01:31:37+00:00</updated>

		<published>2022-02-23T01:31:37+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=12726#p12726</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=12726#p12726"/>
		<title type="html"><![CDATA[Cameras • Camera stats]]></title>

					<category term="Cameras" scheme="https://blueirissoftware.com/forum/viewforum.php?f=22" label="Cameras"/>
		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=12726#p12726"><![CDATA[
<span style="font-size:150%;line-height:116%"><strong class="text-strong">Introduction</strong></span><div style="margin-left:3em"><br>It is crucial to understand the camera stats.  Poor video feeds can lead to many other issues.<br><br><br></div><span style="font-size:150%;line-height:116%"><strong class="text-strong">Camera stats</strong></span><div style="margin-left:3em"><br>BI provides two ways to understand the health of your camera streams.  For an individual camera, Camera settings -&gt; General tab provides all the relevant information for an individual camera.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2581" class="postimage" alt="camera_stats_optimized.png" onclick="viewableArea(this);" /></dt></dl></div><br>Main stream stats:<ul><li>Resolution of camera: 2.1 MP</li><li>Frames per second (fps): 31.76</li><li>Key frame interval per second: 0.70 fps</li><li>Bit rate: 381.9 kB/s</li></ul>Sub stream stats (if connected):<ul><li>Resolution of camera: 0.3 MP (640 x 480)</li><li>Frames per second (fps): 29.77</li><li>Key frame interval per second: 0.60 fps</li><li>Bit rate: 42.4 kB/s</li></ul>Frames per second and Key frame interval per second have the most bearing on smooth streams.  For most people, an FPS value above 12 fps and a key frame interval above 0.5 and ideally 1.0 are good guidelines for a good streaming experience.<br><br>To get a holistic view of the performance of all your cameras, go to Status -&gt; Camera tab.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2580" class="postimage" alt="video_camera stats.png" onclick="viewableArea(this);" /></dt></dl></div><br><strong class="text-strong">The camera stats provide a quick overview of all your camera connections.  You can easily tell which cameras are problematic, e.g. low fps or low key frame ratios.</strong><br><br>Column details<div style="margin-left:3em">Name: Name of camera<br>IP: IP Address of cameras<br>MPixels: Camera resolution main stream/sub stream<br>HA: Hardware Acceleration (I = Intel, N = NVidia)<br>Elapsed:  Length of time camera has been running<br>FPS/key: frames per second / key frame interval per second for main stream<br>Bitrate: bitrate for main stream<br>Sub FPS/key: frames per second / key frame interval per second for sub stream<br>Sub Bitrate: bitrate for sub stream<br><br></div>Status counters (not shown in image)<div style="margin-left:3em">Motion: Motion represents the number of motion events, not necessarily leading to a Trigger or Alert.<br>Trigger: Trigger represents the number of trigger events, when there was sufficient motion to trigger,<br>or the camera was triggering in another way. If this cell is black, the camera is currently in<br>the triggered state.<br>Alerts: Alerts represents the number of times that a trigger resulted in one or more alerts fired—<br>emails, push notifications, alarms etc.<br>Clips: Clips represents the number of files created. If this cell is black, the camera is actively<br>recording.<br>Posted represents the number of frames sent via FTP or saved to disc according to settings on<br>the Post page in camera settings.<br>Webcast: Webcast represents the number of frames viewed by web server or app users.<br>NoSignal: NoSignal represents the number of times the camera signal was lost. The signal may have<br>been immediately restored causing no loss of video, or it may have been out for longer.<br>These events are logged to the Log page in status.</div></div><p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=521">varghesesa</a> — Wed Feb 23, 2022 1:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[varghesesa]]></name></author>
		<updated>2022-01-16T23:18:12+00:00</updated>

		<published>2022-01-16T23:18:12+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=12124#p12124</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=12124#p12124"/>
		<title type="html"><![CDATA[Cameras • NVR Connector]]></title>

					<category term="Cameras" scheme="https://blueirissoftware.com/forum/viewforum.php?f=22" label="Cameras"/>
		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=12124#p12124"><![CDATA[
<span style="font-size:150%;line-height:116%"><strong class="text-strong">Introduction</strong></span><div style="margin-left:3em"><br>Connecting NVR/DVR devices to BI is similar to connecting cameras.  The <a href="viewtopic.php?f=11&amp;t=2043" class="postlink">Camera connector article</a> has more details regarding the IP Config dialog if you are new to BI.<br><br><br><br></div><span style="font-size:150%;line-height:116%"><strong class="text-strong">NVR / DVR Setup</strong></span><br><br><strong class="text-strong">Connecting NVR/DVR</strong><br>Connecting BI to your NVR or DVR is possible as well.  A common request from customers is they purchased a single-vendor solution at first but now are growing their surveillance system with different vendors.  They use BI to put all cameras under one management interface.<br><br>The following information is needed to connect a DVR/NVR to BI:<ul><li>Does the NVR allow access to their channels (camera streams) via RTSP or RTMP?</li><li>If so, what is the URI convention for the streams?  Check documentation.<br>Hikvision example: /Streaming/channels/301 = channel 3/ stream 1<br>Dahua example: /cam/realmonitor?channel=1&amp;subtype=0</li><li>What ports are used?<br>Http = 80 or other?<br>ONVIF = 80 or 8999 or other?<br>RTSP / RTMP = 554 or other?</li></ul>ONVIF makes connecting cameras easy.  However, finding ONVIF support on DVR/NVR systems are more rare, but does exist (see further below).  <br><br>Thus, connecting DVR/NVR systems typically require more research with vendor and vendor documentation.  This may be a good time to approach the camera vendor and ask is it possible to connect the camera channels from the NVR/DVR to 3rd party VMS systems using RTSP.  One user asked how to connect a camera to VLC. After much prying, the vendor finally gave up the information. Camera vendors would prefer you use their software and lock you in to their ecosystem.<br><br>Below is an example of connecting a Hikvision NVR.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2397" class="postimage" alt="Hikvision NVR.png" onclick="viewableArea(this);" /></dt></dl></div><br>The Hikvision convention is 101/102.  <br>101 = channel 1 (i.e. camera 1), stream 1 (i.e. main stream)<br>102 = channel 1, stream 2 (i.e. sub stream)<br><br>So connecting camera 2 from the Hikvision NVR would need the following settings: main stream = 201, sub stream = 202.<br>Same IP address, username and password.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2398" class="postimage" alt="NVR channel 2.png" onclick="viewableArea(this);" /></dt></dl></div><br>You would do similarly to add camera 3, 4 etc.<br>To get the Hikvision NVR connected, we had to research through the documentation (or reach out to vendor).  Only through some investigation were we able to correctly identify the RTSP URI stream (/Streaming/channels/101 etc) and the RTSP port = 8554.<br><br>If you are still stuck, we would be happy to do some remote testing.  Could you please send a WAN address for this camera for testing purposes with necessary ports, usually just 80 and 554 (RTSP) and 8999(ONVIF if available).  Don't forget a temp login as well.  If you put the DVR/NVR on the internet we can take a look.  This <a href="https://www.youtube.com/watch?v=WF80V_AQBqM" class="postlink">video</a> explains how to do so.    To be clear, we need direct access to the DVR/NVR, not BI web interface.<br><br><strong class="text-strong">ONVIF NVR Support</strong><br><br>Looks like NVRs are now starting to support ONVIF!  This example is from a <a href="https://us.hikvision.com/en/products/video-recorders/digital-video-recorder/turbohd-tribrid-dvr/value-series/turbohd-dvr-ds-6" class="postlink">Hikvision DS-7216HUHI-K2</a>, a vendor known for delivering great ONVIF support.<br><br>Just like cameras, enter IP Address, Username and Password and hit Find/Inspect to see if any ONVIF information comes over.<br>BI defaults to ports 80 or 8999 for ONVIF.  Know your equipment.  If ONVIF resides elsewhere, for example port 8080, you need to let BI know by altering 8999 to 8080 for the ONVIF port before hitting Find / Inspect.<br><br>The Find / Inspect dialog shares all the rich information coming via ONVIF.<br><br>System info<blockquote class="uncited"><div>Opening &lt;ip address&gt; port 80...<br>HTTP Get / request...<br>OK<br>ONVIF GetSystemDateAndTime<br>2021-09-18T20:11:02.000Z<br>Requesting device information...<br>Manufacturer: Hangzhou Hikvision Digital Technology Co., Ltd<br>Model: DS-7216HUHI-K2<br>FirmwareVersion: V4.25.000, build 200925<br>GetCapabilities...<br>Querying services</div></blockquote>Pulling in profiles of the 13 cameras connected to this 16 channel NVR<blockquote class="uncited"><div>Has Search services: /onvif/search_service<br>Has Imaging services: /onvif/imaging_service<br>Has media services: /onvif/media_service<br>Has RTP_RTSP_TCP, requesting profiles<br>profile token ProfileToken001<br>profile name ProfileName001<br>profile source is VideoSourceToken001<br><br>...<br><br>profile token ProfileToken013<br>profile name ProfileName013<br>profile source is VideoSourceToken013<br>profile source config is VideoSourceConfigurationToken013</div></blockquote><br>Pulling in sub streams for each channel!<br>Notice the mapping that is also provided.  Channel 49 corresponds to the sub stream for Channel 1.<blockquote class="uncited"><div>profile token ProfileToken049<br>profile name ProfileName049<br>profile source is VideoSourceToken001<br>profile source config is VideoSourceConfigurationToken001<br><br>...<br><br>profile token ProfileToken061<br>profile name ProfileName061<br>profile source is VideoSourceToken013<br>profile source config is VideoSourceConfigurationToken013</div></blockquote>Much more information is pulled over which is not documented here to conserve space.<br><br>Once you know what the profiles mean, easy to connect cameras.<br>In below example, I connect Channel 1.<br>I know Channel 1 is Profile 1.  Based on the above ONVIF information, I also know the Channel 1 sub stream is associated to Profile 49.<br>Pretty easy to also guess what streams belong to which channels based on the intuitive Hikvision conventions.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2399" class="postimage" alt="ip camera connection_onvif nvr.png" onclick="viewableArea(this);" /></dt></dl></div><p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=521">varghesesa</a> — Sun Jan 16, 2022 11:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[varghesesa]]></name></author>
		<updated>2021-10-25T02:10:10+00:00</updated>

		<published>2021-10-25T02:10:10+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=10996#p10996</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=10996#p10996"/>
		<title type="html"><![CDATA[Cameras • Video tab]]></title>

					<category term="Cameras" scheme="https://blueirissoftware.com/forum/viewforum.php?f=22" label="Cameras"/>
		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=10996#p10996"><![CDATA[
<span style="font-size:150%;line-height:116%"><strong class="text-strong">Introduction</strong></span><br><br>This article walks through the <strong class="text-strong">Video Tab</strong> settings that also need to be considered when connecting cameras.  We assume you went through the <a href="viewtopic.php?f=11&amp;t=2043" class="postlink">Camera Connector article </a> in order to setup the BI camera connection correctly.<br><br>We also assume you went through the <a href="viewtopic.php?f=11&amp;t=2598" class="postlink">Camera setup article</a> in order to make sure the encoding settings on the camera works well with BI.<br><br>If you prefer to watch the webinar associated with this article, checkout the <a href="https://youtu.be/OT3Y8n53EuQ" class="postlink">Camera Connections and Streams webinar</a>.<br><br><span style="font-size:150%;line-height:116%"><strong class="text-strong"><a name="Video tab">Video tab</a></strong></span><br><br><strong class="text-strong">Best practice</strong><br><br>Below are settings that generally work.  The highlighted settings are the ones that usually get people in trouble when set or unset from the default values.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2356" class="postimage" alt="console live view_video settings.png" onclick="viewableArea(this);" /></dt></dl></div><br><strong class="text-strong">Details</strong><br><br>Below are details on features that can affect the camera.<br>Camera settings -&gt; Video tab.<div style="margin-left:3em"><br>Below is the list of BI settings that can affect streaming.<br><br><strong class="text-strong">Hardware decode</strong> (aka hardware video acceleration, HWVA).<br>Used to turn HA on/off for live camera feeds.<ul><li>Global settings -&gt; Cameras tab.  Turn on/off globally for All cameras.</li><li>Camera settings -&gt; Video tab.  Turn on/off for a particular camera.  <br>Camera setting takes precedence over global setting.</li></ul> <br><strong class="text-strong">Mix and Match GPUs</strong><br>If you have multiple GPUs on your machine, it is possible to assign different cameras to different GPUs to distribute the load.  Turn HA off globally and assign GPUs on a per camera basis.<br><br>Intel Processors choose Intel + VPP<br>If for some reason you experience instability, try the Intel selection without VPP.<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2015" class="postimage" alt="camera stream optimization intel.png" onclick="viewableArea(this);" /></dt></dl></div><br>AMD Processors choose DirectX<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2014" class="postimage" alt="camera stream optimization amd.png" onclick="viewableArea(this);" /></dt></dl></div>Leveraging the iGPU on a CPU (QuickSync, DirectX) provides big benefits.<br>Not a big fan of using external graphics cards (NVidia, AMD) for encoding/decoding.  <br>The Choosing hardware for Blue Iris article referenced in <a href="viewtopic.php?f=11&amp;t=2463" class="postlink">Hardware Recommendations article</a> has some interesting insights.<br><br><strong class="text-strong">The software now turns off HA automatically for a camera if it determines the stream is not compatible and this is logged to Status-&gt;log as well.</strong><br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2013" class="postimage" alt="hwva.png" onclick="viewableArea(this);" /></dt></dl></div><br>If you want to fix the problem, you can go to the camera settings on the camera and adjust the encoding to a more simple format that may start working with your hardware.  A simple example is if the camera was set to H.264 High encoding, adjust the setting to H.264 Baseline.  If you were using H.265, switch to H.264.<br>Or wait for the next driver update that may fix the issue caused by the current driver.<br><br><strong class="text-strong">See <a href="viewtopic.php?f=20&amp;t=3141" class="postlink">GPU link</a> for even more information on GPU hardware.</strong><br><br><br><strong class="text-strong">Limit decoding unless required</strong>.<br>Used on the Live view stream.  However, largely not needed anymore with the popularity of dual streams.<br>Limit decoding (as stated in Help) will only decode key frames.  One side affect is if your kfps = 0.5, then you are receiving 1 key frame every 2s.<br>Thus, if you have a time overlay on your camera view, you will see video updates every 2s, not every 1s.<br><br><br><strong class="text-strong">Overlays</strong><br>Overlays can slow video.  If your cameras are lagging, you may want to turn off overlays.<br><br><br><strong class="text-strong">Also BVR</strong>  <br>Used to turn HA on/off during video playback.  99% of the time it is better to leave this option off.  The playback window allows you to scan backwards and forward.  This work load is not conducive for hardware acceleration.  Hardware acceleration is effective with smooth, consistent streams of video.<br><br><br><strong class="text-strong">Image size (resolution) &amp; FPS</strong><br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2012" class="postimage" alt="video tab - fps and resolution.png" onclick="viewableArea(this);" /></dt></dl></div><div style="margin-left:3em">FPS<br>Many users think they can adjust the FPS on a camera using the Max. rate setting on the Camera settings -&gt; Video tab.<br>This is impossible. You can ONLY adjust FPS on the camera.  This setting is used for better memory allocation.  If you know the FPS for the camera is 5 FPS, you can tell BI accordingly so it can allocate RAM for this camera more efficiently.  If you set it incorrectly, no worries. As BI receives the video feed, it automatically adjusts this value (which is why many users noticed it changed from their user setting).<br><br><br>Image size<br>Many users think they are changing the camera resolution.  Again, this is impossible. You can ONLY adjust resolution on the camera.  This setting is applied after the stream arrives at BI.  Users can alter the resolution further.  This feature was occasionally used by users to get a better fit of their cameras on their iPad or Tablet endpoint.  However, with the new layout editor, this use case is no longer needed.  <br>See <a href="viewtopic.php?f=13&amp;t=2628" class="postlink">5.5 Release Notes</a> for details.<br><br>Use with caution.  I'm not sure of a valid use case for using anamorphic anymore.  See <a href="viewtopic.php?f=11&amp;t=2402#Gotcha%202" class="postlink">Trigger gotcha</a> due to the Anamorphic setting.<br><br></div></div><span style="font-size:150%;line-height:116%">Record tab</span><br><br>At this point, you should have connected your camera to BI and the live stream should look smooth and clear.  The final piece is considering how to record the streams coming into the camera.  See <a href="viewtopic.php?f=11&amp;t=2305#Record%20format" class="postlink">Record format</a> for details.<p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=521">varghesesa</a> — Mon Oct 25, 2021 2:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[varghesesa]]></name></author>
		<updated>2021-09-17T21:36:29+00:00</updated>

		<published>2021-09-17T21:36:29+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=10297#p10297</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=10297#p10297"/>
		<title type="html"><![CDATA[Cameras • Camera setup]]></title>

					<category term="Cameras" scheme="https://blueirissoftware.com/forum/viewforum.php?f=22" label="Cameras"/>
		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=10297#p10297"><![CDATA[
<span style="font-size:150%;line-height:116%"><strong class="text-strong">Introduction</strong></span><br><br>This article is about the proper camera settings ON the camera in order to work well with BI.<br>There is nothing more frustrating than NOT being able to connect your cameras.<br><br>BI can only connect to equipment that supports the ONVIF protocol and/or standard video streaming formats such as RTSP, RTMP, MJPEG and JPEG.<br><br><br><span style="font-size:150%;line-height:116%"><strong class="text-strong"><a name="Network setup">Network setup</a></strong></span><br><br>This section is about getting a new camera connected to the network and understanding the ports available on the camera in order to connect BI.  This section also explains some common gotchas with cameras and extracting important ONVIF information.<br><br>The point of this section is to understand the camera well enough so that connecting the camera to BI will go without issues.  If you are seeking general guidance on how to connect IP cameras to a network or setup a surveillance network, you will need to do your own research on the internet.  Alternatively, speak with your local experts at Managed IT firms or Video Surveillance firms.  We are software engineers with expertise in only connecting your network camera to BI.<br><br><strong class="text-strong">NVR / DVR</strong><br><a href="viewtopic.php?f=22&amp;t=2043#Step%205" class="postlink">Details on connecting an NVR/DVR</a>.<br><br><strong class="text-strong">Cameras</strong><br>BI supports the RTSP and ONVIF standards to get access to your cameras.  This section is about BI considerations when connecting a new camera to the network.  A large part of this section is about gathering the information needed for the connector article as well as maximizing the opportunity to pull ONVIF information if available on the camera.  <br><br>If you are seeking guidance on troubleshooting a camera that does not connect any longer, there are two approaches:<ul><li>Error message: If the camera window shares an error code go to the <a href="viewtopic.php?f=15&amp;t=2773" class="postlink">Camera Errors article</a> for guidance.</li><li>No signal error: The No signal error can have many causes.  The <a href="viewtopic.php?f=15&amp;t=2484" class="postlink">No Signal Error article</a> documents known issues and fixes.</li></ul><div style="margin-left:3em"><br><strong class="text-strong"><a name="Network connectivity">Network connectivity</a></strong><br>The easiest way to connect cameras to the network is to follow the manufacturer's installation instructions.  Below are ways to confirm whether the cameras are connected properly:<div style="margin-left:3em"><br><strong class="text-strong">Camera app</strong><br>Many cameras come with an app.  Follow the manufacturer instructions to connect your camera to your phone/app.  If the camera is connected to the network properly, then the app should work and you should be able to see the video from the camera.<br>The app will often provide the key information needed to connect BI to a camera.<br><br><strong class="text-strong">Camera - Web interface</strong><br>Try to login to the camera using the camera's web interface.  You need to know the camera's IP address.  You may need to use the techniques below to get the information needed to login.<div style="margin-left:3em"><br>Login to your router and identify all the cameras that are connected to the network.  Note their IP Addresses.<br><br>Use <a href="viewtopic.php?f=14&amp;t=2800#Advanced%20Port%20Scanner" class="postlink">Advanced Port Scanner</a> to identify all cameras on your network.  <br>Note the IP Address and ports available on each camera.</div><br>To login simply type the IP Address into the browser window.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2080" class="postimage" alt="connector_camera ip.png" onclick="viewableArea(this);" /></dt></dl></div><br>The camera's login page should appear.  If the browser times out you either have the wrong IP address, port number or the camera does NOT have a web interface.  <br><br>Foscam is an example of a vendor that uses port 88 commonly for the web interface.  Know your cameras.<br>If the camera has other ports available (Advanced Port Scanner) try those ports as well.<br>Simply type in the browser window &lt;ip address&gt;:&lt;port number&gt;, e.g. 10.0.0.7:8080.<br><br>Alternatively, if you already tried connecting the camera to BI, go to Camera settings -&gt; Video tab.  Select the URL link.  If the URL opens in a browser with the login screen for the camera, then you know the IP address is correct.  If the camera home screen appears after attempting login with username/password, then you have confirmed the username/password are correct.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2119" class="postimage" alt="CheckIP.png" onclick="viewableArea(this);" /></dt></dl></div><br><br></div><strong class="text-strong">No web interface</strong><br>If the camera does not have a web interface, this often means the camera is not open for 3rd party integration and can only be accessible via the proprietary phone app provided by the vendor.  This may be a good time to approach the camera vendor and ask how to connect the camera to 3rd party VMS systems using RTSP. One user asked how to connect the camera to VLC. After much prying, the vendor finally gave up the information. Camera vendors would prefer you use their software and lock you into their ecosystem.  <br><br><strong class="text-strong">RTSP or other video formats</strong><br>Leverage 3rd party players such as <a href="viewtopic.php?f=22&amp;t=2043#Step%204" class="postlink">VLC to connect to the camera</a>.  If VLC cannot connect, more likely than not, BI will not be able to do so either.<br><br>Some vendors may still provide access to the RTSP port to pull the video stream.  TP Link is one such vendor that has a proprietary app interface, yet still provides RTSP access to the video stream.  If the camera has a web interface, the RTSP port may be shared.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2466" class="postimage" alt="camera setup_rtsp port.png" onclick="viewableArea(this);" /></dt></dl></div><br></div><br><strong class="text-strong">Summary of key camera settings needed to connect cameras to BI</strong><ul><li>IP address</li><li>Username</li><li>Password</li><li>Web, RTSP and ONVIF ports.<br>Keep in mind some cameras provide no port access.  Completely closed to third party access, e.g. Ring, Arlo etc.<br>As little as an RTSP port, i.e. access to the video ONLY may be shared.</li></ul><strong class="text-strong">Ports</strong><br><br>BI ideally works with three channels of communication with a camera.<div style="margin-left:3em"><span style="text-decoration:underline">Port 80</span><br>The default web port for all internet devices is often the port used by cameras to access the web interface as well.<br>Keep in mind many camera vendors use Port 80 to relay ONVIF information as well.  By default, BI will check for ONVIF support on Port 80.<br>Also keep in mind, vendors can use another port for the web interface.  For example, Foscam uses port 88 for the web interface.  Know your cameras.<br><br><span style="text-decoration:underline">Port 554</span><br>Port 554 is the default RTSP port.  This is the port to access the video stream assuming the camera allows 3rd party access.<br>If the camera uses another port for the video stream for heightened security, often the camera provides the port information via ONVIF.<br>Sometimes you may need to review the camera documentation and/or reach out to the vendor.<br><br><span style="text-decoration:underline">Port 8999</span><br>If cameras choose NOT to convey ONVIF information via port 80, they often choose port 8999 which is also checked by BI by default.<br><br><strong class="text-strong"><a name="ONVIF Gotchas">ONVIF Gotchas</a></strong><br><br><strong class="text-strong">ONVIF Gotcha 1</strong><br>KNOW your camera.  If the camera states ONVIF support, but when hitting Find/Inspect, you do not see rich ONVIF information being pulled from the camera (<a href="viewtopic.php?f=22&amp;t=2043#ONVIF" class="postlink">ONVIF section</a> below has details), then you have not established an ONVIF connection.  Below is a camera that happens to use port 8080 as the default ONVIF port.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2081" class="postimage" alt="onvif settings.png" onclick="viewableArea(this);" /></dt></dl></div>If you do not change the Discovery/ONVIF value in the IP Config Dialog from the default 8999 to 8080, BI will not know how to connect to the camera and pull the ONVIF information.<br><br>Another user had a camera that had ONVIF on port 8120.  Ironically, he discovered the ONVIF port and successfully connected to the camera using ONVIF Device Manager (ODM).  <br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2082" class="postimage" alt="ODM port 8120.png" onclick="viewableArea(this);" /></dt></dl></div><br>Ironically he did not tell BI, ONVIF was available on port 8120 and thus BI could not connect until he changed the IP Config Dialog.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2083" class="postimage" alt="onvif 8120.png" onclick="viewableArea(this);" /></dt></dl></div><br><br><strong class="text-strong">ONVIF Gotcha 2</strong><br>It turns out camera vendors are adding another layer of security to their ONVIF controls.  The ONVIF ports may be open by default.  However, the amount of information available through the port can be limited until security permissions are set on the camera.  In the Hikvision example below, access to the ONVIF capabilities were limited until we added the user account used by BI into the ONVIF user list with admin privileges.<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2084" class="postimage" alt="ONVIF-gotcha.png" onclick="viewableArea(this);" /></dt></dl></div><br><strong class="text-strong">Axis cameras</strong> also have this functionality.  The username/password placed in BI needs to be an ONVIF account in order to pull in the ONVIF features.<br><br><br></div><strong class="text-strong"><br>At this point, you should know the key information needed to connect cameras to BI.</strong><ul><li><strong class="text-strong">IP Address</strong></li><li><strong class="text-strong">Username</strong></li><li><strong class="text-strong">Password</strong></li><li><strong class="text-strong">Web, RTSP and ONVIF ports (if available)</strong></li></ul><strong class="text-strong"><br></strong><br><br><strong class="text-strong">Camera vendors</strong><br>This section documents quirks associated with specific camera vendors.<div style="margin-left:3em"><br><strong class="text-strong">Reolink</strong><br>99% of cameras only support the RTSP protocol.  On occasion, a vendor will support RTSP and RTMP.  Reolink is one such vendor and the RTMP protocol seems to provide a healthier stream.<br>Checkout the <a href="viewtopic.php?f=22&amp;t=2807" class="postlink">Reolink Gotchas article</a> for best practices on connecting Reolink cameras.<br><br><a href="viewtopic.php?f=22&amp;t=2806" class="postlink">Other vendors</a>.  (work in progress)</div><br><br><span style="font-size:150%;line-height:116%"><strong class="text-strong"><a name="Camera settings">Camera settings</a></strong></span><br><br>This section is about camera video settings that can affect BI.  Setting the encoding and fps etc is critical to attaining a good live view in BI. <br><br>Below are the most common camera settings that can affect the video quality seen in Blue Iris.  Think of these settings as levers on the camera (NOT BI) that can be adjusted to provide the optimal video stream.<ul><li>H.264 vs H.265</li><li>H.264/265 Encoding Profiles: Baseline, Main, High etc</li><li>FPS</li><li>Key frame interval</li></ul>Below are the recommended settings when first connecting a camera or when having problems connecting a camera.  Start off with the easiest settings to give BI a chance to connect.  Optimize afterwards.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1747" class="postimage" alt="simple encoding settings.png" onclick="viewableArea(this);" /></dt></dl></div><br><strong class="text-strong">Camera encoding</strong><div style="margin-left:3em"><br><strong class="text-strong">BI only works with the H.264 and H.265 standards.</strong>  Camera manufacturers have tweaked their encoding to optimize bandwidth for their apps.  H.264+, H.265+ (note the + sign) Smart Codec etc are all proprietary encodings that can only be used by the vendor apps.  <strong class="text-strong">When customers report the cameras work on their app but not in BI, the encoding is often times the reason.  The No Signal Error is almost always due to the fact that the cameras are using a proprietary encoding.</strong><br><br>Also best to start with H.264 encoding before moving to H.265.  Also, choose H.264 Main/Baseline instead of High if given the choice.  Provide BI the easiest connection available first and increase the complexity if and when needed.  <br><br>Older Intel CPUs (before Skylake) with QuickSync do NOT have H.265 support.  If the camera is set to H.265 encoding and your QuickSync does not support H.265, the Server may crash.  See <a href="viewtopic.php?f=20&amp;t=2463#Server%20Recommendations" class="postlink">Hardware Recommendations article</a> for details.<br>In order to get the server running again, you may need to turn off HA in the registry.  <a href="viewtopic.php?f=14&amp;t=2052#Hardware%20acceleration" class="postlink">See details</a>.<br><br><br></div><strong class="text-strong">FPS</strong><div style="margin-left:3em"><br>Keep settings simple such that all the streams have the same FPS.  Choosing between 30 fps or 15 fps is a user preference.  <strong class="text-strong">For most surveillance situations, 10 - 15 fps is plenty good.</strong>  <br><strong class="text-strong">Setting all streams to have the same fps makes time reconciliation easier for BI.</strong>  Turns out certain vendors like Hikvision set different fps (10, 15) for different streams.  Different fps settings unnecessarily complicate playback synchronization with dual streams.  <br><br></div><strong class="text-strong"><a name="Key frame ratio">Key frame ratio</a></strong><div style="margin-left:3em"><br>A key frame ratio &gt;0.5, ideally 1.0 leads to a healthy video stream that delivers a good user experience.  BI will tell you the key frame ratio.  In this example, all the camera key frame ratios = 0.1<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1748" class="postimage" alt="low key frames.png" onclick="viewableArea(this);" /></dt></dl></div><br>Rule of thumb:  <strong class="text-strong">Make sure the key frame (i-frame) interval on your camera equals the FPS for the camera</strong>.  This will deliver a key frame ratio equal to 1.0.<br><br>The setting on the camera is often referred to as <strong class="text-strong">i-frame interval or key frame interval</strong>.  On more technical cameras, e.g. Axis, the setting is referred to as <strong class="text-strong">GOP (group of pictures)</strong>.  GOP means how many compressed frames are allowed before the next key frame (full frame).<br><br><br>Examples:<ul><li>Camera fps = 30.  key frame interval = 30 (1.0 fps).  Can consider key frame interval as high as = 60 (0.5 fps)</li><li>Camera fps = 15.  key frame interval = 15 (1.0 fps).  Can consider key frame interval as high as = 30 (0.5 fps)</li></ul>Every camera vendor has a different UI.  However, observe the default settings for the i-frame interval for each of the streams for the camera vendor (below).  All the streams are 15 fps.  However the i-frame interval is 30/60/120!  The only setting that may provide an ok user experience is the main stream.  If dual streams are connected, the live view will probably be choppy, slow, sluggish!  The i-frame interval for the two streams chosen to be used by BI for below example needs to be lowered to 15.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1749" class="postimage" alt="key-frame-sample_optimized.png" onclick="viewableArea(this);" /></dt></dl></div><br>FYI, not all cameras allow the ability to set key frame intervals.  Reolinks for example do not allow so for sub streams.  Key frame ratios for sub streams will be 0.25.  You can choose to disable sub streams if your server can handle the load.  If not, you can compensate for low key frame ratios with larger pre-trigger buffers as stated below.<br><br><span style="text-decoration:underline">Pre-trigger buffer</span><br><br>This topic is discussed in the <a href="viewtopic.php?f=11&amp;t=2305#Record%20format" class="postlink">Record tab</a> article because it's a recording setting.  However, the Pre-trigger buffer goes hand in hand with the key frame ratio so placed here as well.  Because D2D has become such a popular record setting (CPU savings), if the pre-trigger buffer is not set correctly based on the camera's key frame ratio, lots of issues may occur.  <div style="margin-left:3em"><br>For example, users may want a high-res jpeg of the alert image.  If the key frame / pre-trigger buffer are not set correctly, when BI requests the corresponding main stream frame which is only available in the pre-trigger buffer, the frame may not be available because the pre-trigger buffer does not have a key frame.  BI then generates an image from the sub stream.  Better something than nothing.<br><br>Another example is alert playback is sometimes a black screen.  This often means there was no key frame available in the alert recording.<br><br></div>Largely set based on user preference (5s is recommended).  Rule of thumb:<br>Pre-trigger buffer &gt;= 1/key frame ratio<br>For example, if the camera stats state 0.5 for the key frame ratio, 1/0.5 = 2s.  The pre-trigger buffer for the camera should be &gt;= 2s.  Or just use a default 5s pre-trigger buffer for all cameras and increase if you cannot control the key frame interval on the camera and it is really low.<br><br> <img class="smilies" src="https://blueirissoftware.com/forum/images/smilies/icon_idea.gif" width="15" height="17" alt=":idea:" title="Idea"> Creating healthy streams by setting the key frame ratio (&gt;0.5) and a correct pre-trigger buffer removes so many issues. <ul><li>Users have noted missed triggers.</li><li>Users have noted no recordings (0s recordings) for their alerts.</li><li>Email alerts have black image attachments.</li><li>Email alerts have images from wrong earlier alerts.</li></ul>The reason having the right key frame ratio and pre-trigger buffer is so critical is because not doing so, results in BI not having the desired frames when needed.  If the frame does not exist, bugs pop up!<br><br></div><strong class="text-strong"><a name="Warning symbol">Warning symbol</a></strong><div style="margin-left:3em"><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1750" class="postimage" alt="fps warning.png" onclick="viewableArea(this);" /></dt></dl></div><br>While just a warning symbol, i.e. BI will stream the video, this can have very adverse affects.  This warning is a clue that some of your camera settings (above) are not working well with BI.  If you are receiving these warnings recently, it is because we are now also monitoring key frame ratios when the setting has an affect on your configuration, like direct to disc or limit decoding.  The warning symbol appears if the key frame ratios drops below 0.4.<br><br>Fix: Revisit your <a href="viewtopic.php?f=22&amp;t=2598#Camera%20settings" class="postlink">camera encoding settings</a>, especially the Key frame ratio section right above!<br><br>Reolink known issue:  The sub stream for Reolinks often run at 0.25 kfps and the key frame interval is not configurable.  Sub streams are a huge benefit for CPU load.  So overall, if the video is not choppy, lagging etc, we recommend using sub streams.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1769" class="postimage" alt="camera settings kfps.png" onclick="viewableArea(this);" /></dt></dl></div><br><br>From Help file:<br><blockquote class="uncited"><div>The Log page in Status contains one or more warning messages or one or more<br>cameras has an error condition or warning, such as low frame rate or a push<br>webcasting error.</div></blockquote>Historically, the warning message was frequently due to the camera's FPS.  BI constantly measures the fps of your cameras.  At a peak time maybe the camera was sending 15 fps.  Maybe because of network congestion etc. the fps for that camera temporarily dropped to 2 fps.  The warning message would pop up.  Unless you observe persistent frozen cameras or lagging cameras, the issue resolved itself and you can ignore.  BI will display this warning when the FPS is 15% of the observed actual <em class="text-italics">max frame rate</em>.<br><br><br></div><p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=521">varghesesa</a> — Fri Sep 17, 2021 9:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[varghesesa]]></name></author>
		<updated>2021-05-12T01:29:11+00:00</updated>

		<published>2021-05-12T01:29:11+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=9091#p9091</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=9091#p9091"/>
		<title type="html"><![CDATA[Cameras • PTZ / Control]]></title>

					<category term="Cameras" scheme="https://blueirissoftware.com/forum/viewforum.php?f=22" label="Cameras"/>
		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=9091#p9091"><![CDATA[
<strong class="text-strong"><span style="font-size:150%;line-height:116%">Introduction</span></strong><div style="margin-left:3em"><br>This article walks through the PTZ/Control dialog in Camera settings.  This article is an extension of the PTZ/Control section in the Help files.  This article focuses on use cases and how to accomplish common/popular tasks or make users aware of capabilities in BI.  If you want to understand how an individual feature works, refer to the Help documentation.<br><br>If you prefer to listen instead of read, see the <a href="https://youtu.be/g_vWqbRIqKQ" class="postlink">PTZ and Camera Control webinar</a>.  <br><br><strong class="text-strong">If you were directed here from a ticket, try to self-correct using information below.  The Next steps / Submitting a ticket section (bottom of article) explains what is needed to move forward.</strong><br><br></div><strong class="text-strong"><span style="font-size:150%;line-height:116%">Controls</span></strong><div style="margin-left:3em"><br>You may be wondering why this dialog is called PTZ/Control.  The PTZ part is obvious.  The Control part has to do with features and functionality that exist on the camera that go beyond Pan-Tilt-Zoom.  Over the years, BI has provided access to these features via their custom drivers.  If you choose a BI driver (discussed in detail below), then additional features on the camera may be available.<br><br>To know what additional camera features are available, simply Right click on any camera -&gt; PTZ/Control.  The illustration below shows all the possible functionality available from a camera.  Selecting the feature will confirm whether the functionality is available with your driver.<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1267" class="postimage" alt="controls.png" onclick="viewableArea(this);" /></dt></dl></div><br></div><strong class="text-strong"><span style="font-size:150%;line-height:116%"><a name="PTZ">PTZ</a></span></strong><br>Connecting PTZ functionality to Blue Iris.<div style="margin-left:3em"><br><strong class="text-strong">PTZ via ONVIF</strong><div style="margin-left:3em">Connecting the PTZ functionality of a camera to Blue Iris usually starts behind the scenes via ONVIF.  Most camera vendors share PTZ functionality via ONVIF.  Most users begin by setting up their presets via the camera's user interface.  BI then pulls the PTZ controls and presets into BI via the ONVIF inspection.<br><br>Step 2 of the <a href="https://blueirissoftware.com/forum/viewtopic.php?f=11&amp;t=2043#Step%202" class="postlink">Camera Connector article</a> goes into detail on how to connect via ONVIF.   If the camera supports PTZ control via ONVIF, BI will let you know during Inspection.  Below is one example of the feedback provided from the camera as to whether ONVIF PTZ controls are provided.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1239" class="postimage" alt="iCamera_ONVIF3.PNG" onclick="viewableArea(this);" /></dt></dl></div><br><br>The PTZ/Control dialog will also confirm an ONVIF configuration.  See below.<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1269" class="postimage" alt="ptz onvif.PNG" onclick="viewableArea(this);" /></dt></dl></div><br><br><strong class="text-strong"><a name="ONVIF Gotcha">ONVIF Gotcha</a></strong><br>If your camera connected via ONVIF (i.e. Make / Model = Generic / RTSP) BUT the PTZ commands did not come over via ONVIF, you may have encountered an <a href="viewtopic.php?f=22&amp;t=2598#ONVIF%20Gotchas" class="postlink">ONVIF Gotcha</a>.  <br><br><br></div><strong class="text-strong"><a name="BI drivers">BI drivers</a></strong><div style="margin-left:3em">However, if the camera only has limited ONVIF support, it's very possible one of the many drivers in BI may work with your camera.  When you choose the Make / Model in the IP Config dialog, then the corresponding driver will be selected in the PTZ/Control dialog.  You are actually selecting drivers that were used in the past by other customers to connect to those same cameras.  Below is an example of a PTZ/Control dialog after a user selected Hikvision / DS-2CD6362... for Make/Model in the IP Config dialog.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1287" class="postimage" alt="hikvision ptz.png" onclick="viewableArea(this);" /></dt></dl></div><br><strong class="text-strong">OEM</strong><br>If your camera is not listed, often times the camera is actually manufactured by an OEM that may be listed.  One obvious example would be Annke vs Hikvision.  It is pretty obvious when you login to an Annke camera that the settings, look and feel of the user interface is similar or identical to the Hikvision user interface.  See below.  It's therefore a good bet the Hikvision drivers will work for Annke cameras.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1241" class="postimage" alt="annke-hikvision.png" onclick="viewableArea(this);" /></dt></dl></div><br><br>If the camera has some ONVIF support, the Find/Inspect dialog may tell you the OEM.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2029" class="postimage" alt="iCamera_ONVIF1.PNG" onclick="viewableArea(this);" /></dt></dl></div><br><br>You can also search the internet to determine the OEM for your particular camera.<br><br><br>Below is an example of multiple vendors (IPG, Escam, Yucheng) using the same PTZ implementation.  When customers put their cameras on the WAN for remote testing, we often discover PTZ implementations are duplicated amongst vendors.  We therefore group vendors where possible.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1271" class="postimage" alt="multiple vendors ptz.png" onclick="viewableArea(this);" /></dt></dl></div><br>This is why the list of Makes/Models in the PTZ list are only a subset of the Make/Model list provided in the IP Config dialog.  Many vendors copy PTZ implementations from other vendors.<br><br>If you are facing challenges getting PTZ to work, I know of customers that went through the entire PTZ list to see if any matched their camera.  <strong class="text-strong">If you come across a PTZ driver that happens to work with your camera, please let us know so we can update the user interface for the next user.</strong><br><br><br></div><strong class="text-strong"><a name="Final steps">Final steps</a></strong><div style="margin-left:3em"><br><strong class="text-strong">ONVIF PTZ Gotcha</strong><br><br>I encountered a ticket where PTZ worked great via ONVIF.  The user liked the camera so much, he bought three more.<br>No PTZ information came over via ONVIF for the newer cameras.  User feedback below.<br><blockquote class="uncited"><div>I went through article yesterday with a fine tooth comb and found that the latest version of BI is only loading "default" video stream profiles for at least any of my cameras (I even deleted a different model camera then added it again - only the default profile was provided). </div></blockquote>I guess the PTZ information was no longer part of the ONVIF Default Profile.<br><br>Fix:  Export settings from older camera that is working.  Import the settings and change the Connector settings (IP Config Dialog) to point to the new camera!<br><br><strong class="text-strong">ONVIF Device Manager</strong><br>If PTZ works with other third party software, it should definitely work with BI.  ONVIF Device Manager is a popular third party tool to test camera functionality supported via ONVIF.  <a href="viewtopic.php?f=15&amp;t=3101" class="postlink">See ONVIF device manager helper guide.</a><br><br>Also, if you know PTZ used to work with an earlier version of BI, the version information would also be very insightful.<br><br><br><strong class="text-strong">No ONVIF PTZ available.  No BI drivers work.</strong><br><br>We would be happy to do some remote testing.  But first make sure the camera is accessible to third parties.  A simple test is to open a browser.  Type in the IP Address of the camera and see if the camera login page pops up.  If so, can you login?  If yes, does the web interface provide PTZ controls?  If yes, then there is a possibility for BI to reverse engineer the appropriate http commands for the PTZ controls.  If not, it usually means the camera is closed to third party vendors.  Arlo, Amazon (Ring, Blink) are vendors where you can only access the camera via their phone app and closed to third party access.<br><br>This may be a good time to approach the camera vendor whether it provides ONVIF PTZ support.  If not, do they provide a library or dll that can be used by third party vendors.  One user asked how to connect their camera to VLC. After much prying, the vendor finally gave up the information. Camera vendors would prefer you use their software and lock you in to their ecosystem<br><br></div> <img class="smilies" src="https://blueirissoftware.com/forum/images/smilies/icon_exclaim.gif" width="15" height="17" alt=":!:" title="Exclamation"> <strong class="text-strong">Checkpoint:  BI has PTZ controls for the camera working. </strong><div style="margin-left:3em"><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1246" class="postimage" alt="PTZ.png" onclick="viewableArea(this);" /></dt></dl></div>This is great!  Now you can set your presets if they were not pulled over already via ONVIF.<ul><li>Use the BI arrows to position the camera.</li><li>Push and hold a preset number (e.g. 1, 2 etc) and the current camera location will be stored with the corresponding preset number!</li></ul><br><br></div></div><span style="font-size:150%;line-height:116%"><strong class="text-strong"><a name="Settings">Settings</a></strong></span><div style="margin-left:3em"><br>This section explains many of the knobs and buttons that exist in the dialog.  We also highlight some of the popular solutions and explain all the settings required to implement the solution.<br><br><strong class="text-strong">Custom PTZ Driver</strong><div style="margin-left:3em"><br>Users have the ability to create their own drivers for their cameras.  The first selection in the list box is * CUSTOM HTTP *.  If you do so, please share with Support so we can add your driver to the list.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1250" class="postimage" alt="custom ptz.PNG" onclick="viewableArea(this);" /></dt></dl></div><br></div><strong class="text-strong">PTZ Options</strong><div style="margin-left:3em">Help file explains different options.  See Options section under PTZ/Control.<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1262" class="postimage" alt="ptz options.PNG" onclick="viewableArea(this);" /></dt></dl></div></div><strong class="text-strong">Zoom</strong><div style="margin-left:3em"><br>The list box are the zoom options.<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1263" class="postimage" alt="zoom settings.PNG" onclick="viewableArea(this);" /></dt></dl></div><br><strong class="text-strong">No PTZ cursor</strong><br><br>User interface only allowed to zoom in/out.  No arrows (PTZ controls) to move the camera.<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1272" class="postimage" alt="no-ptz-cursor_optimized.png" onclick="viewableArea(this);" /></dt></dl></div><br><strong class="text-strong">PTZ + digital zoom</strong><br><br>User interface always has arrows available (PTZ controls).  Can move the camera whether zoomed out or zoomed in.<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1273" class="postimage" alt="ptz-digital-zoom_optimized.png" onclick="viewableArea(this);" /></dt></dl></div><br><strong class="text-strong">PTZ unless zoomed</strong><br><br>You have access to arrows when zoomed out (PTZ controls).  Once you start zooming in, PTZ is off and you only have access to digital zoom.<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1274" class="postimage" alt="ptz-unless-zoomed_optimized.png" onclick="viewableArea(this);" /></dt></dl></div><br></div><strong class="text-strong">Suspend motion detection</strong><div style="margin-left:3em">Default is on.  Not sure why anyone would turn it off.  By default, motion detection is suspending during PTZ operation (i.e. moving the camera) and for 1.5 seconds afterward (move button is released).<br><br></div></div><span style="font-size:150%;line-height:116%"><strong class="text-strong"><a name="Auto-cycle">Auto-cycle</a></strong></span><div style="margin-left:3em"><br>Many customers with PTZ controls would like the camera to move between presets, often referred to as PTZ Patrol.  Blue Iris provides this ability.  In addition, the user can associate different cycles to different profiles as well.  For example, you can have one patrol sequence for the day profile and a different sequence for the night profile.  <br><br><span style="text-decoration:underline">Work Hours Schedule</span><br>Many customers create a business hours / off-hours schedule with two profiles, (1) Away and (2) Work hours.<br><br>Goal:<br>Work hours has a unique auto-cycle patrol: 1 - 3 - 7 - 9<br>Away has another unique auto-cycle patrol: 1 - 5 - 9 - 14<br><br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1252" class="postimage" alt="business hours schedule.PNG" onclick="viewableArea(this);" /></dt></dl></div><br>To create the auto-cycle presets for the Profiles follow the steps below:<div style="margin-left:3em"><strong class="text-strong">In Camera settings -&gt; PTZ / Control tab -&gt; Edit Presets dialog.</strong><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1264" class="postimage" alt="presets.PNG" onclick="viewableArea(this);" /></dt></dl></div><br></div><div style="margin-left:3em"><strong class="text-strong">Preset 1:  Active for both profiles.</strong><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1281" class="postimage" alt="preset1.PNG" onclick="viewableArea(this);" /></dt></dl></div><br>While the above will work, keep in mind a shortcut is to just to leave everything on.  Why will this still work?<br>Because the schedule only has Profiles 1 and 2.  Profiles 3, 4, etc. are never called since they are not in the schedule.<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1282" class="postimage" alt="preset1a.PNG" onclick="viewableArea(this);" /></dt></dl></div><br></div><div style="margin-left:3em"><strong class="text-strong">Preset 2:  Not active for either profile.</strong><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1283" class="postimage" alt="preset2.PNG" onclick="viewableArea(this);" /></dt></dl></div>To be safe, I can also deactivate all the inactive profiles with the same result.<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1284" class="postimage" alt="preset2a.PNG" onclick="viewableArea(this);" /></dt></dl></div><br></div><div style="margin-left:3em"><strong class="text-strong">Profile 3:  Only active for Profile 1.</strong><br>Again you can set the preset inactive for Profile 2 as seen below.<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1285" class="postimage" alt="preset3.PNG" onclick="viewableArea(this);" /></dt></dl></div>Or set the preset active for only Profile 1.<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1286" class="postimage" alt="preset3a.PNG" onclick="viewableArea(this);" /></dt></dl></div><br><strong class="text-strong">Auto-cycle Settings / User Interface</strong><br><br>Camera settings -&gt; PTZ/Control tab.  Pay attention to other customizations available with auto-cycle.  Help (Preset positions section) explains each feature.  Just as easy to turn on and experiment.<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1261" class="postimage" alt="auto-cycle preset options.PNG" onclick="viewableArea(this);" /></dt></dl></div><br></div><div style="margin-left:3em"><strong class="text-strong">Auto-cycle on/off</strong><br>Auto-cycle patrol checkbox allows user to turn auto-cycle on/off.  A button on the UI as seen below also controls on/off.<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1260" class="postimage" alt="autocycle icon.png" onclick="viewableArea(this);" /></dt></dl></div></div> <img class="smilies" src="https://blueirissoftware.com/forum/images/smilies/icon_exclaim.gif" width="15" height="17" alt=":!:" title="Exclamation"> Checkpoint:  Auto-cycle created.<br>We created two profiles: Work hours &amp; Away.<br>Work hours has a unique auto-cycle patrol: 1 - 3 - 7 - 9<br>Away has another unique auto-cycle patrol: 1 - 5 - 9 - 14</div><br><br><strong class="text-strong"><span style="font-size:150%;line-height:116%"><a name="Autocycle Zones">Autocycle Zones</a></span></strong><div style="margin-left:3em"><br>Just like you can define trigger alerts for non-PTZ cameras by setting the BI motion sensors in the trigger tab, you can do the same with your presets.  Let BI do the monitoring and allow you to manage the alerts!<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1266" class="postimage" alt="preset motion overrides.PNG" onclick="viewableArea(this);" /></dt></dl></div><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1276" class="postimage" alt="preset-motion-settings-night_optimized.png" onclick="viewableArea(this);" /></dt></dl></div><div style="margin-left:3em"><br><strong class="text-strong"><a name="Pro Tip 1">Pro Tip 1</a></strong>:  Keep in mind, the object crosses zones logic is SHARED across all presets.  You can redefine the zones per preset, i.e. a different Zone A etc. <br> However, the object crossing logic is shared.  So something like below will work.  The logic is saying if BI detects any motion in regions A, B or C, trigger an alert.  If the other presets only define A and/or B and/or C, the object crosses zones logic will still trigger.<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1275" class="postimage" alt="zone logic.PNG" onclick="viewableArea(this);" /></dt></dl></div>However, if the logic were more complicated such as<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1277" class="postimage" alt="zone logic complicated.PNG" onclick="viewableArea(this);" /></dt></dl></div>Every preset with a zone override would have to implement an A, B and C zone.  Furthermore, the same object crossings would need to be fulfilled in order for a trigger alert to generate for the other presets.  Having A,B and C zones may not apply for all presets.  And most certainly the logic probably would not apply across all presets.<br><br><strong class="text-strong">Rule of thumb:  Minimize zones and object crossing logic, so trigger alerts logic can apply across all presets.</strong><br><br><br></div><div style="margin-left:3em"><br><strong class="text-strong"><a name="Pro Tip 2">Pro Tip 2</a>: Trigger tab</strong><br>The trigger tab can also define zones and zone crossing logic.  The trigger tab settings are known as the "default" zone settings.<br>The zones associated with presets are known as preset zones.<br>It can get very confusing when an auto-cycle is active and a user goes to a camera and starts using the PTZ controls, disrupting the cycle.  After the user is done actively controlling the camera, the software eventually resumes the auto-cycle.<br><br>The default resume cycle setting is to go back to the cycle / schedule after 30 s.<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1278" class="postimage" alt="resume cycle.PNG" onclick="viewableArea(this);" /></dt></dl></div><br>If the default zone settings from the trigger dialog and the preset zone settings are both active, it becomes very challenging to know what the software is doing.  <strong class="text-strong">It is therefore a best practice to disable the default zone settings (Camera settings -&gt; Trigger tab -&gt; Motion Sensor dialog) when using a camera with PTZ and preset zone settings.</strong><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1279" class="postimage" alt="default trigger zone.png" onclick="viewableArea(this);" /></dt></dl></div><br><br><strong class="text-strong">Timed PTZ events (Events schedule)</strong><br><br>A similar yet different topic to auto-cycle that is also popular among users is scheduled events for a camera.  Some examples below:<br><ul><li>Users want to turn the IR lights for a camera on at sunset and off at sunrise.</li><li>During the work hours profile, users may want the PTZ camera to face the door (preset 1) and auto-cycle during the off-hours profile.</li></ul>This capability is part of the Camera control event schedule dialog.  Camera settings -&gt; Schedule -&gt; Events schedule.  While related to presets and PTZ functionality, it is actually part of the Profiles and Schedules sub-system.  See corresponding Help from the dialog for details.<br><br><br><strong class="text-strong"><a name="Pro Tip 3">Pro Tip 3</a>: Event schedule</strong><br>The reason I am bringing up Events Schedule is because the final gotcha leverages it for the fix.  The issue is once BI shifts back into auto-cycle mode after a user override (a user used the PTZ controls to move the camera, e.g. to investigate a situation), how does BI know which preset to start.  You simply add a Camera Control Event for the "home" preset.  <br><br>Also select <strong class="text-strong">Search-back at startup/reset</strong>.  This setting tells BI, regardless of time, find current settings for things like Preset, Brightness etc.  In this particular case, even though the event states 7:54 pm, the event will be executed regardless of time when auto-cycle is reset.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2051" class="postimage" alt="control event schedule.PNG" onclick="viewableArea(this);" /></dt></dl></div><br>With at least one PTZ preset in the Event schedule, BI always knows which preset to start.  If there are other preset events entered, not a problem.  Based on the time of day, the correct preset will always be chosen.<br><br><br></div></div><span style="font-size:150%;line-height:116%"><strong class="text-strong">Automation Use Cases</strong></span><div style="margin-left:3em"><br>Coming soon!  How customers are creating triggers to home automation systems and other devices based on Presets.<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1268" class="postimage" alt="preset action map.png" onclick="viewableArea(this);" /></dt></dl></div><br></div><span style="font-size:150%;line-height:116%"><a name="Pro Tips">Pro Tips</a></span><div style="margin-left:3em"><br><strong class="text-strong">Pro Tip 1</strong><div style="margin-left:3em">Pro Tip 1 is about awareness.  Some settings in the Trigger tab are universal, i.e. they apply across ALL zones whether they are defined in the Trigger tab OR for a preset.  <a href="viewtopic.php?f=22&amp;t=2290#Pro%20Tip%201" class="postlink">See Pro Tip 1</a> above for details.<br><br></div><strong class="text-strong">Pro Tip 2</strong><div style="margin-left:3em">Also regarding the Trigger tab and defining Zones in Presets, you have to be careful if you define zones in Presets AND in the Trigger tab.<br>See <a href="viewtopic.php?f=22&amp;t=2290#Pro%20Tip%202" class="postlink">Pro Tip 2</a> above for details.<br><br></div><strong class="text-strong">Pro Tip 3</strong><div style="margin-left:3em">Users often wonder if a security guard takes control of a camera for investigation, how to then set the starting preset after autocycle resumes.<br>See <a href="viewtopic.php?f=22&amp;t=2290#Pro%20Tip%203" class="postlink">Pro Tip 3</a> above for details.<br><br></div><strong class="text-strong">Pro Tip 4</strong><div style="margin-left:3em">Use case:  You have a camera facing the street.  However, you only really care about people entering your property.  Therefore you create Preset 1 facing the street.  When there is activity, camera moves to preset 2.  In preset 2 you apply more advanced analytics such as DeepStack to generate smarter alerts.<br><br>Step 1: When camera triggers, tell BI to move to a specific preset.<br>From Camera settings -&gt; Trigger tab.<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2043" class="postimage" alt="ptz_pro tip 4-image 1.png" onclick="viewableArea(this);" /></dt></dl></div><br>Step 2: Set how long camera should remain in Preset position.<br>Camera settings -&gt; PTZ tab.<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2044" class="postimage" alt="ptz_pro tip 4-image 2.png" onclick="viewableArea(this);" /></dt></dl></div><br>Pro Tip 3 above explains how to tell camera to move back to original position.<br><br></div></div><span style="font-size:150%;line-height:116%"><a name="Gotchas">Gotchas</a></span><div style="margin-left:3em"><br>This section documents learnings from past tickets.<br><br><strong class="text-strong"><a name="Gotcha 5">Gotcha 5</a>: ONVIF PTZ presets disappear</strong><div style="margin-left:3em"><br>Issue:  You connected your camera via ONVIF.  PTZ is working.  However, BI consistently loses PTZ presets, PTZ controls still work.<br><br>Turns out cameras may have restart timers.  If enabled, the restart may erase your presets.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2102" class="postimage" alt="ptz_restart.png" onclick="viewableArea(this);" /></dt></dl></div><br></div>  <br><strong class="text-strong"><a name="Gotcha 4">Gotcha 4</a>: No PTZ Functionality</strong><div style="margin-left:3em">See <strong class="text-strong">Connecting PTZ functionality to Blue Iris</strong> section above.</div><br><strong class="text-strong"><a name="Gotcha 3">Gotcha 3</a>: PTZ stopped working</strong><div style="margin-left:3em"><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1954" class="postimage" alt="ptz_gotcha3.png" onclick="viewableArea(this);" /></dt></dl></div><br>The 12029 error is a network timeout.  The camera is not responding (fast enough) to the ONVIF requests.<br><br>Fix:<br>Double check all security software exemptions to make sure the BlueIris.exe is having no block/trouble accessing the network.<br>See <a href="viewtopic.php?f=14&amp;t=2080" class="postlink">Windows Tuning</a> article.<br><br>If PTZ controls came over via ONVIF, BI may need to do some remote testing to attempt to discover the actual HTTP PTZ commands and bypass ONVIF.<br><br></div><strong class="text-strong"><a name="Gotcha 2">Gotcha 2</a>: PTZ appears not to work.  However, there is just a long delay</strong><div style="margin-left:3em"><br>Sometimes you test PTZ and it appears not to be working.  It may be the the response from the camera is very slow.<br>Test:  Lower the resolution on the camera and see if PTZ becomes more responsive.<br><br></div><strong class="text-strong"><a name="Gotcha 1">Gotcha 1</a>:  Cannot set a preset</strong><div style="margin-left:3em"><br>The "set" function for presets is dependent upon the PTZ setting.  Camera settings -&gt; PTZ/Control tab.<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1502" class="postimage" alt="ptz make.png" onclick="viewableArea(this);" /></dt></dl></div><br>The "set" function does not work with the ONVIF PTZ preset setting.  An appropriate vendor selection needs to be chosen if one exists. <br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1503" class="postimage" alt="ptz onvif.PNG" onclick="viewableArea(this);" /></dt></dl></div><br>Alternatively, many users create presets in the camera interface and import the presets via ONVIF using the Find/Inspect button in the IP Config Dialog.<br><br><br></div></div><strong class="text-strong"><span style="font-size:150%;line-height:116%">Next steps / Submitting a ticket</span></strong><div style="margin-left:3em"><br>If still an issue:<div style="margin-left:3em"><br>Describe the issue.<br>Share your camera settings.  Camera settings -&gt; General tab -&gt; Export.<br>Put the camera on the WAN for <a href="viewtopic.php?f=15&amp;t=3130" class="postlink">remote testing</a>.<br><br></div></div><p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=521">varghesesa</a> — Wed May 12, 2021 1:29 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[jpauljohnson]]></name></author>
		<updated>2021-03-28T01:13:03+00:00</updated>

		<published>2021-03-28T01:13:03+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=11090#p11090</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=11090#p11090"/>
		<title type="html"><![CDATA[Cameras • Re: Reolink Gotchas]]></title>

					<category term="Cameras" scheme="https://blueirissoftware.com/forum/viewforum.php?f=22" label="Cameras"/>
		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=11090#p11090"><![CDATA[
Thank you so much.  I've been agonizing over this NO SIGNAL issue for months while working on a commercial install.  Over 40 cameras, RLC-410-5MP, and over half had the NO SIGNAL issue.  So relieved.  Just reprogrammed all cameras and have NO MORE PROBLEMS.  Wow.  I was using the Reolink Windows Client because of this.  Back to BI5!!<br><br>Thanks a million!<p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=2288">jpauljohnson</a> — Sun Mar 28, 2021 1:13 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[brendanjacques]]></name></author>
		<updated>2021-02-26T16:46:29+00:00</updated>

		<published>2021-02-26T16:46:29+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=11089#p11089</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=11089#p11089"/>
		<title type="html"><![CDATA[Cameras • Re: Reolink Gotchas]]></title>

					<category term="Cameras" scheme="https://blueirissoftware.com/forum/viewforum.php?f=22" label="Cameras"/>
		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=11089#p11089"><![CDATA[
I'd like to add to this thread that this issue exists with the Reolink RLC-822A as well.  Subscribing to only the main stream results in smooth 4K video, but, as expected, also very high CPU usage.  Adding the substream drops the main stream down to .5-2FPS.<br><br>Adding only the substream isn't perfect either...  It freezes randomly and briefly when viewing full screen, and when viewing the live video matrix, the individual cameras only update when they're selected.<br><br>The cameras are all running Reolink's latest (and so far, only) firmware of: 20112607<br><br>Are there any updates on these issues from the Blue Iris side?<p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=3669">brendanjacques</a> — Fri Feb 26, 2021 4:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[varghesesa]]></name></author>
		<updated>2021-02-25T22:16:36+00:00</updated>

		<published>2021-02-25T22:16:36+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=11087#p11087</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=11087#p11087"/>
		<title type="html"><![CDATA[Cameras • Camera Vendor Gotchas]]></title>

					<category term="Cameras" scheme="https://blueirissoftware.com/forum/viewforum.php?f=22" label="Cameras"/>
		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=11087#p11087"><![CDATA[
<strong class="text-strong">Introduction</strong><br><br>This article is from BI support regarding camera settings and BI settings that can result in camera streaming issues.<br><br><strong class="text-strong">Reolink</strong><br><br><a href="https://blueirissoftware.com/forum/viewtopic.php?f=7&amp;t=2072" class="postlink">Separate page for Reolink gotchas.</a><br><br><strong class="text-strong">ezviz</strong><br><br>Fisheye Doorbells.  The doorbell randomly moves focus to the upper left quadrant.<br>The fix: In the camera app, change "standard def" to "hi-def" or "ultra-def".<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2065" class="postimage" alt="ezviz issue optimized.png" onclick="viewableArea(this);" /></dt></dl></div><br><br><strong class="text-strong">Q-See</strong><br>FYI, Dahua is the OEM for Q-See.  Apparently, Q-See is going out of business.<br>ONVIF states, profile3 is the sub stream.  It is actually <strong class="text-strong">profile2</strong>.<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2066" class="postimage" alt="q-see.png" onclick="viewableArea(this);" /></dt></dl></div><p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=521">varghesesa</a> — Thu Feb 25, 2021 10:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[varghesesa]]></name></author>
		<updated>2021-02-15T18:34:04+00:00</updated>

		<published>2021-02-15T18:34:04+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=11088#p11088</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=11088#p11088"/>
		<title type="html"><![CDATA[Cameras • Reolink Gotchas]]></title>

					<category term="Cameras" scheme="https://blueirissoftware.com/forum/viewforum.php?f=22" label="Cameras"/>
		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=11088#p11088"><![CDATA[
<span style="font-size:150%;line-height:116%"><strong class="text-strong">Introduction</strong></span><br><br>This post (article) from BI Support is so the BI Support team can provide information quickly to the community based on support findings and troubleshooting.<br><br><strong class="text-strong">Reolink engineers have identified video freeze issues with dual streams on their 8MP cameras (RLC-810A, RLC-811A and RLC-820A).  Work in progress.</strong><br><br><br><br><span style="font-size:150%;line-height:116%"><strong class="text-strong">Camera details</strong></span><br><br><strong class="text-strong">Reolink Gotcha - H.264 High profile</strong><div style="margin-left:3em"><br>Reolink H.264 High profile (default setting) causes no signal.  Switch to H.264 Baseline.<br><br><br></div><strong class="text-strong">Reolink Duo</strong><div style="margin-left:3em"><br>Left channel main: /bcs/channel0_main.bcs?channel=0&amp;stream=0&amp;user={id}&amp;password={pw}<br>Left channel sub: /bcs/channel0_sub.bcs?channel=0&amp;stream=0&amp;user={id}&amp;password={pw}<br><br>Right channel main: /bcs/channel1_main.bcs?channel=0&amp;stream=0&amp;user={id}&amp;password={pw}<br>Right channel sub: /bcs/channel1_sub.bcs?channel=0&amp;stream=0&amp;user={id}&amp;password={pw}<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2325" class="postimage" alt="reolink_duo.png" onclick="viewableArea(this);" /></dt></dl></div><br></div><strong class="text-strong">RLC-4xxx / RLC-5xx series</strong><div style="margin-left:3em"><br>Most cameras connect via RTSP today.  However, Reolink provides RTSP and RTMP support.  From our testing, RTMP seems to perform better.  Many users were complaining about the No Signal message when using RTSP from BI.  When switching to RTMP, the cameras worked perfectly for the mainstream and the sub stream.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2075" class="postimage" alt="reolink_rtmp_optimized.png" onclick="viewableArea(this);" /></dt></dl></div><br>In order to leverage the RTMP stream from Reolink, the Network IP Configuration dialog needs to look like below (note the RTMP choice for Model and usage of Port 1935 for media):<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2076" class="postimage" alt="reolink_ip-config_optimized.png" onclick="viewableArea(this);" /></dt></dl></div><br>I believe the RLC 4 &amp; 5 series both provide ONVIF support.  If so, you can simply leverage ONVIF to populate the main and sub stream URIs.  Please review <a href="https://blueirissoftware.com/forum/viewtopic.php?f=11&amp;t=2043" class="postlink">Camera Connector</a> article for details on connecting cameras correctly.<blockquote class="uncited"><div>Note on PTZ:  If ONVIF information is not seen being pulled over in the Find/Inspect dialog, one user stated it was because the RTSP port was NOT enabled in the web interface.  ONVIF information came over on port 8000 after enabling RTSP.  More importantly, PTZ controls came over via ONVIF.</div></blockquote><br>Without ONVIF, selecting the "*RLC-410... Baseline RTMP" Model will also populate the mainstream.  Simply copy/paste mainstream to sub stream.  Change "main" to "sub" in sub stream URI as seen above.  However, PTZ controls will not work.<br><br><br></div><strong class="text-strong">RLC-423 PTZ customer intel</strong><div style="margin-left:3em"><br>According to another user, changing settings (e.g. encoding from H.264 High to H.264 Baseline) on the RLC-423 requires a restart.  There may be a firmware bug that resets the PW, IP address from static to DHCP among other settings when performing a restart.  Reolink support states no more support for this camera and recommends upgrading the camera.<br><br>According to a user, the RLC 423 Make/Model does not work.  However, the camera connects via ONVIF.  Unfortunately, PTZ controls do not come across through ONVIF.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2073" class="postimage" alt="rlc 423.png" onclick="viewableArea(this);" /></dt></dl></div><br></div><strong class="text-strong">510A/520A: 5 MP with person/vehicle detection</strong><div style="margin-left:3em"><br>Users are reporting a bad experience when connecting cameras to Blue Iris.  One user reported receiving new firmware (v3.0.0.206_21031688).  The firmware resulted in main/sub fps speeds of 20 FPS.  Prior, the speeds were 4/15 FPS respectively.  On BI, the mainstream lagged by 10s, drops to 2-4 fps and eventually causes BI to crash.  Similar issues, i.e. crashes, BI freezing up stated by other users.<br><br>Another user said RTSP streams work well using settings below (810/620).<br><br></div><strong class="text-strong">RLC-810A</strong><div style="margin-left:3em"><br><strong class="text-strong">2021-May-26 Update</strong>  <br><br>Below IP Config Settings seem to work according to another user.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2070" class="postimage" alt="reolink rlc-810A.png" onclick="viewableArea(this);" /></dt></dl></div><br>Anecdotal:  One more quick feedback…checking the Decoder compatibility mode on the Video=&gt;Configure page, seems to allow the dual stream to work on the 810-A.  Not sure what happens by checking this box, and it does come with some occasional brief video glitches, but the CPU usage drops and it seems that the sub stream is being monitored.  Hope this condition can eventually be fixed.<br><br><br><br><strong class="text-strong">2021-May-5 Update</strong> <br><br>The below settings tend to work.  Yes, h265 is in the main uri, while h264 is in the sub uri.  NOT a typo.  Make sure to select Decoder compatibility mode.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2068" class="postimage" alt="reolink 810A.PNG" onclick="viewableArea(this);" /></dt></dl></div><br>The camera settings for sub/main (left / right) is below:<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2069" class="postimage" alt="reolink 810 camera settings.PNG" onclick="viewableArea(this);" /></dt></dl></div><br></div><strong class="text-strong">Reolink RLC 820A </strong><br><br><strong class="text-strong">2021-Aug-29 Update</strong><br><br>RLC-820A is running firmware v3.0.0.412_21063001<br>Blue Iris 5.4.7.11<br><br>User comments<div style="margin-left:3em"><br>With the attached config I've pretty much eliminated video artifacts (minus that annoying everything turns grey in the x265 stream periodically) and <strong class="text-strong">this audio issue is the last one I'm hunting down</strong>.<br>I've attached my config for the RLC-820A since it seems to keep its sync the longest.<br>One thing I can tell you is decoder compatibility mode is no longer required with the later firmware, and just introduces more artifacts<br><br>Also, I've asked around, and the audio drift is very much an issue on the Reolinks, but I think I may have figured out the root cause and it's odd. I need more time to test to say it's "stable" but it seems to be related to the Reolink keeping time. They seem to keep "fast" time and get ahead. By default, once a day, they reach out to the NTP server and sync their time. Something happens where it adjusts the video, but not the audio stream when it syncs the time (even if ignoring OR subscribing to the RTSP time codes), causing the audio to end up further and further ahead with each time sync. Adjusting my time sync interval to test it, has caused the audio/video to stay in sync, for how long, I don't know.<br><br><strong class="text-strong">The RLC820A doesn't need the time codes, and honestly in the below config does everything mostly well.</strong><br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2077" class="postimage" alt="RLC820A_Reolink_Config.PNG" onclick="viewableArea(this);" /></dt></dl></div><br>Users also select the H.264 RTSP model.  Some hardware acceleration cannot decode H.265 so H.264 is selected.<br><br></div><strong class="text-strong">RLC-822A</strong><br><br><strong class="text-strong">2021-Aug-29 Update</strong><br><br>Firmware: V3.0.0.412.<br><br>User comments<div style="margin-left:3em"><br>Unlike the RLC-820A, the RLC822A DOES need the RTSP timecodes, or the audio will go out of sync.  The audio is also constantly blipping a bit when using the time codes, but it at least stays in sync. Also, I made a massive network buffer, and a 15 second pre trigger. It used to be 12.5, but I would occasionally end up with the weird grey everywhere and only the moving object visible. The bigger pre trigger (or network buffer? I did both at the same time) seems to ensure there's a keyframe. Also I've adjusted the keyframe interval on the camera itself and it's 1 during the day, but still takes a dump at night with the newer firmware. The key thing to all of this is not letting the reolinks update their time and it seems to work better.<br><br>And LOL at notifying Reolink, if I knew what I know now, I'd never buy any of their terrible products. One of my cameras arrived broken and I've had the misfortune of dealing with their support already, I'm fairly certain they'd do nothing with the above mentioned information.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2078" class="postimage" alt="RLC822A_WorkingButBlips.PNG" onclick="viewableArea(this);" /></dt></dl></div><br>Users also select the H.264 RTSP model.  Some hardware acceleration cannot decode H.265 so H.264 is selected.<br><br></div><strong class="text-strong">E1 Zoom</strong><div style="margin-left:3em"><br>E1 Zooms should now work in BI.  Some gotchas include switching the H.264 profile from High (default) to Base.  According to one user, the setting is buried in the camera's web interface.  The setting can be found in the Playback tab -&gt; Basic settings page as seen below.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2071" class="postimage" alt="E1 zoom settings.png" onclick="viewableArea(this);" /></dt></dl></div><br>When connecting the cameras, select the BI drivers instead of ONVIF to connect via RTMP instead of RTSP.<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2072" class="postimage" alt="E1 zoom driver.PNG" onclick="viewableArea(this);" /></dt></dl></div></div><strong class="text-strong">E1 Pro</strong><div style="margin-left:3em"><br>Update: 2022-Jan-8.  Thanks again to our user community for feedback and learnings for the next user.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2326" class="postimage" alt="reolink_e1 pro.png" onclick="viewableArea(this);" /></dt></dl></div><br>Reolink's PC Client software shows E1 Pro encoding settings.<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2357" class="postimage" alt="E1 Pro H264 Profile Settings_.jpg" onclick="viewableArea(this);" /></dt></dl></div><br></div><strong class="text-strong">Reolink Argus2</strong><div style="margin-left:3em"><blockquote class="uncited"><div>I just checked the Reolink website and it tells me that <strong class="text-strong">battery powered cameras</strong>, like the Argus 2, cannot be connected to software like Blue Iris to preserve battery life.</div></blockquote></div><strong class="text-strong">Reolink B800</strong><div style="margin-left:3em"><br>The B800 series have been replaced by the 810/820 lineup so probably not widely used anymore.  However, it turns out while the camera claims ONVIF compatibility, in fact the camera is closed and proprietary.<br><br>Here is a <a href="https://www.thirtythreeforty.net/posts/2020/05/hacking-reolink-cameras-for-fun-and-profit/" class="postlink">great article</a> on one engineer's journey to reverse engineer the B800 to access the streams.<br><br></div><strong class="text-strong">Reolink B400</strong><div style="margin-left:3em"><br>Reolink explicitly states on their <a href="https://reolink.com/us/product/b400/" class="postlink">website</a> that the B400 is only compatible with their NVR.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2588" class="postimage" alt="reolink_B400.png" onclick="viewableArea(this);" /></dt></dl></div><br>You can always ask Reolink if they have updated camera drivers that allow connectivity to 3rd party software via the RTSP / ONVIF standards.<br><br><br></div><strong class="text-strong">Final Thoughts</strong><br><br>2021-Jun-10: With all these very high resolution (8MP) cameras becoming more and more pervasive, there is an increased load on your networking equipment.  Closed a ticket yesterday after a user discovered the core issue was his modem/router could not handle the traffic from his 810A causing No Signal errors on BI(see below).<br><br>"No, only one camera was initially causing trouble.  I have 4 reolink and the amcrest.  Interestingly, the wireless reolink worked great.  The poe 810A was the most problematic,..and I think also the highest resolution.  Hence, perhaps some timeouts or something with my old / bad modem.  No problems since I replace the modem."<p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=521">varghesesa</a> — Mon Feb 15, 2021 6:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[varghesesa]]></name></author>
		<updated>2021-01-27T22:53:08+00:00</updated>

		<published>2021-01-27T22:53:08+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=7968#p7968</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=7968#p7968"/>
		<title type="html"><![CDATA[Cameras • Camera Connector - IP Config Dialog]]></title>

					<category term="Cameras" scheme="https://blueirissoftware.com/forum/viewforum.php?f=22" label="Cameras"/>
		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=7968#p7968"><![CDATA[
<span style="font-size:150%;line-height:116%"><strong class="text-strong">Introduction</strong></span><div style="margin-left:3em"><br>This document outlines the steps to connect IP Cameras successfully to Blue Iris (BI).  <br><br>If you prefer to watch the webinar associated with this article, see the <a href="https://youtu.be/OT3Y8n53EuQ" class="postlink">Camera Connections and Streams webinar</a>.<br><br>More and more cameras are coming out with higher and higher resolutions (&gt; 2MP).  These cameras often provide two and sometimes three streams.  The reason for the multiple streams is so camera vendors can provide better images and clarity (high resolution, more network bandwidth) and also provide a good user experience for remote access (mobile phones, web interfaces).  This tension between higher resolutions and good user experience has resulted in cameras providing multiple streams.  <br><br>The below steps explain how to connect cameras to BI with a single stream or multiple streams.  If you have an older camera, multiple streams may not be available.  For example, cameras with a resolution of 1 MP or less usually do not have or require dual streams.  Most networks can support &lt;1MP resolution cameras. <br><br><br><strong class="text-strong">Closed environments</strong><br><br>Some camera manufacturers have a closed environment, i.e. no 3rd party access to their cameras.  Amazon Ring, Arlo and common examples.  Some vendors are hybrid, they prefer to control the customer experience, however they also provide a public URL to their cameras for 3rd party access.  Google Nest is the most common example.<br><br>Camera manufacturers that support 3rd party access will post ONVIF and/or RTSP support on their web product listings or documentation.  If their product postings state vendor app, cloud solution with no mention of support for standards, well, those are tell-tale signs that the camera probably will not connect to BI. <br><br><strong class="text-strong">How Blue Iris leverages the different streams</strong><br>The biggest advantage of sub streams is the drastic drop in CPU usage for the same cameras.  This savings is largely attributed to using the sub stream for live view in the all camera (mosaic) view which is the common view on most displays.  By leveraging the sub stream at a much lower resolution, the decoding and displaying of the stream is much easier on the CPU.  In addition, a significantly reduced amount of RAM is used on a per camera basis.<br><br>Specifically, in Blue Iris the main stream is used for:<ul><li>direct to disc recording so playback and evidence gathering is in high resolution</li><li>single-camera live viewing and recording playback so if a user is focused on one particular camera, he/she has the clearest view possible</li><li>audio recording</li></ul>The sub stream is used for everything else:<ul><li>multiple-camera view (mosaic view)</li><li>motion detection</li><li>alert snapshots etc</li></ul><span style="font-size:150%;line-height:116%"><strong class="text-strong">Network IP Camera Configuration Dialog</strong></span><br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1607" class="postimage" alt="IP Config 320.png" onclick="viewableArea(this);" /></dt></dl></div><br><strong class="text-strong">Follow basic steps below to connect your IP cameras.</strong><br><br>In order to be successful, the camera encoding settings are set to work with BI.<br>Furthermore, you have the following information for each camera.<ul><li>IP Address</li><li>Username</li><li>Password</li><li>Web, RTSP and ONVIF ports</li></ul>If not, work through <a href="viewtopic.php?f=22&amp;t=2598" class="postlink">Camera setup article</a>.<br><br></div><span style="font-size:150%;line-height:116%"><strong class="text-strong"><a name="Step 1">Step 1</a>: Find / Inspect button</strong></span><div style="margin-left:3em"><br><strong class="text-strong">UPnP / WS Discovery connections</strong><br>Devices on the network may use various standard protocols such as WS-Discovery and UPnP (Universal Plug N Play) to let other devices know they exist on the network for connectivity.  If your router also supports these protocols, then it is possible for BI to find these devices (unlikely and not recommended due to lack of security).  In summary, there are two dependencies that need to be met before a camera is visible to BI:<ul><li>The router has to ALLOW UPnP traffic.  Many ISP routers, e.g. AT&amp;T, do not allow UPnP traffic because it presents a security risk.  Crafty actors on the internet may find ways to discover devices on your network and get control.<br>Mesh routers, e.g. Orbi Mesh, do allow UPnP traffic, because these routers sit behind the ISP firewall.</li><li>Your cameras have to have UPnP enabled otherwise how can the camera be identified.</li></ul><strong class="text-strong">Most users start with Step 2</strong>.  <br><br><strong class="text-strong">Provide the username / password of the camera and select Find/Inspect.</strong><br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=897" class="postimage" alt="FindInspect.png" onclick="viewableArea(this);" /></dt></dl></div><br>The Find/Inspect button will discover all cameras and/or devices existing on the network that support the above stated protocols.<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=898" class="postimage" alt="NetworkDiscovery.png" onclick="viewableArea(this);" /></dt></dl></div>Select the camera you want added to BI and BI will take care of the rest.<br><br>Besides security, another reason I am not a big fan of network discovery protocols is because they are "brittle".  If the BI server restarts/reboots for any reason, the UPnP connection to the camera is usually broken by the router and a new connection needs to be established.<br>Using the methods below hardens the network setup so connections are automatically re-established after power outages and equipment restarts.<br><br><br></div><span style="font-size:150%;line-height:116%"><strong class="text-strong"><a name="Step 2">Step 2</a>: ONVIF</strong></span><div style="margin-left:3em"><br>ONVIF is a standard protocol that allows third party software such as BI to gain access to capabilities from a camera for use within BI.  Camera vendors may provide different levels of ONVIF support.  Some may only provide the URI of the RTSP streams (i.e. access to the video streams).  Other vendors may include more camera capabilities such as PTZ and/or audio controls with their ONVIF support.<br><br>ONVIF is by far the easiest way to connect cameras to BI.  If the camera is not discovered in Step 1, continue providing more information.  Provide the <strong class="text-strong">IP Address</strong> in addition to the <strong class="text-strong">username/password</strong> for the camera.  Many vendors support ONVIF either through port 80 or 8999.  Thus, BI will check those two ports by default.  <strong class="text-strong">If you know ONVIF is available on a different port for your camera, replace 8999 with the value for your camera.</strong>  <br><br><strong class="text-strong">Hit Find/Inspect</strong>.  <br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2100" class="postimage" alt="Step2.png" onclick="viewableArea(this);" /></dt></dl></div><br>If an ONVIF connection was not established, the Find/Inspect dialog will tell you so.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1608" class="postimage" alt="IP Config No ONVIF.png" onclick="viewableArea(this);" /></dt></dl></div><br><strong class="text-strong">No ONVIF Information</strong><div style="margin-left:3em">The first three lines show the timeout when trying to make an ONVIF connection on port 80.<br>The second three lines represent the timeout when trying to do the same on port 8999.<br><br>Know your cameras!  Revisit <a href="viewtopic.php?f=22&amp;t=2598#ONVIF%20Gotchas" class="postlink">ONVIF gotchas</a>.  <br><a href="viewtopic.php?f=15&amp;t=3101" class="postlink">ONVIF Device Manager</a> is a great tool as well to determine ONVIF support on your camera.<br><br></div>In contrast, below is a sample response from the camera when an ONVIF connection is established.  Look at the volume of information transferred to BI.<br><br>Key information gathered via ONVIF to make connecting to cameras easy:<ul><li>Manufacturer:  Many cameras are rebrands from another company (Original Equipment Manufacturer, OEM).  The Manufacturer field often reveals the OEM.  In below example, the User Guide stated Alptop but the OEM was iCamera.  Very important information to know when choosing the appropriate driver in Step 3.</li><li>RTSP URI(s):  Probably the most important piece of information.  This tells BI how to get access to the video from the camera.  Without this information no video feeds will appear.<br>Also note, many cameras provide multiple streams.  In this example, they are referred to as MainStream and SubStream.  Make note of both streams.  Occasionally, the sub stream does not auto-populate in the IP Config Dialog and you have to manually enter the URI.</li><li>PTZ settings. Almost always part of a camera's ONVIF implementation, these settings make it easy for 3rd party software to get access to the PTZ controls of a camera.</li><li>Audio.  Not frequently shared via ONVIF, however a great bonus to connect to a camera's microphone or speaker if available.</li></ul><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2007" class="postimage" alt="iCamera_ONVIF1.PNG" onclick="viewableArea(this);" /></dt></dl></div><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2008" class="postimage" alt="iCamera_ONVIF2.PNG" onclick="viewableArea(this);" /></dt></dl></div><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2006" class="postimage" alt="iCamera_ONVIF3.PNG" onclick="viewableArea(this);" /></dt></dl></div><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2009" class="postimage" alt="iCamera_ONVIF4.PNG" onclick="viewableArea(this);" /></dt></dl></div><br><strong class="text-strong">Camera streams and dual streams</strong><div style="margin-left:3em">If an ONVIF connection were made, the RTSP URL for the Main and Sub streams should be provided and populated in list boxes below.  If the Main stream is only provided, it is often easy to guess the Sub stream based on the Main stream.  The difference between the main stream path and the sub stream path will often be a single digit such as "stream0" to "stream1" or a word change such as "main" to "sub".  <br><br><strong class="text-strong">Setting a Main and Sub stream for your camera is a subtle but CRUCIAL step.  This is what is meant by connecting Dual Streams for a camera.  Customers have stated CPU utilization drops of 50%-70% after enabling dual streams on all their cameras.  Nothing has a bigger impact on lengthening the longevity of your server.</strong><br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=924" class="postimage" alt="iCamera_IPUserPass_RTSP_Substream_filled.PNG" onclick="viewableArea(this);" /></dt></dl></div></div>Make note of all the other information that could be pulled from the camera depending on the level of ONVIF support.<ul><li>PTZ controls and presets</li><li>Sometimes audio is pulled from a camera with speakers via ONVIF</li><li>Occasionally, 2-way talk is also pulled from a camera with speakers and microphone via ONVIF.  (rarely)</li></ul><strong class="text-strong">No ONVIF PTZ information</strong><div style="margin-left:3em">From my experience, if the camera supports ONVIF, PTZ commands are pulled over as well.  Unfortunately, some vendors only provide limited information such as RTSP urls via ONVIF.  However, many, many vendors and camera rebrands implement the SAME PTZ functionality.  What that means is if your camera supports PTZ but the PTZ controls do not come over via ONVIF, it's very possible one of the existing drivers listed in the PTZ/Control tab may work.  See <a href="viewtopic.php?f=22&amp;t=2290#BI%20drivers" class="postlink">PTZ article</a> for details.<br><br></div><strong class="text-strong">Hit OK and the camera should connect.</strong><br><br><br></div><span style="font-size:150%;line-height:116%"><strong class="text-strong"><a name="Step 3">Step 3</a> - BI Drivers</strong></span><div style="margin-left:3em"><br>If you successfully connected your camera using ONVIF and the video and all the PTZ controls (if you have a PTZ camera) are working fine, then there may not be a need for this step.  Generic/RTSP for the Make/Model may meet your requirements.<br><br>However, if there is more functionality you want to extract from the camera or you just want to experiment and see what other functionality has been leveraged from the BI drivers, then continue.  See <a href="https://blueirissoftware.com/forum/viewtopic.php?p=9091#p9091" class="postlink">PTZ / Controls article</a> to learn what other controls may be accessible via BI drivers.  BI has been around for 20+ years.  Over the years we have found ways to connect to cameras that do not have ONVIF and gain access to additional functionality provided by the cameras.<br><br>Another reason for this step is the PTZ commands from the camera via ONVIF are ok, but there is more functionality which you would like to leverage.  Maybe the Make / Model is in our BI list.  The BI drivers may be even more robust because a past customer had the same request.  Worth a shot to test.<br><br><em class="text-italics">Audio and other advanced functionality</em><br>Finally, cameras that support ONVIF share their capabilities such as PTZ allowing BI to access those capabilities without needing the user to do anything.  However, camera vendors frequently share their PTZ capabilities but not Audio and other functionality.  It is very rare for advanced functionality such as two-way audio to be shared via ONVIF.  <br><br>BI over the years, has reverse engineered many cameras to provide the advanced capabilities.  This is one reason for the exhaustive list of Makes and Models listed in the IP Config Dialog.  It is often due to a customer request for access to a camera feature (camera audio, two-way talk, IR light, windshield wiper etc.) that was not provided via ONVIF.  Try the BI drivers, if the ONVIF integration is lacking functionality that you desire.<br><br><strong class="text-strong">Choose BI Drivers (Make / Model)</strong><br><br>This example shares best practices for using BI drivers.  As always, I tried to connect via ONVIF.  After entering username, password and IP address, I hit Find/Inspect.<br>Results from ONVIF below.<br>I populated the Mainstream and Sub stream fields based on the ONVIF output.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1803" class="postimage" alt="ip camera connection_onvif output.png" onclick="viewableArea(this);" /></dt></dl></div><br>From the General tab, I could see the high-res video was being pulled twice!  Basically the camera and BI was doing double the work for ZERO benefit.  This can happen.  Camera vendor software is often not great.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1804" class="postimage" alt="ip camera connection_onvif stats.png" onclick="viewableArea(this);" /></dt></dl></div><br><strong class="text-strong">Make</strong><br>Based on the above, the immediate fix (for this example) if you have no other information is to leave the Sub stream URI blank to prevent doubling the load on your resources.<br>However, from the UI of the camera software, I could immediately tell this camera was a Hikvision rebrand.<br>Always choose the Make of the camera (if it exists) first.  If the Make does not exist but you know your camera is a rebrand from an OEM, e.g. Hikvision, choose Hikvision as the Make.<br><br><strong class="text-strong">Model</strong><br>The Model listing with an * is the recommended model.  If the preferred driver does not work, try all the different models to see if any can make a connection to your camera.  With each Make/Model selection, <strong class="text-strong">choose the OK button instead of Find/Inspect</strong>.  If you hit Find/Inspect, BI tries to re-establish an ONVIF connection (the Make/Model will again go back to Generic/RTSP).  Make sure the RTSP port value remains populated with the default 554 or the specific value provided by Advanced Port Scanner.<br><br>So I went back to the IP Config Dialog and selected Hikvision as the Make.<br>I also changed the Main and Sub fields to default.  By doing so, you are telling BI to try alternative URI streams that worked with the driver instead of the ONVIF values.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1805" class="postimage" alt="ip camera connection_BI drivers.png" onclick="viewableArea(this);" /></dt></dl></div><br><strong class="text-strong">When using BI drivers, often the sub stream default values are blank.</strong>  However (as stated in Step 2), if the main stream works, then it becomes easy to often guess the sub stream.  The difference between the main stream path and the sub stream path will often be a single digit such as "stream0" to "stream1" or a word change such as "main" to "sub".<br>In my example, I am familiar with Hikvision nomenclature and their cameras often distinguish between the main and sub stream via the ending 1 or 2 in the URI.<br>So the sub stream in image above is populated because I copy/pasted the main stream URI and altered the last value from a 1 to a 2.<br><br>What's great about BI is it remembers the ONVIF values AND the BI driver values, so you can Mix and Match!<br>Maybe the ONVIF URI delivers a better main stream.  Maybe the BI driver delivers a better sub stream.  You can experiment with ALL permutations!<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1806" class="postimage" alt="ip camera connection_uri values.png" onclick="viewableArea(this);" /></dt></dl></div><br></div><span style="font-size:150%;line-height:116%"><strong class="text-strong"><a name="Step 4">Step 4</a>: Advanced Options</strong></span><div style="margin-left:3em"><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1390" class="postimage" alt="ip config - advanced options.PNG" onclick="viewableArea(this);" /></dt></dl></div>Hit the Help button in the IP Config Dialog to understand the options.  Deviate from the default settings with caution.<div style="margin-left:3em"><br><strong class="text-strong">Use RTSP/stream timecode</strong><br>By default, the timing is imposed by the camera.<br>By unselecting the feature, the software will try to spread the available frames evenly in time.<br><br>This might be a good test if the live view or playback is stuttering (playing fast then slow repeatedly)<br><br><strong class="text-strong">RTSP Keep-alives</strong><br>Toggle on/off.  Does the stream start working?  Hit Help button for details.<br><br><strong class="text-strong">Decoder compatibility mode</strong><br>Toggle on/off?  Does the stream start working?  Hit Help button for details.<br>Keep in mind, this setting can cause video artifacts.<br><br><strong class="text-strong">Skip initial HTTP DNS and reachability tests</strong><blockquote class="uncited"><div><strong class="text-strong">Anecdotal</strong>:  For some reason, the BI server would not auto-reconnect to just one camera when the BI server would restart after a server reboot, e.g. a Windows update.  If the user then right clicked in that camera window -&gt; Restart camera, the camera would reconnect, but this would require the user be at the BI server any time the BI server restarted.  The user selected <strong class="text-strong">Skip initial HTTP DNS and reachability tests</strong> which resolved the issue.</div></blockquote><br><strong class="text-strong">Setup RTSP back-channel for talk support (PCM-U format)</strong><br>This should largely be unselected for most cameras.  According to engineering, this is supported by only 2 cameras.<br><br><strong class="text-strong"><a name="ONVIF Triggers">ONVIF Triggers</a></strong><br>Cameras are becoming more and more capable over time, e.g. Person and Vehicle detection on the camera.  ONVIF triggers allow 3rd party software like BI to take advantage of advanced camera triggers via ONVIF.<br><div style="margin-left:3em"><br>Follow steps below to enable BI triggers via camera triggers.<br><br><strong class="text-strong">Connector setup</strong><br><br>Activate ONVIF trigger events.<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1701" class="postimage" alt="ip config onvif triggers.png" onclick="viewableArea(this);" /></dt></dl></div>This selection tells BI to listen for events from the camera.<br>The software is listening for the IsMotion:true and IsMotion:false events to start and stop the trigger when you are using the "trigger until reset" option (see Trigger dialog screenshot further below).  <br><br>The logs will let you know if BI is listening via <strong class="text-strong">Events</strong> log events.<br><div class="codebox"><p>Code: </p><pre><code>1             12/10/2021 10:08:04.253 AM    Cam13                 Events: subscription 000001901             12/10/2021 10:08:05.472 AM    Cam11                 Events: subscription 000001911             12/10/2021 10:08:06.891 AM    Cam12                 Events: subscription 000001901             12/10/2021 10:08:07.272 AM    Cam13                 Events: subscription 000001901             12/10/2021 10:08:08.477 AM    Cam11                 Events: subscription 00000191</code></pre></div>If you need other events captured, let us know.<br><br><br><strong class="text-strong">Trigger tab</strong><br><br>Select Camera settings -&gt; Trigger tab -&gt; <strong class="text-strong">Camera's digital input or motion alarm</strong><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1702" class="postimage" alt="ip config onvif trigger source.png" onclick="viewableArea(this);" /></dt></dl></div>This setting tells BI to trigger when an event arrives from the camera (i.e. ONVIF event) or other external events.<br><br><strong class="text-strong">Testing</strong><br>Many users have smart cameras with AI.  BI also comes with the DeepStack AI solution.  Many users activate each independently and determines which is most accurate for their setup.  Others activate both.  Better safe than sorry.  Many ways to leverage multiple AI solutions.<br><div style="margin-left:3em"><strong class="text-strong">Motion sensor</strong><br>Activate the BI Motion sensor.  Activate DeepStack as well if installed.<br>Select Camera settings -&gt; Trigger tab -&gt; <strong class="text-strong">Motion sensor</strong>.  <br>Some users keep BI motion detection on (in addition to Camera's digital input or motion alarm) to double-check camera is not missing anything.<br><br></div><strong class="text-strong">Miscellaneous</strong><br>(Optional)  Camera settings -&gt;Record tab -&gt; <strong class="text-strong">Pre-trigger video buffer</strong> = 3-5s. More of a user preference.  Many users like seeing 3-5s before the actual motion trigger.<br><br><strong class="text-strong">Troubleshooting</strong><br>When first setting ONVIF triggers, the log file will let you know if ONVIF events are being received (as stated above).  Status button -&gt; log tab.  Good to have Status window open to see events.  When the events come in, you can then observe whether BI is working correctly, by observing recording on the console and whether the appropriate alerts are being fired.<br><br><a href="viewtopic.php?f=15&amp;t=3101" class="postlink">ONVIF Device Manager</a> is a great tool to confirm which events are being sent by the camera.<br><br></div></div></div><span style="font-size:150%;line-height:116%"><strong class="text-strong">Final Thoughts</strong></span><div style="margin-left:3em"><br>Connecting cameras and getting video from your cameras is a crucial first step.  But you may not be done.  The next step is to make sure the BI Server settings are correct so the cameras deliver a good experience (smooth, high quality stream) on BI.  The <a href="viewtopic.php?f=22&amp;t=2778" class="postlink">Video tab article</a> will show you the way.<br><br><br></div><span style="font-size:150%;line-height:116%"><strong class="text-strong">Troubleshooting</strong></span><div style="margin-left:3em"><br>If the camera does not connect, review the Troubleshooting articles in the <a href="viewtopic.php?f=26&amp;t=2982#Cameras" class="postlink">Troubleshooting Toolkit -&gt; Cameras section</a>.<br></div><p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=521">varghesesa</a> — Wed Jan 27, 2021 10:53 pm</p><hr />
]]></content>
	</entry>
	</feed>
