Professional Documents
Culture Documents
Storage Bandwidth Mathematics Training
Storage Bandwidth Mathematics Training
The basic formulas for calculating IP CCTV Bandwidth and Storage are as follows
We will be looking at each component and the variables involved in this calculation
to enable you to do manual calculations if required as well as looking at the best use
of some of the industry available calculators and potential shortfalls in their use.
FRAME SIZE
There is nothing more data intensive than video…….. except multiple streams of HD Video!! As a result CCTV
applies compression to allow the huge amount of images we require to be stored
Manufacturers default settings are usually optimised for image quality / Bitrate trade off.
COMPRESSION
There is nothing more data intensive than video…….. except multiple stream of HD Video!! As a result CCTV
applies compression to allow the huge amount of images we require to be stored
Manufacturers default settings are usually optimised for image quality / Bitrate trade off.
SCENE ACTIVITY
This is where experience can play a big part in calculating storage during a site survey
This is where experience can play a big part in calculating storage during a site survey
• Ambient and non relevant movement can be filtered out and trigger levels set to
determine when recordings are captured
• Very useful for reducing storage requirements where several cameras are in sterile
environments for portions of the recording period
• Allow engineering time to set up. Leaving motion settings on default rarely delivers the
required results
• A second site visit after the system has been running a while can usually offer significant
improvements in storage efficiency.
• Video analytics can further fine tune which events are to be captured and stored
BITRATE
• For full frame rate recording this is easy to calculate , Bit rate per camera (Kbps) =
Frame size (Kb) x Images per second
• For H264 most camera manufacturers will give charts of Average bitrates at
various compressions and scene activities
• If you standardise on cameras do your own tests to be comfortable with bitrates
in various scenes
• Average Bitrate is used to determine storage requirements for a server / system
• Peak bitrate is used to determine throughput requirements for a server / system
• Many systems allow the Peak bitrate to be capped
BITS vs BYTES
• Usually, we refer to file sizes and file transfer speeds in megabytes (MB).
• Throughput and bandwidth are calculated in megabits per second instead
(Mbps).
• One byte is made up of 8 bits, which means that when doing your calculations
you need to pay extra close attention to which unit you're using
Bits (the smaller of the two) is abbreviated to lower case "b" and bytes (the larger)
is abbreviated to upper case "B“
ARCHIVE TIME
Quite simply, how long does the customer hope to retain video for?
Once this is established this number remains a constant for the calculation and per
camera follows the following formula
• If all cameras have the same resolution / frame rate / etc the formulas are as below
• Storage Required (TB) = (Average Bandwidth(Mbps) * Archive time (s) * % Activity) / ((1024 x
1024) x 8))