The H.263+ Video Coding Standard: Complexity and Performance

Similar documents
ITU-T Video Coding Standards

Module 8 VIDEO CODING STANDARDS. Version 2 ECE IIT, Kharagpur

Chapter 2 Introduction to

COMP 249 Advanced Distributed Systems Multimedia Networking. Video Compression Standards

Multimedia Communications. Video compression

Chapter 10 Basic Video Compression Techniques

Principles of Video Compression

Video coding standards

Multimedia Communications. Image and Video compression

AUDIOVISUAL COMMUNICATION

Overview: Video Coding Standards

Video Transmission. Thomas Wiegand: Digital Image Communication Video Transmission 1. Transmission of Hybrid Coded Video. Channel Encoder.

MULTI-STATE VIDEO CODING WITH SIDE INFORMATION. Sila Ekmekci Flierl, Thomas Sikora

Introduction to Video Compression Techniques. Slides courtesy of Tay Vaughan Making Multimedia Work

ITU-T Video Coding Standards H.261 and H.263

The H.26L Video Coding Project

Motion Video Compression

Research Topic. Error Concealment Techniques in H.264/AVC for Wireless Video Transmission in Mobile Networks

Performance Evaluation of Error Resilience Techniques in H.264/AVC Standard

An Efficient Low Bit-Rate Video-Coding Algorithm Focusing on Moving Regions

University of Bristol - Explore Bristol Research. Peer reviewed version. Link to published version (if available): /ISCAS.2005.

MPEG-2. ISO/IEC (or ITU-T H.262)

Joint Optimization of Source-Channel Video Coding Using the H.264/AVC encoder and FEC Codes. Digital Signal and Image Processing Lab

H.261: A Standard for VideoConferencing Applications. Nimrod Peleg Update: Nov. 2003

Module 8 VIDEO CODING STANDARDS. Version 2 ECE IIT, Kharagpur

Dual Frame Video Encoding with Feedback

Analysis of Video Transmission over Lossy Channels

Video Over Mobile Networks

INTERNATIONAL TELECOMMUNICATION UNION. SERIES H: AUDIOVISUAL AND MULTIMEDIA SYSTEMS Coding of moving video

Video Compression. Representations. Multimedia Systems and Applications. Analog Video Representations. Digitizing. Digital Video Block Structure

Error concealment techniques in H.264 video transmission over wireless networks

Video compression principles. Color Space Conversion. Sub-sampling of Chrominance Information. Video: moving pictures and the terms frame and

Advanced Computer Networks

H.263, H.263 Version 2, and H.26L

AN IMPROVED ERROR CONCEALMENT STRATEGY DRIVEN BY SCENE MOTION PROPERTIES FOR H.264/AVC DECODERS

Selective Intra Prediction Mode Decision for H.264/AVC Encoders

ROBUST ADAPTIVE INTRA REFRESH FOR MULTIVIEW VIDEO

Video 1 Video October 16, 2001

An Overview of Video Coding Algorithms

H.264/AVC Baseline Profile Decoder Complexity Analysis

Video Compression - From Concepts to the H.264/AVC Standard

PACKET-SWITCHED networks have become ubiquitous

Adaptive Key Frame Selection for Efficient Video Coding

Using RFC2429 and H.263+

Motion Re-estimation for MPEG-2 to MPEG-4 Simple Profile Transcoding. Abstract. I. Introduction

ENCODING OF PREDICTIVE ERROR FRAMES IN RATE SCALABLE VIDEO CODECS USING WAVELET SHRINKAGE. Eduardo Asbun, Paul Salama, and Edward J.

The Multistandard Full Hd Video-Codec Engine On Low Power Devices

1. INTRODUCTION. Index Terms Video Transcoding, Video Streaming, Frame skipping, Interpolation frame, Decoder, Encoder.

OL_H264MCLD Multi-Channel HDTV H.264/AVC Limited Baseline Video Decoder V1.0. General Description. Applications. Features

Error Resilient Video Coding Using Unequally Protected Key Pictures

International Journal for Research in Applied Science & Engineering Technology (IJRASET) Motion Compensation Techniques Adopted In HEVC

SHOT DETECTION METHOD FOR LOW BIT-RATE VIDEO CODING

Visual Communication at Limited Colour Display Capability

Modeling and Evaluating Feedback-Based Error Control for Video Transfer

Skip Length and Inter-Starvation Distance as a Combined Metric to Assess the Quality of Transmitted Video

Contents. xv xxi xxiii xxiv. 1 Introduction 1 References 4

Modeling and Optimization of a Systematic Lossy Error Protection System based on H.264/AVC Redundant Slices

OL_H264e HDTV H.264/AVC Baseline Video Encoder Rev 1.0. General Description. Applications. Features

Reduced complexity MPEG2 video post-processing for HD display

MPEGTool: An X Window Based MPEG Encoder and Statistics Tool 1

SCALABLE video coding (SVC) is currently being developed

Improved Error Concealment Using Scene Information

Dual frame motion compensation for a rate switching network

CHROMA CODING IN DISTRIBUTED VIDEO CODING

Drift Compensation for Reduced Spatial Resolution Transcoding

