H.264 adapted for CCTV

CCTV Handbook 2011 CCTV, Surveillance & Remote Monitoring

Compression is not always compression. Geutebrück discusses H.264.

For the security industry, the major attraction of the H.264 standard is the prospect of high levels of compression and low storage costs. However, as a result of its multimedia heritage, the vast majority of H.264 implementations come with annoying drawbacks: inability to crawl backwards frame by frame, jerky images in fast forward and fast rewind, latencies and unnecessary costs. Although it is quite possible to produce an H.264 product without these negative side effects, very few have done it. One reason for this is that developing a video surveillance-friendly implementation involves a basic design rethink and some in-depth consideration of where and when, and what kind of data compression is necessary or desirable.

Like MPEG-2 and MPEG-4 before it, H.264 also uses differential compression. Whereas the earlier M-JPEG standard compresses each individual image in a video sequence independently from all other images, differential processes only consider the changes between one image and the previous and/or the following images. This approach does drastically reduce the amount of data that has to be stored, but it means that for successful decoding, all the frames used for compression are also needed for decompression, ie, the whole P-chain or group of pictures (GoP) beginning with the independent I-frame. If this GoP is not available in its entirety then compression errors or artifacts are produced, and if the chains are long, gaps of several seconds can result.

The drawbacks of P-chains

In video surveillance, it is useful to be able to discard individual pictures from a sequence. Time lapse recording for instance uses selective discarding to save much more storage space than any compression process can. Yet with most H.264 implementations, time-lapse recording is simply not possible. In addition, there are many monitoring situations where smooth live video is required for display, but one frame per second may be adequate for documentation purposes. With M-JPEG you can control live video and recording frame rates separately, but not with most H.264 products. Typical compromises get round this by either recording with a higher picture rate than necessary, or suffering a jerky live display with the same reduced picture rate as the recording. The paradoxical result of the first compromise is that despite using H.264, storage costs can be even greater than with M-JPEG.

Without the ability to discard frames video analysis may cost more. This is because the system load is minimised by matching the number of analysed frames per second with the speed of the observed event. Hence, for a wide-angle camera where only relatively slow movement occurs in the scene, a handful of pictures per second may suffice to capture all relevant information. But with P-chain restrictions in force, the analysis channel still has to process 25 pictures per second – and processing five times the data inevitably means higher costs.

Ease of use

In surveillance applications, ease of use is a major issue as it influences the effectiveness of the whole operation. Operators want to crawl forwards and backwards frame by frame, to run video forwards and backwards without losing track of the action, to view fully synchronised recordings from several cameras at once to analyse the same event from different angles. And most importantly, to experience no delay in camera reaction when sending its commands via the operator keyboard – a feature that most standardised H264 structure IP systems cannot achieve.

Yet P-chains here represent an annoying irritant at best and a security risk at worst, causing jumps during picture navigation and making video replay uncomfortable for users. Ironically, the overall effect of P-chains and the limitations they impose is to lead systems to be bigger than necessary in order to ensure that appropriately high picture rates, qualities and resolutions are available if there is an alarm. This is surely a wasteful approach.

Security-optimised H.264 structures

Yet, within the H.264 framework there are other ways of structuring the compression process which do not involve chains. For example, each P frame may be generated by only referring to the I frame. This structure allows individual P frames to be discarded without affecting the decompression of other images in the GoP, but it is seldom used because it reduces compression efficiency. Closer examination though shows that any disadvantage is more than offset by gains in flexibility and the ability to employ other video surveillance cost-reduction processes such as time-lapse recording, ‘fading long term memory’ as well as independent control of display and recording rates. And, free from the constriction of P-chains, this kind of encoder can generate new I-frames at will, thus enabling video characteristics to be changed instantly and surveillance process latencies to be eliminated. Although still a minority, products using this kind of structure do now exist.

For more information contact Geutebrück, +27(0)11 867 6585, [email protected], www.geutebruck.com





Share this article:
Share via emailShare via LinkedInPrint this page



Further reading:

Turkish university installs IDIS surveillance
CCTV, Surveillance & Remote Monitoring Products
IDIS video streamlines complex surveillance systems for learning institution, upgrading a 350-camera system with 24/7 control room monitoring to transform security for Social Sciences University of Ankara (ASBU).

Read more...
Brighter, greener, and smarter
Dahua Technology South Africa Products CCTV, Surveillance & Remote Monitoring
Dahua Technology released its new Dahua CH II Series Indoor Fine Pixel Pitch LED display, providing visual clarity and promoting energy efficiency and sustainability.

Read more...
Smart water management
Axis Communications SA CCTV, Surveillance & Remote Monitoring Integrated Solutions
South Africa is currently facing a water crisis, with scarcity and inefficient water management posing significant challenges to sustainable, consistent access to water. Smart technology and powerful partnerships may offer a proactive solution to SA's water crisis.

Read more...
Helping retailers optimise monitoring and security
Guardian Eye Retail (Industry) CCTV, Surveillance & Remote Monitoring
From a smart retail perspective, it is crucial to understand that monitoring stock and other assets through camera surveillance and a variety of Internet of Things (IoT) sensors stretches further than the stores themselves.

Read more...
Empowering Istanbul’s public transportation
Dahua Technology South Africa CCTV, Surveillance & Remote Monitoring Integrated Solutions
Dahua's intelligent transportation solution, using technologies like DSM and AI-based passenger flow counting, has facilitated an intelligent system upgrade for nearly 6 400 minibuses and electric buses in Istanbul.

Read more...
Smart manufacturing redefined
Hikvision South Africa CCTV, Surveillance & Remote Monitoring Industrial (Industry)
AI and intuitive visualisation technology allows managers to monitor manufacturing sites, production, and operational processes, and to respond in real time in the event of an issue – helping to drive efficiency and productivity.

Read more...
AI is getting smarter, and critical infrastructure is set to benefit
Axis Communications SA CCTV, Surveillance & Remote Monitoring
With technology advancing at an astonishing pace, AI has emerged as a defining trend in today's business arena. Enterprises across all sectors are prioritising this technology, embracing its transformative potential to drive change and growth.

Read more...
Collaboration delivers integrated and holistic security
Guardian Eye CCTV, Surveillance & Remote Monitoring News Integrated Solutions
Guardian Eye and Lytehouse have partnered to integrate their speciality solutions and provide a holistic security offering that overcomes the fragmentation of security systems and services.

Read more...
Manage security systems remotely
Hikvision South Africa CCTV, Surveillance & Remote Monitoring IT infrastructure Products
Hikvision launched a new generation of smart managed switches that, in conjunction with the Hik-Partner Pro mobile app, enable installers to remotely deploy and configure security systems with comprehensive operation and maintenance capabilities.

Read more...
Synology enhances functions for advanced surveillance integration
Technews Publishing CCTV, Surveillance & Remote Monitoring IT infrastructure Products
With the capability to function as both an API client and server, Surveillance Station offers a versatile platform for integration, whether it's embedding video streams into other platforms or overlaying external data onto recorded video.

Read more...