Professional Documents
Culture Documents
Table of Contents
Introduction ................................................................................................................................. 2 What is a Video Codec? ............................................................................................................. 2 Lossy vs. Lossless Video Compression .................................................................................. 3 Video Codec Profiles and Levels .............................................................................................. 3 Codec Standards ........................................................................................................................ 3 Video Codec Standards ............................................................................................................................. 4 H.264 (MPEG-4 AVC) ............................................................................................................................................. 4 MPEG-4 .................................................................................................................................................................. 4 MPEG-2 .................................................................................................................................................................. 5 WMV9 (VC-1).......................................................................................................................................................... 5 M-JPEG (Motion JPEG) .......................................................................................................................................... 5 SM4 ........................................................................................................................................................................ 5 Still Image Codec Standards ..................................................................................................................... 5 JPEG ...................................................................................................................................................................... 5 JPEG 2000.............................................................................................................................................................. 6 Choosing the Right Codec ......................................................................................................... 6 The Nextiva Video Management Portfolio ................................................................................................. 7
Unauthorized use, duplication, or modification of this document in whole or in part without the written consent of Verint Systems Inc. is strictly prohibited. By providing this document, Verint Systems Inc. is not making any representations regarding the correctness or completeness of its contents and reserves the right to alter this document at any time without notice. Features listed in this document are subject to change. Please contact Verint for current product features and specifications. All marks referenced herein with the or TM symbol are registered trademarks or trademarks of Verint Systems Inc. or its subsidiaries. All rights reserved. All other marks are trademarks of their respective owners. 2010 Verint Systems Inc. All rights reserved worldwide.
Page 1
Introduction
Video compression reduces the quantity of data used to represent digital video content, making video files smaller with little perceptible loss in quality. This technical brief examines the most popular video compression standards used in video surveillance applications today. The following information will help you select the standard video codec that best meets your project requirements, while optimizing use of valuable network resources. When coding data for transmission, it is important to identify which video compression standard to implement. Uncompressed video can exceed a networks bandwidth capacity and often requires an ample amount of disk space for storage. Uncompressed video can require bandwidth capacity up to 160Mbps on the network. Simply applying a compression standard like H.264 will reduce the amount of video bandwidth to an average of 1.5 to 2.5Mbps over the network resulting in considerable savings Consequently, it is not practical to transmit video data without using a compression standard. Image and video compression techniques reduce high bit rates and large file sizes associated with digital video, allowing efficient transmission and storage of video data. In essence, these compression technologies reduce the quantity of data used to represent video content, making video files smaller with little loss in quality. Compressed files are easier to transmit over a network and easier to store.
Image and video compression allow video data to be efficiently transmitted and stored.
Most compression techniques register the differences within a frame or between frames in order to reduce the quantity of data used. For differences within a single frame, compression techniques take advantage of the fact that the human eye is unable to distinguish small differences in color. These areas are "averaged out" without perceptible change to the viewer. For differences between frames, only the changes from one frame to the next are encoded. By ignoring redundant pixels, the changed portion of a video sequence is compressed, thereby reducing overall file size.
Page 2
Most professional MPEG-based video codecs use motion compensated differential coding, known as P and B frames, that improve compression. These codecs generate periodical reference frames, also known as key, Intra or I-frames, which are set at user-defined intervals (for example, 1 reference frame every 5 frames). Motion compensated differential coding compares two compressed images that are transmitted over a network and uses the first compressed image as a reference frame (I-frame) sending only the parts of the following images (B- and P-frames) that differ from the reference image. A network viewing station then reconstructs all images based on the reference image and the difference data contained in the B- and P-frames.
Codec Standards
This section describes popular standard codecs used in video surveillance and security applications. All of the following codecs are lossy meaning that the reconstruction of an image after compression will differ from the original. Todays most popular codecs are categorized as either video codecs or still image codecs. Still image codecs can be used for video compression purposes, in which case the video is interpreted as a series of still images. They are considered less efficient than video codecs because each frame is considered a key frame and is independent of the previous one. Still image codecs are better than video codecs for error resilience, but can generate more bits resulting in a higher probability of errors. A video codec usually provides better compression results. Video and still image codec standards are developed and maintained by two international organizations:
Page 3
The International Telecommunications Union (ITU) publishes standards for videophone and videoconferencing applications, including H.264. The International Standards Organization (ISO) publishes computing standards through the Joint Photographic Experts Group (Motion JPEG) and Moving Pictures Experts Group (MPEG).
A video codec generally provides better compression results than a still image codec.
The Main Profile (MP) offers more sophisticated entropy-encoding strategies than the Baseline Profile. With the context adaptive binary coding (CABAC) algorithm, the Main Profile provides 10 to 20% more efficient compression over context-adaptive variable length coding (CAVLC) present in the Baseline profile. The intent of using H.264 is to achieve very high data compression results. This standard is capable of providing better image quality at bit rates that are substantially lower than previous standards. The H.264 compression standard can reduce image size by up to 50% compared to MPEG-4, reducing the use of network bandwidth and storage; a significant gain particularly with high-motion video.
MPEG-4
MPEG-4 is one of the most widely used codecs for video security. It offers improved quality relative to MPEG-2. This codec is designed to operate within a wide range of bit rates and resolutions, so it is well suited for the video surveillance industry. Resolution can be supported from CIF 3.75fps at 128kbps to D1 30fps @ 6Mbits/s. Typical video surveillance implementations use the Simple (SP) or Advanced Simple Profile (ASP). A good ASP implementation can reduce the bit rate by about 15%, but requires twice the processing power. Many MPEG-4 codecs are optimized for lower bit rate video, which often gives the wrong impression that MPEG-2 provides better quality. MPEG-4 generates better quality images at an equivalent bit-rate than JPEG-based codecs.
Page 4
MPEG-2
MPEG-2 was approved as a standard in 1994 and was designed for high frame and bit rates. MPEG-2 extends the earlier MPEG-1 compression standard to produce high quality video at the expense of a lower compression ratio and at a higher bit-rate. The frame rate is locked at 25 (PAL)/30 (NTSC) fps, as is the case for MPEG-1. MPEG-2 was successful in the broadcast market, so there are many hardware implementations using this standard. The MPEG-2 Simple Profile uses very similar technologies to MPEG-4, so the compression rate and image quality are roughly similar.
WMV9 (VC-1)
Microsoft originally developed the Windows Media Video version 9 codec as a proprietary codec for low bit-rate streaming applications. The standard was officially approved by the Society of Motion Picture and Television Engineers (SMPTE) in March 2006 as SMPTE 421M WMV version 9 (also known as VC-1).
SM4
SM4 is a Verint proprietary codec. It is MPEG-4 based and H.263-based. SM4 is designed to encode quickly and provides good quality, while reducing the required bit rate by about 5% when compared to the MPEG-4 Simple Profile.
Page 5
JPEG 2000
JPEG 2000 is a wavelet-based image compression standard created by the Joint Photographic Experts Group committee that provides better compression for still image coding by filtering, sub-sampling, and smoothing video data to remove unnecessary details. JPEG 2000 is very scalable and brings many new tools that improve compression, but requires significantly more processing power then JPEG to encode an image. It is not expected to become a standard for use in video surveillance, except for use in some IP cameras and specialized systems. The original JPEG standard is slowly being replaced by JPEG 2000 because it outperforms it in terms of compression by almost 40%.
Nextiva Intelligent Edge Devices help optimize digital video with state-of-theart video compression and multiple streaming capabilities, allowing to simultaneously view and record images at different rates and resolutions. By supporting various codecs: H.264, MPEG-4, SM4 and MJPEG, through Nextiva Intelligent Edge Devices, Verint offers the ability to select the appropriate codec. This provides an optimal solution that can meet your project objectives and requirements. Although proprietary codecs, such as SM4, are useful and provide excellent compression results, open, standardsbased codecs, such as H.264 Main Profile and MPEG-4 Simple Profile, provide even more system flexibility.
The maximum and minimum required sustained frame rate. The resolution/frame rate that is required when recording motion, an event, or an alarm. Whether recording/monitoring is required at all times or only when motion or an event occurs. The length of time a video sequence must be stored. The level of latency that is acceptable. System robustness and security issues. Amount of network bandwidth required.
Since choosing the right codec depends on many external factors and project requirements, the most appropriate codec to use for an application largely depends on what is most pertinent to your objectives: frame rate, image quality, latency, system robustness, or bandwidth consumption.
Page 6
Video Management Software Automated video system health monitoring and diagnostics Policy-based event notification, video distribution, and process activation Virtual matrix Live and recorded video viewing with an interactive map of facility layouts and camera locations Investigation management for collecting case-related audio, video, and data Vertical Market Suites Retail, banking, mass transportation, enterprise, education, government, critical infrastructure, homeland security, transportation networks Integrated Video Analytics Camera tampering, wrong direction, perimeter intrusion, loitering, objects left behind or removed, traffic analysis, & more Comprehensive Service and Support Staffed by experts in Nextiva deployment & operation Comprehensive warranty support Live technical support Web-based resources
Advanced replacements On-site installation services Project management Integration engineering services Professional services
Page 7