ABSTRACT ERROR CONCEALMENT TECHNIQUES IN H.264/AVC, FOR VIDEO TRANSMISSION OVER WIRELESS NETWORK. Vineeth Shetty Kolkeri, M.S.

Video (Fundamentals, Compression Techniques & Standards) Hamid R. Rabiee Mostafa Salehi, Fatemeh Dabiran, Hoda Ayatollahi Spring 2011

Systematic Lossy Forward Error Protection for Error-Resilient Digital Video Broadcasting

A video signal consists of a time sequence of images. Typical frame rates are 24, 25, 30, 50 and 60 images per seconds.

Part1 박찬솔. Audio overview Video overview Video encoding 2/47

Audio and Video II. Video signal +Color systems Motion estimation Video compression standards +H.261 +MPEG-1, MPEG-2, MPEG-4, MPEG- 7, and MPEG-21

PERCEPTUAL QUALITY OF H.264/AVC DEBLOCKING FILTER

Overview of the H.264/AVC Video Coding Standard

OBJECT-BASED IMAGE COMPRESSION WITH SIMULTANEOUS SPATIAL AND SNR SCALABILITY SUPPORT FOR MULTICASTING OVER HETEROGENEOUS NETWORKS

A Study of Encoding and Decoding Techniques for Syndrome-Based Video Coding

A Novel Approach towards Video Compression for Mobile Internet using Transform Domain Technique

Intra-frame JPEG-2000 vs. Inter-frame Compression Comparison: The benefits and trade-offs for very high quality, high resolution sequences

FAST SPATIAL AND TEMPORAL CORRELATION-BASED REFERENCE PICTURE SELECTION

FLEXIBLE SWITCHING AND EDITING OF MPEG-2 VIDEO BITSTREAMS

Into the Depths: The Technical Details Behind AV1. Nathan Egge Mile High Video Workshop 2018 July 31, 2018

Systematic Lossy Error Protection of Video based on H.264/AVC Redundant Slices

H.264/AVC. The emerging. standard. Ralf Schäfer, Thomas Wiegand and Heiko Schwarz Heinrich Hertz Institute, Berlin, Germany

Study of AVS China Part 7 for Mobile Applications. By Jay Mehta EE 5359 Multimedia Processing Spring 2010

Digital Image Processing

Improvement of MPEG-2 Compression by Position-Dependent Encoding

Comparative Study of JPEG2000 and H.264/AVC FRExt I Frame Coding on High-Definition Video Sequences

A look at the MPEG video coding standard for variable bit rate video transmission 1

CERIAS Tech Report Preprocessing and Postprocessing Techniques for Encoding Predictive Error Frames in Rate Scalable Video Codecs by E

ELEC 691X/498X Broadcast Signal Transmission Fall 2015

1022 IEEE TRANSACTIONS ON IMAGE PROCESSING, VOL. 19, NO. 4, APRIL 2010

ATSC vs NTSC Spectrum. ATSC 8VSB Data Framing

Digital Video Telemetry System

SUMMIT LAW GROUP PLLC 315 FIFTH AVENUE SOUTH, SUITE 1000 SEATTLE, WASHINGTON Telephone: (206) Fax: (206)

Constant Bit Rate for Video Streaming Over Packet Switching Networks

Fast MBAFF/PAFF Motion Estimation and Mode Decision Scheme for H.264

Chapter 2 Video Coding Standards and Video Formats

Error-Resilience Video Transcoding for Wireless Communications

CONSTRAINING delay is critical for real-time communication

Error Concealment for SNR Scalable Video Coding

MPEG has been established as an international standard

Transcription:

