H.264 Rocks The CCTV World

What do Apple iTunes and YouTube videos share in common with the video surveillance industry? H.264, the latest standard for video compressor/decompressors, or codecs.

Developed by the ITU-T Video Coding Experts Group and ISO/IEC Moving Picture Experts Group, H.264 follows the highly successful MPEG2 and MPEG4 video standards and offers improvements in both video quality and compression.

Video codecs compress digital video in order to reduce the amount of bandwidth required to transmit and store the images. Compression is necessary because the raw data rate of uncompressed, digitally-encoded analog CCTV video at 30 fps is more than 158 megabits per second -- 300 times the capacity of a 512 kilobit-per-second asynchronous digital subscriber line (ADSL) connection. In terms of storage, a one-hour recording would fill an 80 gigabyte hard disk.

Scaling the video to lower resolution and compressing it with standard utilities such as WinZip or gzip could achieve 10:1 compression. However, at least 300:1 compression is needed to stream live video over an ADSL connection and to achieve 300 hours recording to an 80GB hard disk. This level of compression can be achieved with H.264.

An example of the bandwidth savings that can be achieved from a typical traffic surveillance camera, which must alternately transmit images of moving and non-moving traffic, is demonstrated in the following graph. In this example, the same 24-hour video sequence has been encoded using four different encoders: the IndigoVision 8000 MPEG4, the IndigoVision 9000 H.264, an MPEG-4 encoder with no motion estimation, and an MJPEG encoder.All were encoded at 25fps (with the exception of MJPEG at 5fps) to the same subjective video quality.

The graph shows that compared to MPEG4, H.264 can achieve savings of typically between 20 percent and 25 percent in bandwidth usage and in excess of 50 percent during periods of scene inactivity -- i.e., when there is no moving traffic. Not only does this reduce the overall bandwidth requirements of the IP video system but more importantly, it can significantly reduce the amount of storage required for recording the video, often one of the most expensive items in the system.

Implementing The Standard

It is important, when looking at H.264, to understand the difference between comparing a standard versus an implementation of a standard. The two are very different.

Thus when people say H.264 provides better video quality than MPEG2, it is a little misleading.

As a compression standard, H.264 defines the syntax of an encoded bitstream— in other words, the underlying language and grammar of the code. Naturally, a H.264-compliant decoder must conform exactly and be able to implement all the necessary tools defined by the standard in order to decode the bitstream.

An H.264 encoder, conversely, can implement a subset of the syntax defined by the standard, something akin to a language dialect, providing it produces a compliant bitstream. So it is more appropriate to say that H.264 provides a richer syntax and toolset than MPEG2. In addition, various implementations and algorithms within the encoder are also not defined by the standard, so manufacturers are free to innovate with design and functionality. As such, H.264 encoders from different vendors will compress streams at the same bit rate, but at differing quality, or generate the same quality video at a much lower bit rate.

H.264 has caught on. Apple uses it for all iTunes video and by the end of this year, YouTube hopes to have all of its video encoded in the standard. Its application in video surveillance will be no less significant.

About the Author

Barry Keepence is the chief technical officer at IndigoVision.

Featured

  • The Evolution of IP Camera Intelligence

    As the 30th anniversary of the IP camera approaches in 2026, it is worth reflecting on how far we have come. The first network camera, launched in 1996, delivered one frame every 17 seconds—not impressive by today’s standards, but groundbreaking at the time. It did something that no analog system could: transmit video over a standard IP network. Read Now

  • From Surveillance to Intelligence

    Years ago, it would have been significantly more expensive to run an analytic like that — requiring a custom-built solution with burdensome infrastructure demands — but modern edge devices have made it accessible to everyone. It also saves time, which is a critical factor if a missing child is involved. Video compression technology has played a critical role as well. Over the years, significant advancements have been made in video coding standards — including H.263, MPEG formats, and H.264—alongside compression optimization technologies developed by IP video manufacturers to improve efficiency without sacrificing quality. The open-source AV1 codec developed by the Alliance for Open Media—a consortium including Google, Netflix, Microsoft, Amazon and others — is already the preferred decoder for cloud-based applications, and is quickly becoming the standard for video compression of all types. Read Now

  • Cost: Reactive vs. Proactive Security

    Security breaches often happen despite the availability of tools to prevent them. To combat this problem, the industry is shifting from reactive correction to proactive protection. This article will examine why so many security leaders have realized they must “lead before the breach” – not after. Read Now

  • Achieving Clear Audio

    In today’s ever-changing world of security and risk management, effective communication via an intercom and door entry communication system is a critical communication tool to keep a facility’s staff, visitors and vendors safe. Read Now

  • Beyond Apps: Access Control for Today’s Residents

    The modern resident lives in an app-saturated world. From banking to grocery delivery, fitness tracking to ridesharing, nearly every service demands another download. But when it comes to accessing the place you live, most people do not want to clutter their phone with yet another app, especially if its only purpose is to open a door. Read Now

New Products

  • PE80 Series

    PE80 Series by SARGENT / ED4000/PED5000 Series by Corbin Russwin

    ASSA ABLOY, a global leader in access solutions, has announced the launch of two next generation exit devices from long-standing leaders in the premium exit device market: the PE80 Series by SARGENT and the PED4000/PED5000 Series by Corbin Russwin. These new exit devices boast industry-first features that are specifically designed to provide enhanced safety, security and convenience, setting new standards for exit solutions. The SARGENT PE80 and Corbin Russwin PED4000/PED5000 Series exit devices are engineered to meet the ever-evolving needs of modern buildings. Featuring the high strength, security and durability that ASSA ABLOY is known for, the new exit devices deliver several innovative, industry-first features in addition to elegant design finishes for every opening.

  • AC Nio

    AC Nio

    Aiphone, a leading international manufacturer of intercom, access control, and emergency communication products, has introduced the AC Nio, its access control management software, an important addition to its new line of access control solutions.

  • Luma x20

    Luma x20

    Snap One has announced its popular Luma x20 family of surveillance products now offers even greater security and privacy for home and business owners across the globe by giving them full control over integrators’ system access to view live and recorded video. According to Snap One Product Manager Derek Webb, the new “customer handoff” feature provides enhanced user control after initial installation, allowing the owners to have total privacy while also making it easy to reinstate integrator access when maintenance or assistance is required. This new feature is now available to all Luma x20 users globally. “The Luma x20 family of surveillance solutions provides excellent image and audio capture, and with the new customer handoff feature, it now offers absolute privacy for camera feeds and recordings,” Webb said. “With notifications and integrator access controlled through the powerful OvrC remote system management platform, it’s easy for integrators to give their clients full control of their footage and then to get temporary access from the client for any troubleshooting needs.”