Skip to main content

Rate Control for H.264 with Two-Step Quantization Parameter Determination but Single-Pass Encoding

Abstract

We present an efficient rate control strategy for H.264 in order to maximize the video quality by appropriately determining the quantization parameter (QP) for each macroblock. To break the chicken-and-egg dilemma resulting from QP-dependent rate-distortion optimization (RDO) in H.264, a preanalysis phase is conducted to gain the necessary source information, and then the coarse QP is decided for rate-distortion (RD) estimation. After motion estimation, we further refine the QP of each mode using the obtained actual standard deviation of motion-compensated residues. In the encoding process, RDO only performs once for each macroblock, thus one-pass, while QP determination is conducted twice. Therefore, the increase of computational complexity is small compared to that of the JM 9.3 software. Experimental results indicate that our rate control scheme with two-step QP determination but single-pass encoding not only effectively improves the average PSNR but also controls the target bit rates well.

References

  1. 1.

    ISO-IEC/JTC1/SC29/WG11 Information technology—coding of audio-visual objects—part 10: advanced video coding Final Draft International Standard, ISO/IEC FDIS 14 496-10, December 2003

  2. 2.

    Wiegand T: Draft ITU-T recommendation and final draft international standard of joint video specification (ITU-T Rec. H.264 ISO/IEC 14496-10 AVC). Joint Video Team (JVT) of ISO/ICE MPEG and ITU-T VCEG, VT-G050, March 2003, Pattaya, Thailand

    Google Scholar 

  3. 3.

    Sikora T: Trends and perspectives in image and video coding. Proceedings of the IEEE 2005, 93(1):6–17.

    MathSciNet  Article  Google Scholar 

  4. 4.

    Wiegand T, Sullivan GJ, Bjontegaard G, Luthra A: Overview of the H.264/AVC video coding standard. IEEE Transactions on Circuits and Systems for Video Technology 2003, 13(7):560–576.

    Article  Google Scholar 

  5. 5.

    Sullivan GJ, Wiegand T: Video compression—from concepts to the H.264/AVC standard. Proceedings of the IEEE 2005, 93(1):18–31.

    Article  Google Scholar 

  6. 6.

    ISO-IEC/JTC1/SC29/WG11 : Generic coding of moving pictures and associated audio information: video. ISOIEC 13818-2, November 1994

  7. 7.

    ITU-T Study Group 15 : Draft of recommendation H.263: video coding for low bitrate communication. ITU-T, Geneva, Switzerland; May 1996.

    Google Scholar 

  8. 8.

    Hsu PH, Liu KJR: A predictive H.263 bitrate control scheme based on scene information. Proceedings of the IEEE International Conference on Multimedia & Expo (ICME '00), July–August 2000, New York, NY, USA 1735–1738.

    Google Scholar 

  9. 9.

    Ma SW, Gao W, Gao P, Lu Y: Rate control for advance video coding (AVC) standard. Proceedings of the IEEE International Symposium on Circuits and Systems (ISCAS '03), May 2003, Bangkok, Thailand 2: 892–895.

    Google Scholar 

  10. 10.

    Ma SW, Gao W, Wu F, Lu Y: Rate control for JVT video coding scheme with HRD considerations. Proceedings of the IEEE International Conference on Image Processing (ICIP '03), September 2003, Barcelona, Spain 3: 793–796.

    Google Scholar 

  11. 11.

    Li P, Yang XK, Lin WS: Buffer-constrained R-D model-based rate control for H.264/AVC. Proceedings of the IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP '05), March 2005, Philadelphia, Pa, USA 2: 321–324.

    Google Scholar 

  12. 12.

    Xu JF, He Y: A novel rate control for H.264. Proceedings of the IEEE International Symposium on Circuits and Systems (ISCAS '04), May 2004, Vancouver, BC, Canada 3: 809–812.

    Google Scholar 

  13. 13.

    Wiegand T, Schwarz H, Joch A, Kossentini F, Sullivan G: Rate-constrained coder control and comparison of video coding standards. IEEE Transactions on Circuits and Systems for Video Technology 2003, 13(7):688–703. 10.1109/TCSVT.2003.815168

    Article  Google Scholar 

  14. 14.

    Li ZG, Pan F, Lim KP, et al.: Adaptive frame layer rate control for H.264. Proceedings of the IEEE International Conference on Multimedia & Expo (ICME '03), July 2003, Baltimore, Md, USA 1: 581–584.

    Google Scholar 

  15. 15.

    H.264/AVC reference software JM 9.3, https://doi.org/ftp3.itu.int/av-arch/jvt-site

  16. 16.

    Jiang M, Ling N: On enhancing H.264/AVC video rate control by PSNR-based frame complexity estimation. IEEE Transactions on Consumer Electronics 2005, 51(1):281–286. 10.1109/TCE.2005.1405733

    MathSciNet  Article  Google Scholar 

  17. 17.

    Jiang M, Yi X, Ling N: Frame layer bit allocation scheme for constant quality video. Proceedings of the IEEE International Conference on Multimedia & Expo (ICME '04), June 2004, Taipei, Taiwan 2: 1055–1058.

    Google Scholar 

  18. 18.

    Jiang M, Ling N: Low-delay rate control for real-time H.264/AVC video coding. IEEE Transactions on Multimedia 2006, 8(3):467–477.

    MathSciNet  Article  Google Scholar 

  19. 19.

    Jiang M, Ling N: On lagrange multiplier and quantizer adjustment for H.264 frame-layer video rate control. IEEE Transactions on Circuits and Systems for Video Technology 2006, 16(5):663–669.

    Article  Google Scholar 

  20. 20.

    Ribas-Corbera J, Lei S: Rate control in DCT video coding for low-delay communications. IEEE Transactions on Circuits and Systems for Video Technology 1999, 9(1):172–185. 10.1109/76.744284

    Article  Google Scholar 

  21. 21.

    Li ZG, Gao W, Pan F, et al.: Adaptive rate control with HRD consideration. Joint Video Team of ISO/IEC and ITU, JVT-H014, 8th Meeting, May 2003, Geneva, Switzerland 23–27.

    Google Scholar 

  22. 22.

    Ma SW, Gao W, Lu Y, Lu H: Proposed draft description of rate control on JVT standard. Joint Video Team (JVT) of ISO/IEC MPEG & ITU-T VCEG, JVT-F086, 6th Meeting, December 2002, Awaji, Japan

    Google Scholar 

  23. 23.

    Tourapis AM, Sühring K, Sullivan G: H.264/MPEG-4 AVC reference software enhancements. Joint Video Team (JVT) of ISO/IEC MPEG & ITU-T VCEG. (ISO/IEC JTC1/SC29/WG11 and ITU-T SG16 Q.6), JVT-N008, 14th Meeting, January 2005, Hong Kong, China

    Google Scholar 

Download references

Author information

Affiliations

Authors

Corresponding author

Correspondence to Xiaokang Yang.

Rights and permissions

Reprints and Permissions

About this article

Cite this article

Yang, X., Tan, Y. & Ling, N. Rate Control for H.264 with Two-Step Quantization Parameter Determination but Single-Pass Encoding. EURASIP J. Adv. Signal Process. 2006, 063409 (2006). https://doi.org/10.1155/ASP/2006/63409

Download citation

Keywords

  • Standard Deviation
  • Information Technology
  • Computational Complexity
  • Source Information
  • Quantum Information