The H.263+ Video Coding Standard: Complexity and Performance Berna Erol (bernae@ee.ubc.ca), Michael Gallant (mikeg@ee.ubc.ca), Guy C t (guyc@ee.ubc.ca), and Faouzi Kossentini (faouzi@ee.ubc.ca) Department of Electrical Engineering, University of British Columbia, Vancouver BC V6T 1Z4, Canada. Tel: (604) 822-4988 Abstract The ITU-T H.263+ low bit-rate video coding standard is Version 2 of the draft international standard ITU-T H.263. Currently, we are a contributing party in the H.263+ standardization effort. In this paper, we discuss this emerging video coding standard and present compression performance results based on our public domain implementation of H.263+. Keywords : Video compression, H.263 and H.263+ video coding standards, video telephony, video conferencing. 1 Introduction The growing interest in digital video applications led academia and industry to work towards developing video compression techniques. Consequently several successful standards have emerged, e.g. ITU-T H.261, H.263, ISO/IEC MPEG-1 and MPEG-2. These standards address a wide range of video applications with different bit rate, picture quality, complexity, error resilience and delay requirements. While the demand for digital video communication applications such as video conferencing and video telephony has increased considerably, transmission rates over public switched telephone networks (PSTN) and wireless networks are still very limited. This requires compression performance and channel error robustness levels that cannot be achieved by previous block-based video coding standards such as H.261. The ITU-T H.263 standard [1] addresses the above requirements, and, as a result, becomes the new low bit rate video coding standard. Although its coding structure is based on that of H.261, H.263 provides better picture quality at low bit rates with little additional complexity. H.263 has been adopted in several videophone terminal standards, notably ITU-T H.324 (PSTN), H.320 (ISDN) and H.310 (B-ISDN). Currently ITU-T is working on version 2 of H.263 [2], also known as H.263+ in the standards community. H.263+ is an extension of H.263, providing twelve new negotiable modes. These modes improve compression performance, allow the use of scalable bit streams, enhance performance over packet-switched networks, support custom picture size and clock frequency and provide supplemental display and external usage capabilities. This paper is organized as follows. First, H.263 standard is briefly described. Then, an overview to H.263+ and its twelve negotiable modes is given. In the following section, some experimental results for the H.263+ modes, based on our public domain implementation [3] are presented. Also, tradeoffs between compression performance, complexity and memory requirements for the H.263+ optional modes are discussed. Finally, mode combination results are presented. 2 The ITU-T H.263 Standard The baseline H.263 video coding algorithm is based on techniques common to many current video coding standards. Its baseline has some improvements over H.261 such as more flexible picture format (though still limited to sub-qcif, QCIF, CIF, 4CIF and 16CIF), half pixel motion compensation, new VLC tables and some other minor enhancements [4, 5]. Moreover, H.263 supports four negotiable advanced coding modes: Unrestricted Motion Vectors, Advanced Prediction, PB-frames and Syntax Based Arithmetic Coding. These optional modes allow developers to trade off between compression performance and computational complexity. Unrestricted Motion Vector mode (UMV): In baseline H.263, motion vectors can only reference pixels that are within the picture area. Because of this, macroblocks at the border of a picture may not be well predicted. When the Unrestricted Motion Vector mode is used, motion vectors can take on values in the range [-31.5, 31.5] instead of [-16, 15.5] and are allowed to point outside the picture boundaries. The longer motion vectors improve coding efficiency for larger picture formats, i.e. 4CIF or 16CIF. Also, by allowing motions vectors to point outside the picture, a significant gain is achieved if there is movement along picture edges. This is especially useful in the case of camera movement or background movement.

Syntax-Based Arithmetic Coding mode (SAC): In this mode, all VLC coding operations are replaced by syntaxbased arithmetic coding operations. Since both VLC and arithmetic coding are lossless coding schemes, the resulting picture quality is not affected, yet the bit rate can be reduced by approximately 5%, due to the more efficient arithmetic codes. Advanced Prediction mode (AP): This mode allows to use four motion vectors per macroblock, one for each of the four 8 8 luminance blocks. Furthermore, overlapped block motion compensation is used for the luminance macroblocks, and motion vectors are allowed to point outside the picture as in the Unrestricted Motion Vector mode. Use of this mode improves inter picture prediction and yields a significant improvement in subjective picture quality for the same bit rate by reducing blocking artifacts. I B P B P Figure 1. PB-frames structure. PB-Frames mode (PB): In this mode, the frame structure consists of a P-picture and a B-picture, as illustrated in Figure 1. The quantized DCT coefficients of the B- and P-pictures are interleaved at the macroblock layer such that a P-picture macroblock is immediately followed by a B-picture macroblock. The P-picture is forward predicted from the previously decoded P-picture. The B-picture is bi-directionally predicted from the previously decoded P- picture and the P-picture currently being decoded. The forward and backward motion vectors for a B-macroblock are calculated by scaling the motion vector from the current P-picture macroblock using the temporal resolution of the P- and B-pictures. If this motion vector does not yield a good prediction it can be enhanced by a delta vector. The delta vector is obtained by performing motion estimation, within a small search window, around the calculated motion vectors. The PB-frames mode can improve the temporal resolution with little bit rate increase. 3 The ITU-T H.263+ Draft Standard H.263+, or H.263 release 2, offers many improvements over H.263. The objective of H.263+ is to broaden the range of applications, improve compression efficiency and address error robustness and resilience problems. H.263+ allows the use of a wide range of custom source formats, different pixel aspect ratios and clock frequencies, as opposed to H.263, wherein only five video source formats defining picture size, pixel aspect ratio and clock frequency can be used. Moreover, H.263+ supports 12 new negotiable coding modes in addition to 4 optional modes of H.263. Unrestricted Motion Vector mode of H.263 is also changed when used within an H.263+ framework. Unrestricted Motion Vector mode (UMV): The definition of the Unrestricted Motion Vector mode in H.263+ is different from that of H.263. When this mode is set on, new reversible VLCs (RVLCs) are used for encoding the difference motion vectors. The idea behind RVLCs is that decoding can be performed by processing the received motion vector part of the bit stream in the forward and reverse directions. If an error is detected while decoding in the forward direction, motion vector data is not completely lost as the decoder can proceed in the reverse direction. This improves error resilience of the bit stream. Furthermore, the motion vector range is extended to up to 256, depending on the picture size. This is very useful given the wide range of new picture formats available in H.263+. Advanced Intra Coding mode (AIC): This mode improves compression performance when coding intra macroblocks. In this mode, intra-block prediction from neighboring intra blocks, a modified inverse quantization of intra DCT coefficients and a separate VLC table that is optimized to global statistics of intra macroblocks are employed. As illustrated in Figure 2, one of three different prediction options can be signaled: DC only, vertical DC & AC, or horizontal DC & AC. In the DC only option, the DC coefficient is predicted, usually from both the block above and the block to the left. In the vertical DC & AC option, the DC and first row of AC coefficients are vertically predicted from those of the block above. Finally, in the horizontal DC & AC option, the DC and first column of AC coefficients are horizontally predicted from those of the block to the left. Then the prediction that yields the best result is selected. The difference coefficients are then quantized and scanned. It is possible to use three scanning patterns depending on the selected prediction type: the basic zigzag scan for DC only prediction, the alternate-vertical scan for horizontally predicted blocks or the alternate-horizontal scan for vertically predicted blocks. 2

