<?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/topic/2305" />

	<title>Blue Iris</title>
	<subtitle>Blue Iris User Group</subtitle>
	<link href="https://blueirissoftware.com/forum/index.php" />
	<updated>2021-05-28T02:51:31+00:00</updated>

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

		<entry>
		<author><name><![CDATA[varghesesa]]></name></author>
		<updated>2021-05-28T02:51:31+00:00</updated>

		<published>2021-05-28T02:51:31+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=9189#p9189</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=9189#p9189"/>
		<title type="html"><![CDATA[Record Tab]]></title>

		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=9189#p9189"><![CDATA[
<span style="font-size:150%;line-height:116%"><strong class="text-strong">Introduction</strong></span><br><br>This article goes under the covers of the Recording tab.  We share how BI records which should hopefully provide a better understanding of the settings.  With this understanding, you should have a better appreciation of the software as well as how to leverage the software to meet your requirements.<br><br>If you prefer to listen instead of read, watch the <a href="https://youtu.be/X1zgNOML9rk" class="postlink">Recording Tab webinar</a>.<br><br>We also have an overview "Recordings and Storage webinar" for those who are new to BI.  See our onboarding playlist in the <a href="https://www.youtube.com/c/BlueIrisSupport/videos" class="postlink">YouTube channel</a>.<br><br>Finally, the Gotchas section below has learnings from past tickets.<br><br><span style="font-size:150%;line-height:116%"><strong class="text-strong">User Interface</strong></span><br><br>The triggers on the clip list and the timeline are the key interfaces used to access recordings.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1310" class="postimage" alt="recording_main screen.png" onclick="viewableArea(this);" /></dt></dl></div><br>And keep in mind the connection between the triggers in the clip list and the triggers in the timeline.<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1311" class="postimage" alt="recording_UI.png" onclick="viewableArea(this);" /></dt></dl></div><br>Now I'm going to make the connection between the BI settings/dialogs and the user interface.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1318" class="postimage" alt="recording_ui-settings_optimized.png" onclick="viewableArea(this);" /></dt></dl></div><br><br><br><span style="font-size:150%;line-height:116%"><strong class="text-strong">Video Settings</strong></span><br><br><strong class="text-strong">When+ vs Continuous+</strong><br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1314" class="postimage" alt="recording_video settings.png" onclick="viewableArea(this);" /></dt></dl></div><br><strong class="text-strong">Periodic</strong><br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1315" class="postimage" alt="recording_periodic.png" onclick="viewableArea(this);" /></dt></dl></div><br><br><br><span style="font-size:150%;line-height:116%"><strong class="text-strong">File Storage Options</strong></span><br><br><strong class="text-strong">Combine or cut video each:</strong><br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1316" class="postimage" alt="recordings_combine or cut.png" onclick="viewableArea(this);" /></dt></dl></div><br><strong class="text-strong">Cut video when triggered with break time</strong><br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1317" class="postimage" alt="recordings_cut video.png" onclick="viewableArea(this);" /></dt></dl></div><br><br><br><span style="font-size:150%;line-height:116%"><strong class="text-strong">Recording Decision Tree</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=1319" class="postimage" alt="recording_decision tree.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=1320" class="postimage" alt="recording_decision tree 2.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=1321" class="postimage" alt="recording_decision tree 3.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=1322" class="postimage" alt="recording_decision tree summary.png" onclick="viewableArea(this);" /></dt></dl></div><br><br><span style="font-size:150%;line-height:116%"><strong class="text-strong">Recording File Options Scenarios/Use cases</strong></span><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1323" class="postimage" alt="recording_file options.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=1324" class="postimage" alt="recording_file options 2.png" onclick="viewableArea(this);" /></dt></dl></div><br><span style="font-size:150%;line-height:116%"><strong class="text-strong">Periodic Use Cases</strong></span><br><br>The Periodic recording is largely used by environmental groups.  One use case is a Wildlife organization that counts the salmon population with underwater cameras.<br><br>The Triggered + Periodic:  Some users did not have enough storage and therefore use this instead of the continuous options.<br>Kind of provides a summary/timelapse review of the day.<br><br><br><br><span style="font-size:150%;line-height:116%"><strong class="text-strong"><a name="Record format">Record format</a></strong></span><br><br>The Record format dialog determines how recordings are saved to the disk.<br>Camera settings -&gt; Record tab-&gt; Video file format and compression.<div style="margin-left:3em"><br><strong class="text-strong">Record File Format</strong><br>Camera settings -&gt; Record tab -&gt; Video file format and compression...<div style="margin-left:3em">D2D: Saves video stream directly from the camera to the file.<br>Re-encode: BI processes the camera stream and re-encodes in H.264 format before saving to file.<br><br>Most users start with Re-encode (default setting) in order to get the camera up and running.<br>After doing so, they often switch to D2D because of the CPU savings.<br>When doing so, be sure to playback some Clips and Alerts just to make sure BI can read and playback recordings correctly.<br><br></div><strong class="text-strong"><a name="Pre-trigger buffer">Pre-trigger buffer</a></strong><div style="margin-left:3em">Camera settings -&gt; Record tab.<br>Largely set based on user preference (5s is recommended).  <strong class="text-strong">However, this setting is extremely crucial when implementing dual streams with D2D recordings.</strong><br><br>The issue here is video comes to BI compressed.  In order to uncompress the video, BI first needs a key frame.  A key frame is the entire camera frame compressed.  Once a key frame is available, then all the subsequent frames can be re-created.  With the complex compression algorithms used today, the in between frames represent incremental changes from the previous frame.  Unless a key frame is first available, there is no way to reconstruct frames (video) from the interim frames.<br><br>Thus, the importance of <a href="viewtopic.php?f=22&amp;t=2598#Key%20frame%20ratio" class="postlink">setting the encoding on the camera</a>, ideally to 1 key frame per second.<br><br>Rule of thumb:  <br>Pre-trigger buffer &gt;= 1/kfps<br>For example, if the camera stats state 0.5 for the kfps, 1/0.5 = 2s.  The pre-trigger buffer for the camera should be &gt;= 2s.<br><br>If you have dual streams, the pre-trigger buffer has to be large enough to contain a key frame for each stream.<br>For example if the kfps = 0.5 for the main stream, the pre-trigger buffer has to be &gt;1/0.5, i.e. &gt; 2s.<br>However, if the kfps = 0.25 for the sub stream, the pre-trigger buffer has to be &gt; 1/0.25, i.e. &gt; 4s.<br>Thus the pre-trigger buffer needs to be at least 5s.<br><br><br></div></div><br><br><strong class="text-strong"><span style="font-size:150%;line-height:116%">Gotchas</span></strong><br><br>The gotchas section is really about sharing information that came from tickets or questions from past customers. Sharing the knowledge makes everyone better!<br><br><strong class="text-strong">Gotcha 3: Time lapse video</strong><div style="margin-left:3em"><br>Record setting:  Set to Continuous<br>Camera settings -&gt; Record tab<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1995" class="postimage" alt="record_continuous.png" onclick="viewableArea(this);" /></dt></dl></div><br>Recording file format: Has to be Re-encode not D2D.<br>Camera settings -&gt; Record tab -&gt; Video file format and compression button<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1994" class="postimage" alt="record_timelapse.png" onclick="viewableArea(this);" /></dt></dl></div></div><strong class="text-strong"><a name="Gotcha 2">Gotcha 2</a>: Clips / Recorded files</strong><div style="margin-left:3em"><br>Issue:  The length of the recorded files are very short.<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2000" class="postimage" alt="record gotcha 3.png" onclick="viewableArea(this);" /></dt></dl></div><br>Fix: <br><br>The number one cause of "0 bytes" would be you are recording direct to disc, yet there was no key frame to start the recording.  See <a href="viewtopic.php?f=11&amp;t=2598#Key%20frame%20ratio" class="postlink">Key frame ratio section</a> for details.<br><br>Alternatively, the issue could be the result of disk full issues on the drive where you are saving recordings.  You would have DISK FULL errors in the log or see RED on the Status button -&gt; Storage tab.  See the <a href="viewtopic.php?f=11&amp;t=2817" class="postlink">Storage troubleshooting guide</a> for details.<br><br>A final possibility could be you have hardware encoding turned on.  If so, test with feature turned off.<br>Global settings -&gt; Web server tab -&gt; Advanced -&gt; Streaming 0.<br>Confirm Hardware acceleration = No.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2583" class="postimage" alt="record_gotcha 4.png" onclick="viewableArea(this);" /></dt></dl></div><br></div><strong class="text-strong"><a name="Gotcha 1">Gotcha 1</a>: Continuous + Alerts</strong><div style="margin-left:3em"><br>Issue:  User chooses Continuous + Alert as the record setting.  Playback never switches to the mainstream (high resolution) during alerts.<br><br>Issue 1: Camera encoding<br>First check if there is a yellow triangle warning symbol in the Camera window.  If so, the fps of the video stream is too low or the key frame ratio is too low.  Check the <a href="viewtopic.php?f=11&amp;t=2598#Key%20frame%20ratio" class="postlink">key frame ratio</a>.<br><br>Issue 2: Playback window<br>Make sure <strong class="text-strong"><a href="viewtopic.php?f=18&amp;t=2526#Sub%20stream" class="postlink">Use sub stream if available</a></strong> is unselected.</div><p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=521">varghesesa</a> — Fri May 28, 2021 2:51 am</p><hr />
]]></content>
	</entry>
	</feed>
