Your browser is not supported. Please update it.

12 April 2012

H.265 will be for TVs rather than mobiles ‘ for now

The H.265 video compression standard, otherwise known as High Efficiency Video Coding (HEVC) or MPEG-H Part 2, has crept up beneath the covers, but has now just been given the status of draft standard by its joint developers, the MPEG (Moving Picture Experts Group) and VCEG (ITU-T Video Coding Experts Group). Some broadcasters and operators are still asking why effort is being expended on a new standard when there is still work to be done optimizing the existing H.264, which itself has only recently gained widespread acceptance and deployment. H.264 for example is a core part of the DVB-T2 digital terrestrial standard, accounting for about half its bandwidth efficiency gains.

The situation though is almost a carbon repeat of H.264’s arrival, and the subsequent migration to it from its predecessor, MPEG-2. Like H.264, MPEG-2 is not a standard cast in stone, but provides a series of profiles that can be tuned and optimized in the light of experience, leading to progressive improvements in efficiency and compression rate for a given level of subjective picture quality. This process took place over more than a decade in the case of MPEG-2, during which H.264 arrived. The same is happening with H.264 as H.265 sneaks in.

New standards in video compression tend to come when the previous one is no longer capable of much improvement. The old one was designed for an era when available processing power and memory on encoding chips was lower by one or two orders of magnitude, at a time when nobody envisaged the capacity that would become available. The improving performance of a given codec such as MPEG 2 through tuning, exploits ongoing CPU improvements, but ultimately runs out of steam, and progress tails off. At this point only a radically new codec introducing different encoding features can carry the ball forward and fully utilize the processing power that has become available. It is always a case of trading off the relative cost and availability of processing power and bandwidth, with the former, in line with Moore’s Law, improving faster. This makes it worthwhile every decade or so to develop a new codec with features that would have been impossible to implement at the time its predecessor was emerging, because the processing resources were not then available. Progress is also made in the algorithms themselves through research and development.

Nevertheless the introduction of H.265 has been controversial, and not just because of debate over whether the key features might have been better bolted onto H.264. The motivation for H.265 emerged not just because of the potential for greater compression efficiency, brought by increased power, but also by a need engineered by thirst for ever higher resolutions on big screens. At the same time there was growing demand for OTT delivery to small screens over limited bandwidth. The trouble is that increased processing power is not an entirely free lunch ‘ it requires more energy. This may be OK for TVs even if it does not accord with green environmental agendas, but is a serious problem for wireless battery powered devices, given that progress with electrical storage has been painfully slow compared with processing and memory capacity. For this reason we envisage H.265 being confined to TVs, to start with at least, rather than mobile devices. This was the same with H.264, with manufacturers only implementing the basic profile on phones, and it is ironic in that the need for H.265 was driven partly by the impending multiscreen boom, while the 3G revolution pushing up bandwidth demand for broadcast services has been rather a damp squib. However advocates of H.265 are talking up its benefits for home cinema and arguing how it will come into own when HD Ultra arrives, also known as 8K, at 7680 x 4320 pixel resolution. This is the maximum supported by H.265, comparable with the IMAX motion picture film format, and 16 times the areal resolution of 1080p HD, the top end version of HD currently deployed. This is still some years away, as widespread H.265 deployment is likely to be also.

H.265 brings some quality improvements relevant for the big screen, such as 10-bit color, compared with 8-bit for H.264. With 8 bit color there are 255 intensity values for each primary color, while 10 bit increases this to 1023. This might seem unnecessary given that even 8 bit color allows over 16 million different shades of color, when the three primary colors are combined in an image, more than the 10 million that the healthy human eye is capable of resolving. But video encoded with 10 bit color is more robust against post processing and further compression cycles, leading to demonstrable quality improvement on a large screen.

H.265 has made good progress so far, coming close to meeting its first round target set in 2009, which was to reduce bit rate by 50% for a given subjective image quality compared with H.264. At the Mobile World Congress in Barcelona in February 2012, San Diego based chip maker Qualcomm demonstrated a preliminary version of H.265 video on an Android tablet with compression rates around 50% better. There was also an objective to ensure computational complexity did not get out of hand and be on average no greater than three times greater than H.264, and that too is being met.

One issue with H.265, as with H.264 and MPEG-2, has been the method of development whereby different vendors contribute in return for a share of future revenues via a patents pool. This has led to the development of patent free alternatives in the past, with Google offering its VP8 codec following its purchase of On2 Technologies. However H.265 probably has little to fear here, since VP8 is generally slightly outperformed even by H.264 in tests performed so far. There is little doubt that H.265 represents the state of the art in compression, not through any radically new compression algorithm, but by hitching increasing power to incremental improvements in existing intra frame and inter frame compression techniques.

One of the most important of these improvements is in inter frame compression, building on the macro block approach of H.264. A macro block is an image compression unit composed of two or more blocks of pixels, the aim being to exploit the fact that blocks often change little if at all between successive frames. Video is then transmitted as sequences of inter compressed frames separate by I frames, that are only compressed within themselves. The I frame provides a reference point from which successive frames can be reconstructed, and hold the sequence together. Under MPEG-2, macro blocks were of fixed 8x 8 size, while H.264 increased this to 16 x16, which can be broken down into sub partitions, typically 4x 4 or 8×8. This slightly greater block size and flexibility helped deliver higher levels of compression.

H.265 replaces the macro block with an altogether more flexible compression unit called the coding tree block (CTB), which can be of any size that is a power of two. A whole frame can then be divided into overlapping CTBs of the largest size used, say 128 x 128, which in turn can be subdivided into any partitions of smaller sizes in a recursive arrangement, enabling huge variety. In this way the CTBs can be configured to suit the video type, and the resulting increase in inter-frame compression is a major contribution to the overall improvement of H.265. Apart from this H.265 embodies various features relevant for multiscreen services, such as improved support for Scalable Video Coding (SVC), for encoding of video as one or more subset bit streams. This was introduced as an extension of H.264, but was built into H.265 from the outset.