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 Future of Access Control: Cloud-Based Solutions for Safer Workplaces

    Access controls have revolutionized the way we protect our people, assets and operations. Gone are the days of cumbersome keychains and the security liabilities they introduced, but it’s a mistake to think that their evolution has reached its peak. Read Now

  • A Look at AI

    Large language models (LLMs) have taken the world by storm. Within months of OpenAI launching its AI chatbot, ChatGPT, it amassed more than 100 million users, making it the fastest-growing consumer application in history. Read Now

  • First, Do No Harm: Responsibly Applying Artificial Intelligence

    It was 2022 when early LLMs (Large Language Models) brought the term “AI” into mainstream public consciousness and since then, we’ve seen security corporations and integrators attempt to develop their solutions and sales pitches around the biggest tech boom of the 21st century. However, not all “artificial intelligence” is equally suitable for security applications, and it’s essential for end users to remain vigilant in understanding how their solutions are utilizing AI. Read Now

  • Improve Incident Response With Intelligent Cloud Video Surveillance

    Video surveillance is a vital part of business security, helping institutions protect against everyday threats for increased employee, customer, and student safety. However, many outdated surveillance solutions lack the ability to offer immediate insights into critical incidents. This slows down investigations and limits how effectively teams can respond to situations, creating greater risks for the organization. Read Now

  • Security Today Announces 2025 CyberSecured Award Winners

    Security Today is pleased to announce the 2025 CyberSecured Awards winners. Sixteen companies are being recognized this year for their network products and other cybersecurity initiatives that secure our world today. Read Now

New Products

  • ResponderLink

    ResponderLink

    Shooter Detection Systems (SDS), an Alarm.com company and a global leader in gunshot detection solutions, has introduced ResponderLink, a groundbreaking new 911 notification service for gunshot events. ResponderLink completes the circle from detection to 911 notification to first responder awareness, giving law enforcement enhanced situational intelligence they urgently need to save lives. Integrating SDS’s proven gunshot detection system with Noonlight’s SendPolice platform, ResponderLink is the first solution to automatically deliver real-time gunshot detection data to 911 call centers and first responders. When shots are detected, the 911 dispatching center, also known as the Public Safety Answering Point or PSAP, is contacted based on the gunfire location, enabling faster initiation of life-saving emergency protocols.

  • 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.

  • A8V MIND

    A8V MIND

    Hexagon’s Geosystems presents a portable version of its Accur8vision detection system. A rugged all-in-one solution, the A8V MIND (Mobile Intrusion Detection) is designed to provide flexible protection of critical outdoor infrastructure and objects. Hexagon’s Accur8vision is a volumetric detection system that employs LiDAR technology to safeguard entire areas. Whenever it detects movement in a specified zone, it automatically differentiates a threat from a nonthreat, and immediately notifies security staff if necessary. Person detection is carried out within a radius of 80 meters from this device. Connected remotely via a portable computer device, it enables remote surveillance and does not depend on security staff patrolling the area.