Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Scroll ignore

Scroll ignore
Article statuskb-articleINLINE

Greenexternal

Link to be provided outside of Bosch

kb-articleINLINE

Yellowinternal

Internal document. This article cannot be provided outside of Bosch.

Possible causes and solution(s)

  • Causes

Alarm recording and continuous recording set in BVMS increase the storage consumption.


  • Solution

Video surveillance cameras generate more data as a result of higher resolutions and frame-rates.

This has a direct impact on the storage costs of the entire video surveillance environment.

The storage consumption can be reduced to use alarm recording instead of continuous recording. This means the system will only start the recording when an alarm is generated (for example, when motion is detected).

However, in some projects continuous recording is still required.

This article describes how the Bosch Video Management System can be used to combine the best of alarm recording and continuous recording, and as a result further decrease the storage consumption when continuous recording is required.


Warning
titleStorage calculation

Due to the dependency of the bandwidth on the scene it is very difficult to create an exact storage calculation which includes all the parameters discussed in this article.

Therefore, it is recommended to create a general (schedule based) storage calculation, and estimate the savings that can be achieved by fine-tuning the settings related to Adaptive Streaming.


Adaptive streaming
Adaptive streaming is a functionality which combines the Intelligent Streaming and Quad Streaming of the Bosch cameras with the stream management functionality in BVMS.

1. Intelligent streaming


Storage consumption is related to the bandwidth (data) generated by a camera. There are several settings which will influence the bandwidth generated by the camera, including the (most known) frame-rate and resolution. However, Bosch cameras are equipped with Intelligent Streaming, which allows the camera to automatically adjust advanced encoding settings based on the content of the scene.

Info
titleInfo

The mechanisms of Intelligent Streaming are abstracted by the BVMS stream management.



1.1 Intelligent streaming


Intelligent Streaming is defined by four parameters.
Bitrate optimization: „refers to the priority given towards image quality or bitrate reduction. The “High quality” or “Maximum quality” provides less or no bitrate saving, but a good to excellent picture. “Low bitrate” and “Medium bitrate” save more bandwidth, but the resulting image may provide less details.
Maximum bitrate: defines the highest allowed bitrate.
Target bitrate: „defines the average bitrate assuming the “Averaging period” parameter is set.
Averaging period: the task of Intelligent Streaming is to keep the average bitrate during the averaging period at the level of configured target bitrate. When there is less movement in the scene the camera will use much less bandwidth than the configured target bitrate. For scenes with a lot of movement it will utilize more bandwidth but never more than configured maximum bitrate. If there is more movement than could be averaged, into the target bitrate, Intelligent Streaming will slightly reduce image quality to keep the average target bitrate over the averaging period.

As a result, Intelligent streaming does not only reduce the bandwidth, it also allows the system administrators to improve the prediction on the amount of storage that is consumed by the video surveillance system.

The image below shows the existing situation, with bitrate optimization and averaging disabled. Between 8am and 4pm the quality of the stream might be reduced due to the cut-off at the maximum bitrate.


The image below shows the situation with bitrate optimization and averaging set.


1.2 Group of pictures


In order of size, a group of pictures can consist out of three different types of frames:
I-frame: I-frames (intra frame) is a complete picture.
P-frame: P-frames (predictive frames) reduce bandwidth and storage usage as they are smaller in size than I-frames. P-frames use data from previous frames and only contain the changes compared to the leading I-frame.
B-frame: „B-Frames (bi-directional predictive frames) reduce bandwidth and storage usage as they are smaller in size than P-Frames (predictive frames). „B-Frames have references to previous (frames generated before the B-Frame) and to following frames (frames which will be generated after the B-Frame)


Image source: Wikipedia - Video compression picture types

A group of pictures (GOP) starts with an I-frame (Inter-frame) and ends before the next I-frame comes. The I-frame distance shows how many frames the GOP is made of. For example, an I-frame distance of 10 means that the GOP consists out of 1 I-frame and 9 B or P frames.
From BVMS 9.0 onwards, IP, IBP and IBBP structures can be configured (depending on the camera capabilities).


Warning
titleImpact of B frames

