Record Tab

Details the major steps to configure and deploy Blue Iris.
Start with Onboarding Checklist article.
1. Setup Windows to work well with Blue Iris.
2. Connecting IP cameras.
3. Setting up Storage and Recordings.
4. Configuring your home or office network for Remote Access via a web browser or the phone apps.
5. Creating Triggers and Alerts.
6. Setting up AI with DeepStack
7. Creating Schedules and Profiles
Post Reply
varghesesa
Posts: 90
Joined: Thu Jul 11, 2019 9:52 pm

Record Tab

Post by varghesesa »

Introduction

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.

If you prefer to listen instead of read, watch the Recording Tab webinar.

We also have an overview "Recordings and Storage webinar" for those who are new to BI. See our onboarding playlist in the YouTube channel.

Finally, the Gotchas section below has learnings from past tickets.

User Interface

The triggers on the clip list and the timeline are the key interfaces used to access recordings.

recording_main screen.png
recording_main screen.png (232.57 KiB) Viewed 19856 times

And keep in mind the connection between the triggers in the clip list and the triggers in the timeline.
recording_UI.png
recording_UI.png (57.54 KiB) Viewed 19856 times

Now I'm going to make the connection between the BI settings/dialogs and the user interface.

recording_ui-settings_optimized.png
recording_ui-settings_optimized.png (63.92 KiB) Viewed 19847 times



Video Settings

When+ vs Continuous+

recording_video settings.png
recording_video settings.png (202.01 KiB) Viewed 19852 times

Periodic

recording_periodic.png
recording_periodic.png (143.29 KiB) Viewed 19851 times



File Storage Options

Combine or cut video each:

recordings_combine or cut.png
recordings_combine or cut.png (151.07 KiB) Viewed 19849 times

Cut video when triggered with break time

recordings_cut video.png
recordings_cut video.png (159.83 KiB) Viewed 19849 times



Recording Decision Tree

recording_decision tree.png
recording_decision tree.png (131.32 KiB) Viewed 19846 times

recording_decision tree 2.png
recording_decision tree 2.png (142.84 KiB) Viewed 19846 times

recording_decision tree 3.png
recording_decision tree 3.png (165.34 KiB) Viewed 19846 times

recording_decision tree summary.png
recording_decision tree summary.png (62.75 KiB) Viewed 19846 times


Recording File Options Scenarios/Use cases
recording_file options.png
recording_file options.png (141.93 KiB) Viewed 19845 times

recording_file options 2.png
recording_file options 2.png (166.92 KiB) Viewed 19845 times

Periodic Use Cases

The Periodic recording is largely used by environmental groups. One use case is a Wildlife organization that counts the salmon population with underwater cameras.

The Triggered + Periodic: Some users did not have enough storage and therefore use this instead of the continuous options.
Kind of provides a summary/timelapse review of the day.



Record format

The Record format dialog determines how recordings are saved to the disk.
Camera settings -> Record tab-> Video file format and compression.

Record File Format
Camera settings -> Record tab -> Video file format and compression...
D2D: Saves video stream directly from the camera to the file.
Re-encode: BI processes the camera stream and re-encodes in H.264 format before saving to file.

Most users start with Re-encode (default setting) in order to get the camera up and running.
After doing so, they often switch to D2D because of the CPU savings.
When doing so, be sure to playback some Clips and Alerts just to make sure BI can read and playback recordings correctly.

Pre-trigger buffer
Camera settings -> Record tab.
Largely set based on user preference (5s is recommended). However, this setting is extremely crucial when implementing dual streams with D2D recordings.

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.

Thus, the importance of setting the encoding on the camera, ideally to 1 key frame per second.

Rule of thumb:
Pre-trigger buffer >= 1/kfps
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 >= 2s.

If you have dual streams, the pre-trigger buffer has to be large enough to contain a key frame for each stream.
For example if the kfps = 0.5 for the main stream, the pre-trigger buffer has to be >1/0.5, i.e. > 2s.
However, if the kfps = 0.25 for the sub stream, the pre-trigger buffer has to be > 1/0.25, i.e. > 4s.
Thus the pre-trigger buffer needs to be at least 5s.




Gotchas

The gotchas section is really about sharing information that came from tickets or questions from past customers. Sharing the knowledge makes everyone better!

Gotcha 3: Time lapse video

Record setting: Set to Continuous
Camera settings -> Record tab
record_continuous.png
record_continuous.png (13.16 KiB) Viewed 17659 times

Recording file format: Has to be Re-encode not D2D.
Camera settings -> Record tab -> Video file format and compression button
record_timelapse.png
record_timelapse.png (70.61 KiB) Viewed 17659 times
Gotcha 2: Clips / Recorded files

Issue: The length of the recorded files are very short.
record gotcha 3.png
record gotcha 3.png (103.73 KiB) Viewed 17635 times

Fix:

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 Key frame ratio section for details.

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 -> Storage tab. See the Storage troubleshooting guide for details.

A final possibility could be you have hardware encoding turned on. If so, test with feature turned off.
Global settings -> Web server tab -> Advanced -> Streaming 0.
Confirm Hardware acceleration = No.

record_gotcha 4.png
record_gotcha 4.png (4.5 KiB) Viewed 16235 times

Gotcha 1: Continuous + Alerts

Issue: User chooses Continuous + Alert as the record setting. Playback never switches to the mainstream (high resolution) during alerts.

Issue 1: Camera encoding
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 key frame ratio.

Issue 2: Playback window
Make sure Use sub stream if available is unselected.
Post Reply