axisFlexSubBanner

Bandwidth and storage considerations


Network bandwidth and storage requirements are important considerations when designing a video surveillance system. The factors include the number of cameras, the image resolution used, the compression type and ratio, frame rates and scene complexity. This chapter provides some guidelines on designing a system, along with information on storage solutions and various system configurations.

Bandwidth and storage calculations

Network video products utilize network bandwidth and storage space based on their configuration. As mentioned earlier, this depends on the following:

  • Number of cameras
  • Whether recording will be continuous or event-based
  • Number of hours per day the camera will be recording
  • Frames per second
  • Image resolution
  • Video compression type: Motion JPEG, MPEG-4, H.264
  • Scenery: Image complexity (e.g. gray wall or a forest), lighting conditions and amount of motion (office environment or crowded train stations)
  • How long data must be stored

Bandwidth needs

In a small surveillance system involving 8 to 10 cameras, a basic 100-megabit (Mbit) network switch can be used without having to consider bandwidth limitations. Most companies can implement a surveillance system of this size using their existing network.

When implementing 10 or more cameras, the network load can be estimated using a few rules of thumb:

  • A camera that is configured to deliver high-quality images at high frame rates will use approx. 2 to 3 Mbit/s of the available network bandwidth.
  • With more than 12 to 15 cameras, consider using a switch with a gigabit backbone. If a gigabit-supporting switch is used, the server that runs the video management software should have a gigabit network adapter installed.

Technologies that enable the management of bandwidth consumption include the use of VLANs on a switched network, Quality of Service and event-based recordings.

Calculating storage needs

As mentioned earlier, the type of video compression used is one of the factors affecting storage requirements. The H.264 compression format is by far the most efficient video compression technique available today. Without compromising image quality, an H.264 encoder can reduce the size of a digital video file by more than 80% compared with the Motion JPEG format and as much as 50% more than with the MPEG-4 (Part 2) standard. This means much less network bandwidth and storage space are required for an H.264 video file.

Sample storage calculations for all three compression formats are provided in the tables below. Because of a number of variables that affect average bit rate levels, calculations are not so clearcut for H.264 and MPEG-4. With Motion JPEG, there is a clear formula because Motion JPEG consists of one individual file for each image. Storage requirements for Motion JPEG recordings vary depending on the frame 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
MB per hour x hours of operation per day / 1000 = GB per day
GB per day x requested period of storage = Storage need

Camera Resolution Approx. bit rate (Kbit/s) Frames per second MB/hour Hours of operation GB/day
No. 1 CIF 110 5 49.5 8 0.4
No. 2 CIF 250 15 112.5 8 0.9
No. 3 4CIF 600 15 270 12 3.2
Total for the 3 cameras and 30 days of storage = 135 GB
The figures above are based on lots of motion in a scene. With fewer changes in a scene, the figures can be 20% lower. The amount of motion in a scene can have a big impact on the amount of storage required.

MPEG-4 calculation

Approx. bit rate / 8(bits in a byte) x 3600s = KB per hour / 1000 = MB per hour
MB per hour x hours of operation per day / 1000 = GB per day
GB per day x requested period of storage = Storage need
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.

Camera Resolution Approx. bit rate (Kbit/s) Frames per second MB/hour Hours of operation GB/day
No. 1 CIF 170 5 76.5 8 0.6
No. 2 CIF 400 15 180 8 1.4
No. 3 4CIF 880 15 396 12 5
Total for the 3 cameras and 30 days of storage = 204 GB

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

Camera Resolution Bit Rate (Kbit/s) Frames per second MB/hour Hours of operation GB/day
No. 1 CIF 13 5 234 8 1.9
No. 2 CIF 13 15 702 8 5.6
No. 3 4CIF 40 15 2160 12 26
Total for the 3 cameras and 30 days of storage = 1002 GB

A helpful tool in estimating requirements for bandwidth and storage is the AXIS Design Tool.

AXIS Design Tool
The AXIS Design Tool includes advanced project management functionality that enables bandwidth and storage to be calculated for a large and complex system.

Server-based storage

Depending on a PC server’s central processing unit (CPU), network card and internal RAM (Random Access Memory), a server can handle a certain number of cameras, frames per second and size of images. Most PCs can hold between two and four hard disks, and each disk can be up to approx. 300 gigabyte (GB). In a small to medium-sized installation, the PC that runs the video management software is also used for video recording. This is called a direct-attached storage.