DC Block Above Vertical Prediction DC DC Block to the Left Horizontal Prediction Current Block 3 Figure 2. Neighboring blocks used for intra prediction in the Advanced Coding mode. Deblocking Filter mode (DF): This mode introduces a deblocking filter inside the coding loop. Unlike in postfiltering, predicted pictures are computed based on filtered versions of the previous ones. A filter is applied to the edge boundaries of the four luminance and two chrominance 8 8 blocks. The weight of the filter's coefficients depends on the quantizer step size for a given macroblock, where stronger coefficients are used for a coarser quantizer. This mode also allows the use of four motion vectors per macroblock and motion vectors to point outside picture boundaries. The above techniques, as well as filtering, result in better prediction and a reduction in blocking artifacts. Slice Structured mode (SS): A slice structure, instead of a GOB structure, is employed in this mode. This allows the subdivision of the picture into segments containing variable numbers of macroblocks. The slice structure consists of a slice header followed by consecutive complete macroblocks. Two additional submodes can be signaled to reflect the order of transmission: sequential or arbitrary, and the shape of the slices: rectangular or not. These add flexibility to the slice structure so that it can be designed for different environments and applications. Supplemental Enhancement Information mode (SEI): In this mode, supplemental information is included in the bit stream in order to offer display capabilities within the coding framework. This information includes support for picture freeze, picture snapshot, video segmentation, progressive refinement and chroma keying. These options are aimed at providing decoder supporting features and functionalities within the bit stream. For example, such options will facilitate interoperability between different applications within the context of windows-based environments. Improved PB-frames mode (IPB): This mode is an enhanced version of the H.263 PB-frames mode. The main difference is that the H.263 PB-frames mode allows only bi-directional prediction to predict B-pictures in a PBframe, whereas the Improved PB-frames mode permits forward, backward and bi-directional predictions. Bidirectional prediction methods are the same in both modes except that, in the Improved PB-frames mode, no delta vector is transmitted. In forward prediction, the B-macroblock is predicted from the previous P-macroblock, and a separate motion vector is then transmitted. In backward prediction, the predicted macroblock is equal to the future P-macroblock, and therefore no motion vector is transmitted. Use of the additional forward and backward predictors makes the Improved PB-frames less susceptible to significant changes that may occur between pictures. Reference Picture Selection mode (RPS): In H.263 baseline, a picture is predicted from the previous picture. If a part of the subject picture is lost due to channel errors or packet loss, the quality of future pictures can be severely degraded. Using this mode, it is possible to select the reference picture for prediction in order to suppress temporal error propagation due to inter coding. The information which specifies the selected picture for prediction is included in the encoded bit stream. Temporal, SNR, and Spatial Scalability mode: This mode specifies syntax to support temporal, SNR, and spatial scalability capabilities. Scalability means that a bitstream consists of a separately decodable base layer, and associated enhancement layers. This structure is especially desirable for error prone and heterogeneous environments to counter limitations such as constraints on bit rate, display resolution, network throughput, and

