Twitter, RSS and Facebook logos

  Connect with Security Magazine!
     Follow us on Twitter and Facebook or subscribe to our newsletters or RSS feeds.

H.264 Compression Delivers More With Less



There’s a new technology on the block in the digital video surveillance world and it’s getting a fair amount of attention. I’m referring to the H.264 compression standard that is starting to show up in the specifications of digital and megapixel cameras and also as the subject of several online articles and blogs.

So what do we know about this new technology? How does it compare to the various MPEG and JPEG compression formats? And, how is it going to affect us?

Lessons in H.264

First of all, the H.264 compression standard is not new. It was ratified by the joint MPEG/VCEG (Video Coding Experts Group) committee in 2003 as an extension of MPEG4, and was named MPEG4 Part 10 – although it is more generally known as H.264 AVC (Advanced Video Codec). The new compression algorithm was initially used most commonly in communication applications such as videoconferencing and was then subsequently adopted by the broadcast and computer industries.

Essentially, H.264 compression technology compares a frame of video (R - reference frame) to the preceding coded frame (I - index frame) and then codes only the differences in the R frame. It continues doing this until a new I frame refreshes the scene. Think of a video surveillance camera focused on a gaming table wherein the green felt tabletop does not change but there is movement of the cards and motion by the dealer and the players. The camera would only process the changes in the frame; namely the movement of the cards and the motion of the individuals.

Compare and Contrast

Also common to the MPEG4 format, this technique is known as temporal compression and it significantly reduces the overall amount of data to be compressed, with very little loss of image quality. H.264 is more efficient, however, than MPEG4 in its technique, and the compressed files are somewhat smaller and of higher quality than MPEG4 files.

Another area where H.264 differs significantly from MPEG4 is in video motion processing and the difference is a visually more pleasing image with H.264. As well, H.264’s advanced processing techniques expand the use of the standard to include video surveillance applications, particularly those where more motion may be involved from either the camera itself or from the image subject. The H.264 standard includes predicting capabilities (using past, current and next frames) and enhanced motion compensation that are improved over the MPEG4 standard. Again using the gaming table as our example, the camera processor can intelligently predict movement of the cards to determine which pixels or blocks of pixels are going to be different and code accordingly.

Comparing H.264 to MPEG4 is a little like comparing apples to apples, but comparing H.264 to MJPEG (motion JPEG) is more like comparing apples to oranges. This reason for this is because MJPEG uses a frame by frame compression technique, known as spatial compression. In other words, each frame of video is compressed, independent of the surrounding frames. The compression works by taking advantage of data, which is similar in the frame, such as the green felt tabletop of the gaming table. This data varies little from pixel to pixel and therefore fewer bits need to be coded.

The MJPEG technology was derived from the JPEG compression standard and instead of compressing a single image as a JPEG file, MJPEG compresses 24-30 images per second and stores them in sequence. It is certainly a high quality compression scheme and very fast but it also suffers from problems inherent in the fact that it was originally developed to compress still images. As well, the frame-by-frame compression results in larger files than H.264 or MPEG4 files and consequently requires considerably more bandwidth.

So how will H.264 compression format affect us? As we can see from the explanation of the technology, the H.264 compression scheme reduces the amount of bandwidth required in order to transmit video files. This is momentous, in my opinion, because it takes away the excuse of not having enough bandwidth to implement an IP video surveillance system. Secondly, the reduced file sizes will drastically lower the amount of data that needs to be recorded and/or stored.

H.264 is a welcomed addition to the scene and can only help in continuing to move our industry forward.  
Cynthia Freschi is president of North American Video, with fully staffed offices located in five states. Her firm is an SDM Magazine Top Systems Integrator.

Recent Articles by Cynthia Freschi

You must register or login in order to post comments.

Multimedia

Videos

Image Galleries

Stanley Customer Appreciation Event at ASIS 2011

Customers enjoyed the annual Stanley customer appreciation event during ASIS 2011 in Orlando.

Podcasts

The New Age of Video Surveillance
In this podcast, Bill Lawrence, director of Service Solutions and Platforms for ADT Security Services, explains the growing interest in video surveillance by both government agencies as well as businesses of every stripe. He discusses what any organization should consider before investing heavily in the technology. Lawrence is a 25-year veteran of both the information technology and physical security industries, with extensive experience in network video surveillance and physical security convergence.
More Podcasts

Your Time

On a daily basis, how much work time do you estimate that you spend addressing an emergency or crisis within your organization?
See Poll Results Poll Archive

THE SECURITY STORE

comptiahighriseproductphoto
CompTIA Security+ Certification Study Guide
CompTIA's Security+ certification is a globally-recognized, vendor neutral exam that has helped over 60,000 IT professionals reach further and higher in their careers. The current Security+ exam (SY0-201) focuses more on being able to deal with security issues rather than just identifying them.
More Products

Clear Seas Research

Clear Seas ResearchWith access to over one million professionals and more than 60 industry-specific publications,Clear Seas Research offers relevant insights from those who know your industry best. Let us customize a market research solution that exceeds your marketing goals.

Vertical Sector Focus: Critical Infrastructures

criticalhomepagethumbFrom terrorism to vandalism, it’s preparedness, response, training and partnerships. Learn about some of the critical security issues facing this sector.

Visit the Critical Infrastructure page to read more.  

STAY CONNECTED

facebooklogo twitterlogo  linkedinlogo  YouTube icon