Professional Documents
Culture Documents
Space Calculations
1
Contents
Introduction 3
Bandwidth needs 3
H.264 Calculation 4
MPEG-4 Calculation 5
2
Introduction
Network bandwidth and storage type and ratio, frame rates and scene
requirements are important considerations complexity. This document provides some
when designing a video surveillance system. guidelines on designing a system, along with
The factors include the number of cameras, information on storage solutions and various
the image resolution used, the compression system configurations.
Bandwidth needs
In a small surveillance system involving 8 to system of this size using their existing
network switch can be used without having cameras, the network load can be
3
approx. 2 to 3 Mbit/s of the available management software should have a
network bandwidth. gigabit network adapter installed.
As mentioned earlier, the type of video are required for an H.264 video file. Sample
compression used is one of the factors storage calculations for all three
affecting storage requirements. The H.264 compression formats are provided in the
compression format is by far the most tables below. Because of a number of
efficient video compression technique variables that affect average bit rate levels,
available today. Without compromising calculations are not so clear cut for H.264
image quality, an H.264 encoder can and MPEG-4. With Motion JPEG, there is a
reduce the size of a digital video file by clear formula because Motion JPEG consists
more than 80% compared with the Motion of one individual file for each image.
JPEG format and as much as 50% more than Storage requirements for Motion JPEG
with the MPEG-4 standard. This means much recordings vary depending on the frame
less network bandwidth and storage space rate, resolution and level of compression.
H.264 calculation
Approx. bit rate / 8(bits in a byte) x 3600s = KB per hour / 1000 = MB per hour
4
Table 1 H.264 calculation
camera resolution Approx. bit Frames per MB/hour Hours of GB/day
rate (Kbit/s) second operation
MPEG-4 calculation
Approx. bit rate / 8(bits in a byte) x 3600s = KB per hour / 1000 = MB per hour
Note: The formula does not take into account the amount of motion, which is an important
factor that can influence the size of storage required (see Table 2).
5
Motion JPEG calculation
Image size x frames per second x 3600s = Kilobyte (KB) per hour/1000 = Megabyte (MB) per hour
MB per hour x hours of operation per day / 1000 = Gigabyte (GB) per day
GB per day x requested period of storage = Storage need (See Table 3).
6
predefined level of image quality can be 3 different video compression methods
maintained regardless of motion or the lack include:
of it in a scene. This means that bandwidth - 1PASS-VBR
use will increase when there is a lot of - 1PASS-CBR
activity in a scene and will decrease when - 2PASS-CBR
there is no motion. This is often desirable in
With 1PASS-VBR, you cannot know the size of
video surveillance applications where there
the resulting file because the Bit rate is
is a need for high quality, particularly if there
distributed depending on the amount of
is motion in a scene. Since the bit rate may
movement, but it is possible to encode the
vary, even when an average target bit rate
video in good quality. With 1PASS-CBR, you
is defined, the network infrastructure
can encode the video into a set size since
the same amount of bit rate is applied
(available bandwidth) must be able to regardless of the video type. 2PASS-CBR is
accommodate high throughputs. With the combination of the two methods. In
limited bandwidth available, the initial encoding it checks the status of the
recommended mode is normally CBR video and in its secondary encoding the
(constant bit rate) as this mode generates a amount of Bit rate is distributed according to
constant bit rate that can be predefined by the status of the video to provide good
a user. The disadvantage with CBR is that quality and fixed size for the result file.