decoder complexity. Temporal scalability provides a mechanism for enhancing perceptual quality by increasing the picture display rate. This is achieved via bi-directionally predicted B-pictures, inserted between two P pictures and predicted from either one or both of these P pictures. SNR scalability is achieved by using a finer quantizer to encode the difference picture in an enhancement layer. This additional information increases the SNR, thus the quality of the overall reproduced picture. Spatial scalability and SNR scalability are closely related, the only difference is that spatial scalability provides an increased spatial resolution in the enhancement layer. Spatial scalability allows for the creation of multi-resolution bit streams to meet varying display requirements/constraints for a wide range of applications. Reference Picture Resampling mode (RPR): This mode describes an algorithm to warp the reference picture prior to its use for prediction. It can be useful for resampling a reference picture having a different source format than the picture being predicted. It can also be used for global motion estimation, or estimation of rotating motion, by warping the shape, size and location of the reference picture. Reduced Resolution Update mode (RRU): This mode allows the encoder to send update information for a picture encoded at a lower resolution, while still maintaining a higher resolution for the reference picture, to create a final image at the higher resolution. This is most useful in the case of movement over picture boundaries, motion of large objects and highly active motion scenes with detailed backgrounds. Independently Segmented Decoding mode (ISD): In this mode, picture segment boundaries are treated as picture boundaries in the sense that no data dependencies across the segment boundaries are allowed. This includes estimation of motion vectors and texture operations across picture boundaries. Use of this mode prevents the propagation of errors, thus providing enhanced error resilience and recovery capabilities. Alternative Inter VLC mode (AIV): Large quantized coefficients and small runs of zeros, typically present in intra blocks, become more frequent in inter blocks when small quantizer step sizes are used. When this mode is enabled, the intra VLC table designed for encoding quantized intra DCT coefficients in the Advanced Intra Coding mode can be used for inter block coding. Modified Quantization mode (MQ): In H.263, the modification of quantizer value at the macroblock level is limited to a small adjustment ( 1 or 2) in the value of the most recent quantizer. The Modified Quantization mode allows the modification of the quantizer to any value thus provides rate control methods more flexibility. Also, this mode increases chrominance quality significantly by using a smaller quantizer step size for the chrominance blocks relative to the luminance blocks. In H.263, when a quantizer smaller than 8 is employed, quantized coefficients exceeding the representable range of [-127, +127] are clipped. Modified Quantization mode provides the syntax in the bitstream to represent the coefficients that are outside the range of [-127, +127]. Thus, this mode improves the picture quality at high bit-rates by extending the range of representable quantized DCT coefficients. Test Model Rate Control Methods The latest release of the H.263+ Test Model, TMN-8 [6], describes two rate control algorithms suitable for low delay videophone applications. Both methods modify the quantizer at macroblock level and use a buffer regulation scheme in which a target bit rate is chosen and pictures are skipped until the buffer reaches a limit below the number of bits required to transmit the next picture. The most recent Test Model rate control method, also described in [7], is based on a model that chooses an "optimal'' quantizer for every macroblock in a given picture. First, the variances of all macroblocks in the motion compensated picture are calculated. Based on these variances, and the remaining bits available for encoding the current picture, model parameters are updated. These parameters are then used to find an "optimal'' quantizer for each macroblock. One of the model parameters allows for the weighting of macroblocks based on perceptual importance such that a macroblock with high spatial activity is assigned a finer quantizer. The alternate rate control method described in the test model uses a simpler technique. In this method, the quantizer is changed every macroblock row according to the bits remaining for the current picture. This method is simpler to implement than the one previously described, but it also does not provide accurate quantizer selection making it less effective. 4

4 Performance of H.263+ In this section, simulation results based on our implementation of H.263+ [3] are presented. The results illustrate the tradeoffs between compression performance, complexity, encoding/decoding speed and memory requirements of each of the implemented modes: Advanced Intra Coding mode, Deblocking Filter mode, Improved PB-frames mode, Alternative Inter VLC mode, and Modified Quantization mode. Even though the Temporal, SNR, and Spatial Scalability mode has also been implemented, it is not discussed in this paper, because of space constraints. More information on scalability modes and associated complexity-performance tradeoffs can be found in [8]. The TMN-8 rate control methods are also compared in this section. Error resilience/recovery modes (Slice Structure mode, Independently Segmented mode and reference Picture Selection mode) have already been independently tested in a packet-lossy environment, and detailed discussions and results can be found in [9]. In this section, the average peak signal-to-noise ratio (PSNR) of all encoded pictures is used as a measure of objective quality, and is given by M 2 1 255 PSNR = 10 log 2 M ( o i r ) where M is the number of samples and o i and r i are the amplitudes of the original and reconstructed pictures respectively. The test sequences that are used in the simulations have QCIF resolution and consist of 300 frames. Unless otherwise specified, rate control strategies are not employed. Instead, a quantizer step size is fixed for an entire sequence. Rate-distortion graphs are obtained by selecting different values for the quantizer step size. The H.263+ TMN-8 model specifies two full-pixel accuracy motion estimation techniques: the conventional full search technique and a fast search technique. Unless otherwise indicated, all results are obtained using the fast search motion estimation implementation. Performance of this fast search algorithm, described in [10], is very close to that of the full search algorithm for a given bit rate. Advanced Intra Coding mode (AIC): This mode significantly improves compression of intra macroblocks. Prediction lowers the number of bits required to represent the quantized DCT coefficients, while quantization without a dead zone improves the picture reproduction quality. This is illustrated in Figure 3, which present coding result of the first intra picture (i.e. where all the macroblocks are intra coded) for the Y-component of the video sequence AKIYO. Compression improvements of 15-25% are achieved. However, the Advanced Intra Coding mode only improves compression performance of intra coded macroblocks. Thus, negligible compression improvements are achieved for low activity video sequences, where most macroblocks are inter coded. n= 1 i 37 Advanced Intra Coding Mode : First Intra frame of Akiyo 35 Y PSNR 33 31 29 Advanced Intra Coding No option 4000 6000 8000 10000 12000 14000 Y bits 5 Figure 3. Advanced Intra Coding Rate-Distortion Performance for AKIYO sequence. Based on our implementation, the associated encoding time increases by 5% on average, due to the prediction method selection operations. This mode requires slightly more memory to store the reconstructed DCT coefficients, needed for intra prediction. Deblocking Filter mode (DF): The Deblocking Filter mode improves subjective quality by removing blocking and mosquito artifacts common to block-based video coding at low bit rates. The effects of the deblocking filter are