With the AXIS Camera Station video management software, for instance, one hard disk is suitable for storing recordings from six to eight cameras. With more than 12 to 15 cameras, at least two hard disks should be used to split the load. For 50 or more cameras, the use of a second server is recommended.

NAS and SAN

When the amount of stored data and management requirements exceed the limitations of a direct-attached storage, a network-attached storage (NAS) or storage area network (SAN) allows for increased storage space, flexibility and recoverability.

NAS
Network-attached storage.

NAS provides a single storage device that is directly attached to a LAN and offers shared storage to all clients on the network. A NAS device is simple to install and easy to administer, providing a low-cost storage solution. However, it provides limited throughput for incoming data because it has only one network connection, which can become problematic in high-performance systems.

SANs are high-speed, special-purpose networks for storage, typically connected to one or more servers via fiber. Users can access any of the storage devices on the SAN through the servers, and the storage is scalable to hundreds of terabytes. Centralized storage reduces administration and provides a high performance, flexible storage system for use in multi-server environments. Fiber Channel technology is commonly used to provide data transfers at four gigabits per second and to allow large amounts of data to be stored with a high level of redundancy.

SAN
A SAN architecture where storage devices are tied together and the servers share the storage capacity.

Redundant storage

SAN systems build redundancy into the storage device. Redundancy in a storage system allows video, or any other data, to be saved simultaneously in more than one location. This provides a backup for recovering video if a portion of the storage system becomes unreadable. There are a number of options for providing this added storage layer in an IP-Surveillance system, including a Redundant Array of Independent Disks (RAID), data replication, server clustering and multiple video recipients.

RAID. RAID is a method of arranging standard, off-the-shelf hard drives such that the operating system sees them as one large hard disk. A RAID setup spans data over multiple hard disk drives with enough redundancy so that data can be recovered if one disk fails. There are different levels of RAID, ranging from practically no redundancy to a full-mirrored solution in which there is no disruption and no loss of data in the event of a hard disk failure.

Data replication
Data replication.

Data replication. This is a common feature in many network operating systems. File servers in a network are configured to replicate data among each other, providing a backup if one server fails.

Server clustering. A common server clustering method is to have two servers work with the same storage device, such as a RAID system. When one server fails, the other identically configured server takes over. These servers can even share the same IP address, which makes the so-called “fail-over” completely transparent for users.

Multiple video recipients. A common method to ensure disaster recovery and off-site storage in network video is to simultaneously send the video to two different servers in separate locations. These servers can be equipped with RAID, work in clusters, or replicate their data with servers even further away. This is an especially useful approach when surveillance systems are in hazardous or not easily accessible areas, such as in mass-transit installations or industrial facilities.

System configurations


Small system (1 to 30 cameras)

A small system usually consists of one server running a surveillance application that records the video to a local hard disk. The video is viewed and managed by the same server. Although most viewing and management will be done at the server, a client (local or remote) can be connected for the same purpose.

Small system with 1 - 30 cameras
A small system.

Medium system (25 to 100 cameras)

A typical, medium-sized installation has a server with additional storage attached to it. The storage is usually configured with RAID in order to increase performance and reliability. The video is normally viewed and managed from a client rather than from the recording server itself.

Medium system (25 to 100 cameras)
A medium system.

Large centralized system (50 to +1000 cameras)

A large-sized installation requires high performance and reliability in order to manage the large amount of data and bandwidth. This requires multiple servers with dedicated tasks. A master server controls the system and decides what kind of video is stored at what storage server. As there are dedicated storage servers, it is possible to do load balancing. In such a setup, it is also possible to scale up the system by adding more storage servers when needed and do maintenance without bringing down the entire system.

Large centralized system (50 to +1000 cameras)
A large centralized system.

Large distributed system (25 to +1000 cameras)

When multiple sites require surveillance with centralized management, distributed recording systems may be used. Each site records and stores the video from local cameras. The master controller can view and manage recordings at each site.

Large distributed system with 25 to +1000 cameras
A large distributed system.

See also: AXIS Design Tool

Next topic: Edge storage

axisFlexSubContent