B -frames save bandwidth as B-frames are smaller than I- or P-frames. „A bit of latency can appear as B-frames can use both previous and forward (future) frames for data reference to get the highest amount of data compression. This impacts the encoding and the decoding on client side. The received B-frame on client side can not be displayed immediately, the decoder has to “wait” before it is able to display the frame until the forward frame is received where the reference points to. For latency critical scenes the “IP” GOP structure should be configured

„When configuring a very low frame rate e.g. 5 fps it is recommended to use the “IP” GOP structure only to reduce latency"

„Since decoding latency is not important in the replay, there is no big impact on forward playback."


Transmitting I-frames requires more bandwidth then P or B frames. A large GOP is saving bandwidth and reduces the storage consumption because there are less I-frames generated over a time period (e.g. 1 minute) by the encoder. From BVMS 9.0 onwards, the maximum size of a GOP is 255 frames.


Warning
titleLarge GOPs in unreliable networks

Large GOPs have no bandwidth saving effect in unreliable networks as every time the data is missing client is requesting an new I-Frame. Often repeated this makes the GOPs shorter and bandwidth higher.

Warning
titleLarge GOPs and replay

(Especially backwards) Replay may take longer to start as the client needs to decode the entire GOP before showing a video.



2. Quad Streaming


Bosch cameras are able to offer four streams with different capabilities. The capabilities that can be set are a combination of the resolution and the base frame-rate. The exact possible settings depend on the camera model.

StreamDescription
Stream 1Mostly the high-resolution and maximum frame-rate stream.
Stream 2Mostly a lower-resolution and, possibly, lower frame-rate stream, used for
Streamlining.
I-frameOptionally used for I-frame only recording
MJPEGOptionally used for non-VMS applications who cannot handle H.264 or H.265. Cannot
be used in BVMS.
Info
titleStreamlining

The workstations can be configured to optimize the displayed stream based on the size of the cameo: Streamlining


2.1 Camera capabilities and platforms


Each Bosch camera has different streaming capabilities. There are mentioned in the datasheet of the specific camera, and depend on the performance of the camera.
Bosch video devices are broken up into categories known as Common Product Platforms (CPP). A device’s category is based on several factors to include the Digital Signal Processor (DSP) it is equipped with, and its inherent capabilities.
When selecting firmware to install on a device, the firmware is also categorized by CPP number.


PlatformDescription
CPP-ENCEncoders and decoders
CPP3SD/HD cameras and encoders
CPP4H.264 HD cameras
CPP5Multi-channel encoders
CPP6H.264 5MP/8MP,12MP and panoramic cameras
CPP7.3H.265 HD/5MP cameras


When working in BVMS, you will notice that video devices are further broken down into categories called Device Families.
These Device Family categories make the configuring and management of devices simpler and more effective.

Device Family 1: This device family is comprised of older H.263 IP cameras and encoders that are categorized as CPP-ENC

Device Family 2: This family includes SD and HD CPP-3 devices that are H.264 capable. This family also include the VIDEOJET multi 4000 encoder (CPP-5)

Device Family 3: All CPP-4 and newer devices are members of this family 


There are several “key” configurations that are performed in BVMS that are specific to a family type. These family groupings provide you a way to configure SD, HD, MP, UHD, and panoramic cameras simultaneously, even though they all support different resolutions, frame rates, aspect ratios, and compression codecs.



Highlight
colorred

When changing the camera application variant, coding standard, and/or base frame rate, the camera capabilities need to be rescanned.





3. Stream Management


BVMS offers extensive stream management functionality, ranging from (customizable) schedule-based stream management to, specific, situation-based stream management. Although Intelligent Streaming is able to optimize most settings automatically, further savings can be achieved with using the specific stream management settings.


3.1 Triggers


Schedules
The first step in configuring stream management is to set-up specific schedules. Schedules allow a system to differentiate in recording quality.

Info
titleExample

Let's take an office building as an example. The premise of an office building is, during the day, freely accessible.
It would make sense to reduce the quality of the outdoor cameras during the day, as the risk of an incident happening is considered to be low. The risks of incidents goes up when the office is empty and employees are enjoying the time with their families. At those times the cameras should record with a higher quality. As a result, incidents can be investigated and prevented in the future by optimizing processes or fine-tuning the detection systems.


By default the system contains three schedules: day; night and weekend. The schedules are based on a seven-day week and exception days (holidays) within a schedule can be created as well.

Additionally events can be created on reoccurring triggers, for example a specific day in the week, month or year.