more pronounced when combined with the post filter described in the TMN-8 model [6]. This post filter is usually present at the decoder and is outside the coding loop. Therefore, prediction is not based on the post filtered version of the picture. To illustrate the improvement in subjective quality, the sequence FOREMAN was encoded using both the deblocking and post filters at 24 kbps and 10 fps. Figure 4 shows the reconstructed image for picture number 100. The Deblocking Filter mode allows the use of four motion vectors per macroblock. This requires additional motion estimation, increasing the computational load, resulting in a 5-10% additional encoding time. (a) (b) Figure 4. Reconstructed image for FOREMAN picture number 100 without (a) and with (b) Deblocking Filter mode and Post Filter set on. Improved PB-frames mode (IPB): The PB-frames mode of H.263 can double the picture rate without significantly increasing the bit rate. The increase in bit rate is small due mainly to bits saved by coarser quantization of B-macroblocks. While this causes the B-picture to have a lower quality than the P-picture, the increased temporal resolution results in much better overall subjective quality. The PB-frames mode provides good compression performance levels, especially for low motion video sequences. However, since only bi-directional prediction is used for the B-picture of the PB-frame, when irregular motion is present in the video sequence, quality of the B-picture decreases considerably. The Improved PB-frames mode of H.263+ addresses this problem by allowing forward only or backward only prediction, in addition to bi-directional prediction, of B-macroblocks. While the prediction of B pictures in this mode is not as effective as that of true B-pictures, it does make the H.263+ IPB-frames mode more robust than H.263 PB-frames mode. 36 Improved PB Frames mode: Y PSNR vs Rate for FOREMAN 34 Y PSNR 32 30 28 P picture, w/o mode B picture, PB mode P picture, PB mode B picture, IPB mode P picture, IPB mode 6 26 10 30 50 70 90 110 130 150 Rate (kbps) Figure 5. Improved PB frames mode: Rate-Distortion performance for FOREMAN. Our simulation results show that a significant improvement in PSNR is achieved as compared to the H.263 PBframes mode when an active video sequence is coded as illustrated in Figure 5. The figure shows the rate-distortion performances of H.263 baseline, H.263 PB-frames mode and H.263+ Improved PB-frames mode for an active video sequence, FOREMAN, at 10 frame per second (fps). On the other hand, the PSNR gain over the H.263 PBframes mode is smaller for video sequences that have moderate motion. H.263+ Improved PB-frames modes substantially increase the encoder/decoder complexity requirements. The complexity of the Improved PB-frames mode is slightly larger than that of the PB-frames mode due to the additional prediction modes. The computational load associated with the Improved PB-frames mode is also usually

larger than that of the PB-frames mode due to forward prediction method of the Improved PB-frames mode. Like the H.263 PB-frames mode, the H.263+ Improved PB-frames mode requires more memory both at the encoder and the decoder because of the need to store two pictures in memory. There is also one frame delay associated with both of the above modes. This may present a problem in real-time applications. Alternative Inter VLC mode (AIV): This mode allows the intra macroblock quantized DCT coefficient VLCs of the Advanced Intra Coding mode to be used for some inter coded blocks. This mode of operation is useful at high bit rates, when short runs of zeros and large coefficients values are present, as the Advanced Intra Coding mode run-length VLCs are designed for such statistics. Best results for this mode are obtained when fine quantizers are used, as can be seen in Table 1. At very high bit rates, bit savings of as much as 10% can be achieved. The added complexity that this mode introduces is negligible, especially in software applications. In fact, less than 2% additional encoding/decoding time is usually required. Sequence Quantizer Step Size Y PSNR Bits- (w/o mode) Bits - Alternate Inter VLC mode Bit savings AKIYO 4 43.79 9354 8891 463 (5%) 8 39.47 4128 4073 55 (1%) 12 36.94 2411 2405 6 (0%) FOREMAN 4 41.41 47659 44118 3541 (7%) 8 37.15 22036 21175 861 (4%) 12 34.73 13498 13201 297 (2%) 16 33.12 9434 9320 114 (1%) Table 1. Average bit savings on INTER frames for the Alternate Inter VLC mode. Modified Quantization mode (MQ): To fully illustrate the capabilities of this mode, the TMN-8 [6] rate control method is used for the simulations in this section. Figure 6 (a) shows the chrominance PSNR performance of the video sequence FOREMAN with and without the Modified Quantization mode enabled. From this figure it is clear that the chrominance PSNR increases substantially at low bit rates. Naturally, this causes a drop in luminance PSNR as less bits remain to represent the luminance coefficients. However this drop is rather insignificant and the overall PSNR performance is usually improved. Figure 6 (b) shows that the overall PSNR performance is indeed higher when the Modified Quantization mode is enabled. Modified quantization mode adds very little computation time and complexity to the coder. Chrominance PSNR 39 38 37 36 35 Modified Quantization mode : Chrominance PSNR vs Rate for FOREMAN w/o mode Modified Quantization mode 0 20 40 60 80 100 120 Rate (kbps) Average PSNR 35 34 33 32 31 30 29 Modified Quantization Mode:Average PSNR vs Rate for FOREMAN w/o mode Modified Quantization mode 0 20 40 60 80 100 120 Rate (kbps) (a) (b) Figure 6. (a) Chrominance and (b) Average PSNR performance for Modified Quantization Mode. Performance of Test Model Rate Control Methods Performance comparison for two Test Model (TMN) bit rate control algorithms is presented in this section. For a given bit rate, the two methods achieve similar PSNR level (difference within 1%). However, the new bit rate 7

