<?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/3017" />

	<title>Blue Iris</title>
	<subtitle>Blue Iris User Group</subtitle>
	<link href="https://blueirissoftware.com/forum/index.php" />
	<updated>2022-01-10T06:39:21+00:00</updated>

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

		<entry>
		<author><name><![CDATA[varghesesa]]></name></author>
		<updated>2022-01-10T06:39:21+00:00</updated>

		<published>2022-01-10T06:39:21+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=12043#p12043</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=12043#p12043"/>
		<title type="html"><![CDATA[Console - Playback]]></title>

		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=12043#p12043"><![CDATA[
<span style="font-size:150%;line-height:116%"><strong class="text-strong">Introduction</strong></span><div style="margin-left:3em">This article focuses on resolving video quality issues of a camera during playback at the console.  For example, the screen is black when trying to playback a recording.  Once you know the video pipeline, it becomes easy to understand and troubleshoot the issue.  The <a href="viewtopic.php?f=27&amp;t=2049" class="postlink">Camera streams article</a> explains all the video pipelines.<br><br>For playback at the console, the video path is:<br><strong class="text-strong">Video path:  Recording (BVR) -&gt; Decode -&gt; Playback window</strong><br><br>This article explains how to resolve many playback issues by knowing the video pipeline.<br><br></div><span style="font-size:125%;line-height:116%"><strong class="text-strong">Playback Issues</strong></span><div style="margin-left:3em"><strong class="text-strong">Video path for console playback: Recording (BVR) -&gt; Decode -&gt; Playback window.</strong><br><br>The biggest difference between Playback vs Live view is the video source is coming from the recording.  Make sure Live view is working first. <br> Garbage in = Garbage recorded.<br><br>This means the recording format (Re-encode / D2D) comes into play.  This also means the hard drive is also in play since the feed comes from a file recording.<br><br><br><span style="text-decoration:underline"><strong class="text-strong">Gotcha 1: Playback is a black screen.</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=2353" class="postimage" alt="playback black screen.png" onclick="viewableArea(this);" /></dt></dl></div><br><strong class="text-strong">Reported issue</strong>: Usual ticket states Live view is fine but playback has a black screen.<br><br><strong class="text-strong">Decode node: Hardware acceleration</strong><div style="margin-left:3em">Starting with the Decode node because easy to test.  HA is frequently the biggest difference between live view and playback.  <div style="margin-left:3em">Live view: Camera feed -&gt; Decode (usually on) -&gt; Console<br>Playback: Recording (BVR file) -&gt; Decode (usually off) -&gt; Console.  <br><br>Keep in mind, D2D recording is very popular due to CPU savings.  Thus the Recording content is often the same content as the Camera feed.  Therefore, the biggest difference between live view and playback is frequently HA.<br><br></div>If live view works, turn HA on/off during playback (select/unselect Also BVR).  Also BVR is unselected by default.  HA works well with steady streams (live view) because the GPU buffer can fill up and the hardware can process frames at a steady rate.  With playback, users can go back and forth in the video using the playback controls.  This use case is not conducive in general for HA so HA is frequently off during playback.  <div style="margin-left:3em">If <strong class="text-strong">Also BVR</strong> is selected test exhaustively.  First, see if playback works at all.  Then test playback by scrubbing back and forth in the recording to make sure playback works fine with Also BVR selected.<br><br></div></div><strong class="text-strong">Record settings</strong><br>Camera settings -&gt; Record tab -&gt; Video file format and compression<div style="margin-left:3em"><br><strong class="text-strong">D2D</strong><br>If your record settings are set to D2D (very popular due to CPU savings), the camera feed is saved directly to disk.  D2D should work with playback if live view works.  <div style="margin-left:3em"><strong class="text-strong">D2D and Key frames</strong><br>If you are recording Direct to Disk (D2D) and the key frame interval is sub-par, e.g. &lt;1, then it is possible the bvr file is open for recording, but no key frames have actually been recorded yet so BI cannot play back.  See <a href="viewtopic.php?f=11&amp;t=2598#Key%20frame%20ratio" class="postlink">Camera setup article -&gt; Key frame section</a> for details.<br><br></div>Changing the encoding settings on the camera affects the contents being saved to the file.  This is how you indirectly fix playback by altering the content being recorded.  See <a href="viewtopic.php?f=22&amp;t=2598#Camera%20settings" class="postlink">camera setup article</a> for ideal encoding settings.<br><br><strong class="text-strong">Re-encode</strong><br>If you cannot get playback working with D2D, then switch to Re-encode.  If playback works, you may take a CPU hit, but at least the recording can be played back on the media player on your server.<br><br></div>The Fix:<br><strong class="text-strong">Change the Recording from D2D to Re-encode</strong>.<br>Camera settings -&gt; Record tab -&gt; Video file format and compression.<br>Create the BVR file using BI software for decoding/encoding instead of saving the camera's video.<br>This will lead to a bump in CPU.  Monitor usage.<br><br><strong class="text-strong">Playback summary</strong><div style="margin-left:3em">The quick fix is to switch from D2D to Re-encode.  This tells BI to save the camera video stream using BI's decoding/encoding.  This almost always works, but you will get the CPU bump.<br>If you want to troubleshoot D2D, the levers to pull are as follow<div style="margin-left:3em">Maybe Also BVR will work.<br>Maybe the key frame issue resolves the problem.<br>Maybe simplifying your camera encoding resolves the problem<br><br><br></div></div></div><span style="font-size:150%;line-height:116%"><strong class="text-strong">Disk issues</strong></span><div style="margin-left:3em">It goes without saying that playback will not work if you have hard disk issues.  Look for <a href="viewtopic.php?f=14&amp;t=2086" class="postlink">Storage and Record errors in the logs</a>.  Another test is to turn the shield to red to stop recordings temporarily.  Click on alerts and see if playbacks start working again.<br><br><br></div><span style="font-size:150%;line-height:116%"><strong class="text-strong">Submitting a ticket</strong></span><div style="margin-left:3em"><strong class="text-strong">Summary</strong><div style="margin-left:3em">Effects of turning Also BVR on/off.<br>Screenshot of camera stats.  Camera settings -&gt; General tab.<br>Server health<div style="margin-left:3em">Confirm any and all errors in the logs were addressed and resolved prior to submitting a ticket.<br><br></div></div><strong class="text-strong">Remote testing</strong><br>If you cannot resolve on your own, put the camera on the WAN for <a href="viewtopic.php?f=15&amp;t=3130" class="postlink">Remote testing</a>.<br><br><br></div><p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=521">varghesesa</a> — Mon Jan 10, 2022 6:39 am</p><hr />
]]></content>
	</entry>
	</feed>