These settings can be found in the "Schedules" tab of the configuration client.
Below is a simple modified schedule: Day 6AM to 8PM / Night 8PM to 6AM.


Alarms
Next to schedules, alarms can also be used to trigger changes in the recording quality. The start of alarm recording can be configured within each specific alarm, for multiple cameras. When the alarm is active, the alarm recording settings,
which are further discussed in the next section, will be applied to the selected cameras. This is independent of the configured schedules.



3.2 Profiles


BVMS pushes streaming profiles out to groups of cameras. A streaming profile does not impact the resolution of the stream, but rather influences other parameters (for example the encoding interval and the GOP structure) of the stream.
An encoder or camera can change the settings in the profile on the fly, which makes the profile suitable for adjustments based on the actual situation or schedule.


Configuration out of the box
In order to ease the configuration, BVMS has specific streaming profiles pre-configured. The profiles are built up using the overview in the two tables below.

Info
titleDefault

When a new camera is added to BVMS 9.0, it will be deployed with the "balanced standard" profile. In BVMS 8.0 and earlier the bitrate optimized profile was applied by default.

Use-caseApplication
Image optimizedThe image optimized profile is optimized for quality and low-latency. As a result, it
consumes the most bandwidth out of the three pre-configured profiles.
BalancedThe balanced profile is the perfect balance between quality and bandwidth.
Bitrate optimizedThe bit-rate optimized profile is optimized for low bandwidth applications.
Scene typeApplication
<use case> QuietA quiet scene is defined as a scene in which 89% of the time a quiet scene is expected,
10% of the time a normal scene is expected, and 1% of the time a busy scene is
expected.
<use case> StandardA quiet scene is defined as a scene in which 54% of the time a quiet scene is expected,
35% of the time a normal scene is expected, and 11% of the time a busy scene is
expected.
<use case> BusyA quiet scene is defined as a scene in which 30% of the time a quiet scene is expected,
55% of the time a normal scene is expected, and 15% of the time a busy scene is
expected.


The scene type and use-case are combined into a profile, which can be selected for each camera, as shown in the image below.

Additionally PTZ optimized, and Cloud optimized profiles are added.

Info
titleUpdates

When updating an existing BVMS installation to BVMS 9.0, legacy profiles are not removed. Bosch strongly recommends assigning the new profiles (listed on the next page) to the devices.


Profile definition

Default Profile nameGOP lengthGOP structureBitrate optimization
parameter setting
AveragingFrame rateStream
Balanced standard60IBPMedium*24 hours*Full1 & 2
Balanced quite60IBPMedium*24 hours*Full1 & 2
Balanced busy60IBPMedium*24 hours*Full1 & 2
Bitrate optimized standard255IBBPMedium*24 hours*Full1 & 2
Bitrate optimized quite255IBBPMedium*24 hours*Full1 & 2
Bitrate optimized busy255IBBPMedium*24 hours*Full1 & 2
Image optimized standard30IPHigh Quality*24 hours*Full1 & 2
Image optimized quite30IPHigh Quality*24 hours*Full1 & 2
Image optimized busy30IPHigh Quality*24 hours*Full1 & 2
PTZ optimized255IPMedium*24 hours*Full1 & 2
Cloud optimized 1/8 FR10IBBPLow bitrate*24 hours*1/8 of full1 recording
Cloud optimized 1/8 FR255IPLow bitrate*24 hours*1/8 of full2 live
* Bitrate optimization is switched off for CPP4 cameras.


Fine-tuning



Info
titleProfile settings

The pre-configured profiles are optimized for the Bosch cameras and should only be adjusted in specific situations.


To create and properly modify a new Stream Quality Setting:


1. Select the correct profile:

a. If the new profile will be deployed on cameras using different platforms: open the desired base profile you want to use as a starting point, and select the correct platform.
b. If the new profile will be deployed on cameras using the same platform: open the desired base profile you want to use as a starting point.

2. Select the plus (+) tab under Stream Qualities.
3. This will create a duplicate of the selected profile.
4. Highlighting the new profile allows the renaming of the profile as well as edit access to all sub profiles.


If 1b has been chosen: by selecting the “drop-down” option of the profile, it reveals multiple sub-menus:

• Each sub-menu is associated with a specific camera and any of the different Application Variants that it can be configured in.