control method introduced in TMN-8 ([6],[7]) achieves the target bit rate more accurately. Moreover, it keeps a buffer content well below the maximum level thus reducing frame skipping as well as delay. If it is assumed that the decoder simply repeats the previous frame to replace a skipped frame, then the new bit rate control method performs better, in terms of PSNR, for a given bit rate. Figure 7 illustrates buffer fullness per frame for the video sequence FOREMAN at 48 kbps and 10 fps. In this figure, TMN new rate-control method is referred as Rate Control I and the alternate method is called as Rate Control II. Whenever buffer content reaches the model limit, frames are repeatedly skipped at the encoder until the buffer content is below the limit. In the case of Rate Control II, many frames are skipped, reducing temporal resolution, which can be critical in applications such as lip reading or sign language. Furthermore, the buffer content varies substantially from frame to frame, introducing variable delays at the decoder. Finally, as buffer underflow occurs quite frequently, the available bandwidth is often not fully utilized. On the other hand, Rate Control I maintains a desirable, constant buffer fullness, offering a low and, more importantly, near-constant delay. Furthermore, the available bandwidth is fully utilized by avoiding buffer underflow. Bits in buffer 7000 6000 5000 4000 3000 2000 1000 0 Buffer Content vs Frame Number 0 10 20 30 40 50 60 70 80 90 100 Frame no Rate control I Rate control II Buffer limit Figure 7. Comparison of Test Model rate control methods based on encoder buffer regulation for FOREMAN sequence at 48 kbps and 10 fps. While this new rate control method is superior in terms of buffer fullness control performance, the number of computations increases, due mainly to the variance calculations. In our implementation, this increases encoding time by approximately 10%. However, better computation-performance tradeoffs may be obtained by using mean of absolute differences instead of variances. Computation Times and Compression Improvements of Individual Modes Figure 8 illustrates the added encoding computation times of implemented individual H.263 and H.263+ optional modes. The results were obtained by encoding 300 frames of the video sequence FOREMAN at 64 kbps and 10 fps on a Pentium 200 MHz computer. The new TMN-8 rate control method was used for these simulations. CPU-time (s) 70 60 50 40 30 20 10 0 Encoding CPU time for Different Modes No UMV SAC AP PB AIC DF IPB AIV MQ H.263+ modes Full Search ME Fast Search ME Figure 8. Encoding times for the H.263 and H.263+ modes for FOREMAN at 64 kb/s on a 200 MHz PC. 8

Additional computational resources required by the H.263+ modes are negligible in our software decoder implementation, and real-time decoding of an H.263+ compliant bit stream can be supported. The encoder's speed of the H.263 baseline coder with any H.263 or H.263+ individual mode enabled is at most 15% larger than that of H.263. Setting the PB-frames mode on results in a reduction in encoding time, since only a restricted motion estimation operation is performed for the B-picture of a PB-frame. Encoding time is at most half of that of full search motion estimation when the fast search method is used (except for the H.263 PB-frames mode). A summary of compression improvements resulting from the use of individual modes is given in Table 2. Results are presented for low and high bit rates using three QCIF video sequences at 10 fps: an active video sequence, FOREMAN, a sign language video sequence, SILENT, and a typical low motion videophone sequence, AKIYO. It can be observed that a given mode is not always suitable for any bit rate and/or any sequence. For example, the Alternate Inter VLC mode achieves compression gains only at high bit rates. Deblocking Filter mode usually yields a decrease in PSNR, but the resulting picture subjective quality is generally much better. However, this mode may result in excessive blurriness at very low bit rates. Another observation is that the Modified Quantization mode does not lead to compression gains at high bit rates for low motion sequences, as the extended quantized coefficient range and the finer chrominance quantization are rarely used. Finally, the Unrestricted Motion Vector mode shows PSNR improvements for sequences with motion across picture boundaries (in FOREMAN for example), or at CIF and larger resolutions. 9 Mode Foreman Silent Akiyo 32 kbps 24 kbps 8 kbps No mode 30.44 32.74 33.9 UMV +0.61 +0.01-0.01 SAC +0.08 +0.04-0.12 AP +0.28 +0.06 +0.19 PB B-pictures -0.57-0.05 +0.51 P-pictures +0.11 +0.5 +0.6 AIC +0.04 +0.11 +0.14 DF +0.18 +0.12-0.24 IPB B-pictures -0.17 +0.19 +0.54 P-pictures +0.36 +0.62 +0.61 AIV +0.02 +0.02-0.02 MQ +0.4 +0.2 +0.4 (a) Mode Foreman Silent Akiyo 128 kbps 96 kbps 32 kbps No mode 35.83 38.84 39.26 UMV +0.64 +0.01-0.04 SAC +0.06 +0.13 +0.08 AP +0.58 +0.13 +0.33 PB B-pictures -1.64-0.69 +0.61 P-pictures +0.37 +0.41 +1.05 AIC 0 +0.07-0.03 DF +0.48-0.02-0.23 IPB B-pictures -1.21-0.27 +0.74 P-pictures +0.62 +0.66 +1.12 AIV +0.06 +0.23 +0.01 MQ +0.2 +0.03-0.05 (b) Table 2.Summary of Improvement in PSNR (db) for H.263 and H.263+ individual modes at (a) Low bit rates and (b) High bit rates. Compression Performance and Complexity of Mode Combinations With the large number of possible mode combinations, it becomes difficult for implementers to select combinations that are suitable for their applications. The ITU-T video experts group decided to include non-normative mode combinations as guidelines for implementers [2]. The recommended mode combinations are based on the performance of individual modes. The performance criteria are the improvement in subjective quality, the impact on delay, and the additional complexity, computation, and memory demands. The Level 1 preferred combination of modes includes Advanced Intra Coding, Deblocking Filter, Supplemental Enhancement Information, Full Frame Freeze only and Modified Quantization. The Level 2 preferred combination of modes includes, in addition to the Level 1 modes, Unrestricted Motion Vector, Slice Structure, and Reference Picture Resampling, Implicit Factor of Four only. Finally, the Level 3 preferred combination of modes includes Level 2 and Level 1 preferred modes and Advanced Prediction, Improved PB-frames, Independent Segment Decoding and Alternate Inter VLC. In our experiments, an error-free environment is assumed. Thus, the H.263+ modes involving error resilience,

