Improved Rate Control Scheme for Consistent Video Quality

Yuan Li, Huizhu Jia, Xiaodong Xie, Tiejun Huang, Z Li, F Pan, K Lim, G Feng, S Ma, W Gao, Y Lu, S Wang, D Zhao, S Sanz-Rodriguez, T Schierl, B Xie, W Zeng, B Li, H Li, L Li, J Zhang, B Lee, M Kim, Chan-Won Seo, Joo-Hee Moon, Jong-Ki HanProceedings of 2017 the 7th International Workshop on Computer Science and Engineering 2017

Abstract

Consistent video quality is an important optimization purpose for rate control except the bit rate accuracy. In this paper, we propose a rate control scheme for the consistent video quality. Firstly, the frame bit allocation is improved by the MAD-based method, which can follow the characteristic of the video content. Then, to minimize the fluctuation of the frame distortion, D-Q model is used to regulate the QP after QP decision by the R-Q model. Experimental results show that the proposed rate control scheme can achieve better R-D performance than benchmark and the fluctuation of the frame distortion is decreased up to 40.68%.

Introduction

In video streaming and communication, rate control is essential for managing bandwidth constraints. While standard HEVC algorithms effectively meet target bitrates, they often suffer from significant quality fluctuations. Sudden scene changes or high-motion segments can lead to visual "flicker" or clarity drops when the encoder fails to maintain consistent distortion levels. This paper addresses the challenge of achieving target bitrates while ensuring steady visual quality across video frames.

Proposed Methodology

The proposed scheme enhances the standard HEVC R-$\lambda$ model through two primary mechanisms:

1. MAD-based Frame Bit Allocation

Traditional rate control often allocates bits uniformly or through fixed ratios, which may not align with varying scene complexities. The authors introduce a pre-analysis step using Mean Absolute Difference (MAD) to estimate frame complexity. By performing a low-complexity motion search (8x8 blocks) and limited intra-prediction, the system anticipates the "coding complexity" of upcoming frames. This allows for a more proactive bit allocation where complex frames receive a larger share of the bit budget.

2. Distortion-Quantization (D-Q) Model Regulation

To smooth out quality jumps, a D-Q model based on the Laplace distribution of transform coefficients is employed. After the initial Quantization Parameter (QP) is determined by the standard R-Q model, it is refined:

  • The average distortion of the previous 30 frames is calculated as a baseline.
  • The D-Q model identifies a "target QP" that aligns the current frame's distortion with this historical average.
  • The final QP is constrained within a small window ($QP_D \pm 2$) to prevent drastic quality shifts.

Experimental Results

The scheme was evaluated using HEVC Test Model (HM) 16.0 across various standard sequences (Classes B through E) in a "Low Delay" configuration.

Quality Consistency

The primary metric for quality consistency is the standard deviation (SD) of the PSNR. As shown in Table 1, the proposed method significantly reduces quality fluctuations.

Table 1: Comparison of PSNR and Standard Deviation (SD) between the benchmark and proposed scheme.

On average, the SD of PSNR decreased by 17.37%. Notably, for the Kimono sequence, which contains a scene change, the fluctuation was reduced by 40.68%.

Rate-Distortion Performance and Accuracy

The proposed scheme also improves overall compression efficiency while maintaining high bitrate accuracy.

Table 2: Bitrate accuracy and BD-rate performance comparison.

The results in Table 2 indicate an average BD-rate saving of 0.33%, demonstrating improved R-D performance. The average bitrate error remained minimal at 0.24%, comparable to the benchmark's 0.22%.

Conclusion

The proposed rate control scheme successfully balances bitrate accuracy with visual consistency. By integrating MAD-based bit allocation and D-Q model-based QP regulation, the system reduces quality fluctuations by up to 40.68% and provides modest BD-rate gains. Future work may explore dynamic QP regulation windows and more integrated scene-cut detection to further enhance performance in real-time applications.

Summary updated

BibTeX
@inproceedings{li2017improved,
  author = {Yuan Li and Huizhu Jia and Xiaodong Xie and Tiejun Huang and Z Li and F Pan and K Lim and G Feng and S Ma and W Gao and Y Lu and S Wang and S Ma and S Wang and D Zhao and W Gao and S Sanz-Rodriguez and T Schierl and B Xie and W Zeng and B Li and H Li and L Li and J Zhang and B Lee and M Kim and Chan-Won Seo and Joo-Hee Moon and Jong-Ki Han},
  title = {{Improved Rate Control Scheme for Consistent Video Quality}},
  booktitle = {Proceedings of 2017 the 7th International Workshop on Computer Science and Engineering},
  year = {2017},
  doi = {10.18178/wcse.2017.06.090},
}
Figure