• Each sub-menu allows access to stream 1 and 2 of each profile device. This allows for framerate and bitrate modification.


4. Recording Management

In order to ensure that a system is configured to record at the correct bit rates and framerate, the correct recording settings must be configured. To access the recording settings menu, select the “Edit scheduled recording settings” icon in the toolbar.

The “Scheduled Recording Settings” menu comes with six (6) base recording profiles that can be modified. This menu can manage over fifty different scheduled recording settings.


To create a new scheduled recording setting, select any of the base recording profiles and then select the plus (+) tab at the top of the menu. A copy of the base recording schedule will be made. The newly created copy can be renamed and modified as needed. In this example, the recording profile was renamed “MY SYSTEM”.
Once you have created or selected a recording setting, prior to making modifications, be aware of the device family you are working with.

• Device Family tabs will appear only if an applicable device has been added to the system.

• If working with more than one Device Family, you must modify the recording settings for each family tab if the recording setting is used for all families.


Each family tab also allows you to access the system’s “Recording Schedules”. Each family’s recording profile needs to be modified for each “active” schedule.
The Continuous or Pre-Alarm Recording section of the menu allows the following modifications:

Recording: On or Off.

Recording Mode: Continuous or Pre-Alarm.

Stream: Stream 1, Stream 2, or I-frame only (depending on device capabilities).

Quality: Select the profile to be used by stream 1 to record.

Pre-alarm: the pre-alarm time that should be recorded.

• When the pre-alarm time is < 10 seconds: the recording can be buffered within the memory of the camera (even when no SD card is available).

• When the pre-alarm time is > 10 seconds: depending on the camera model and bandwidth, the recording cannot be buffered with the memory of the camera. The camera will continuously record. This will be indicated in the time-line by a "moving" recording block (this is continuously overwritten).

This setting always takes precedence over Stream 1 quality settings.



The Alarm Recording section of the menu allows the following modifications:

Alarm Recording: This is enabled by default and allows the video to be tagged as alarm recording for any associated configured event in the system.

Motion Alarm: This is off by default. This must be enabled, if motion alarms from the device are to be tagged as alarm video.


4.1 Assigning recording settings


Assigning specific “Scheduled Recording Settings” to devices is performed in the “Cameras and Recording” menu, VRM submenu.
On the far right hand portion of the menu page, there is the “Recording” section:

• Setting: This menu allows you to select the desired recording profile. Example “MY SYSTEM”

• Storage Min: This menu allows you to define the minimum time that recordings will be kept before they are allowed to be overwritten

• Storage Max: This menu allows you to define the maximum time that recordings will be kept before they are released

• Unlimited places the recording into a classic “FIFO” mode, like a DVR



Scroll ignore


advancedINLINEgreenINLINE

MANDATORY --> after finishing this article, if you wrote advanced content in this section , you must to manually add the "advanced" label  This action is required to indicate that this article contains ADVANCED instructions for CTS/ SG or GK.

DO NOT CHANGE ANYTHING IN THIS SECTION!

advanced section

Please contact CTS / SG or GK team to view this section from draft space, if necessary


adINLINE

IMPORTANT! --> the content itself from here will be not displayed. The content from here will be displayed only when the "ad" label will be set after article creation. Only CTS/ SG or GK are allowed to use "ad" label.

PLEASE do not set "ad" label from beginning. Use it only when you need this info and REMOVE the "ad" label when finished!

Information below is for CTS, SG, GK reference and must be kept internal only.

If you are part of CTS, SG or GK team, please hide this section when you have finished using this article!

DO NOT CHANGE ANYTHING IN THIS SECTION!


This section will not be published externally and / or automatically downloaded in the PDF file!

Type your text/ advanced information here

Please write here the statement/answer/explanation

Add pictures, if necessary

Scroll only
scroll-pdftrue
scroll-officetrue
scroll-chmtrue
scroll-docbooktrue
scroll-eclipsehelptrue
scroll-epubtrue
scroll-htmltrue

You are using an Offline Version of these Article, please ensure to regularly check the corresponding online article on the Bosch Building Technologies Knowledge Base for any updates. Use the date and version information of the document as reference.

This is  created  

Check for Updateprimaryhttps://community.boschsecurity.com/t5/Bosch-Building-Technologies/ct-p/bt_community