although part of the preferred mode combinations, are here excluded. Similarly, the Full Frame Freeze mode is not included in our simulations as it provides enhanced display capabilities but does not impact performance. Also, Reference Picture Resampling is not considered since it is not currently not available in [3]. Fast ME Full ME AKIYO, 8 kbps P-pictures B-pictures time P-pictures B-pictures time Baseline 33.9 db N/A 16.9 sec 33.9 N/A 41 sec AIC+DF+MQ (Level 1) +0.74 N/A +28% +0.74 N/A +25% FOREMAN, 128 kbps P-pictures B-pictures time P-pictures B-pictures time Baseline 35.83 N/A 25.3 sec 35.83 N/A 54.9 sec AIC+DF+MQ+UMV+AP+AIV +1.05 N/A +34% +1.1 N/A +21% AIC+DF+MQ+UMV+AP+AIV+IPB (Level 3) +1.52-0.42 +15% +1.53-0.27 +19% 10 Table 3. Mode combinations for FOREMAN and AKIYO. Table 3 presents results for the Level 1 and Level 3 mode combinations for the video sequences AKIYO and FOREMAN, respectively. Based on our experiments, using a higher level of mode combinations provides better compression performance, especially for highly active video sequences such as FOREMAN, by as much as 1.5 db at high bit rates. Also note that the encoding time is, at most, approximately 25% greater, even for the Level 3 combinations of modes. 5 Conclusions The emerging H.263+ standard is expected to become an official draft ITU-T standard within a few months. Through its optional modes, H.263+ provides video coding researchers and developers efficient ways of trading additional complexity for more compression gain and added flexibility. Our public domain implementation [3] can be used to estimate accurately such tradeoffs. Even when most the H.263+ modes are enabled, the resulting speed and memory requirements are still relatively small. 6 References [1] ITU Telecom. Standardization Sector of ITU, Video Coding for Low Bitrate Communication, ITU-T Recommendation H.263, March 1996. [2] ITU Telecom. Standardization Sector of ITU, Video Coding for Low Bitrate Communication, Draft ITU-T Recommendation H.263 Version 2, September 1997. [3] Image Processing Lab, University of British Columbia, TMN (H.263+) encoder/decoder, version 3.0, TMN (H.263+) codec, September 1997. See web site at http://www.ee.ubc.ca/image/. [4] N. Faerber B. Girod, E. Steinbach, Performance of the H.263 video compression standard, To Appear in Journal of VLSI Signal Processing: Systems for Signal, Image, and Video Technology, Special Issue on Recent Development in Video: Algorithms, Implementation and Applications, 1997. [5] B. Girod, E. Steinbach, and N. Faerber, Comparison of the H.263 and H.261 video compression standards, in Standards and Common Interfaces for Video Information Systems, K.R. Rao, editor, Critical reviews of optical science and technology, Philadelphia, Pennsylvania, Oct. 1995, vol. 60, pp. 233--251. [6] ITU Telecom. Standardization Sector of ITU, Video Codec Test Model Near-Term, Version 8 (TMN8), Release 0, H.263 Ad Hoc Group, June 1997. [7] J. Ribas-Corbera and S. Lei, Optimal quantizer control in DCT video coding for low-delay video communications, in Picture Coding Symposium, Berlin, Germany, Sept. 1997. [8] G. C t, B. Erol, M. Gallant and F. Kossentini, H.263+: Video Coding at Low Bitrates, Submitted to IEEE Transactions on Circuits and Systems for Video Technology, October 1997. [9] S. Wenger, Video redundancy coding in H.263+, in Audio-Visual Services over Packet Networks, Scotland, UK, Sept. 1997. [10] G. C t, M. Gallant and F. Kossentini, Efficient motion vector estimation and coding for H.263-based very low bit rate video compression, Submitted to IEEE Transactions on Image Processing, June 1997.