An Effective of Rate Control for Scene Change in H.264/AVC

장면전환에 효율적인 H.264/AVC 비트율 제어 기법

  • 손남례 (건국대학교 인터넷.미디어학부) ;
  • 신윤정 (광주대학교 컴퓨터공학과) ;
  • 이귀상 (전남대학교 컴퓨터정보학부)
  • Published : 2007.01.25

Abstract

In recent years, rate control is an important technique in real time video communication applications using H.264/AVC. Many existing rate control algorithms employ the quadratic rate-distortion model, which is determine the target bits for each P frame. In this paper, a new rate control algorithm for transmission of H.264/AVC video bit stream through CBR(Constant Bit Rate) channel is proposed. The proposed algorithm predicts an adaptive QP(Quantization Parameter) for improving video distortion, due to high motion and abruptly scene change, which target bit rate and MAD(Mean of Absolute Difference) for current frame considering image complexity variance between previous and current frames. Additionally, it uses frame skip technique to maintain bit stream within a manageable range and protect buffer from overflow or underflow. Experimental results show that the proposed method gives a quality improvement of about 0.5dB when compared to previous rate control algorithm. Also our proposed algorithm encodes the video sequences with less frame skipping compared to the existing rate control for H.264/AVC.

H.264/AVC 표준은 기존의 부호화 기법보다 뛰어난 압축 성능 때문에 비디오 데이터의 압축과 전송에 널리 응용될 것으로 전망된다. 그러나 H.264/AVC 표준도 기존의 비디오 압축표준과 마찬가지로 가변길이부호화 방식을 따르기 때문에, 동영상을 부호화할 때 발생하는 데이터량은 시간의 흐름에 따라 큰 폭으로 변한다. 이 때문에 PSTN이나 ISDN 망과 같이 대역폭이 고정된 네트워크를 통해 비디오 비트 스트림을 전송하고자 할 경우에는 부호기로부터 출력되는 비트량을 제어할 필요가 있다. 본 논문에서는 전송율이 고정된 비디오 전송채널 환경에서 H.264/AVC 부호화 기법으로 압축된 영상 데이터를 전송할 때 장면전환에 효율적인 비트율 제어 방식을 제안한다. 즉, 제안하는 비트율 제어 방식은 장면 전환과 같이 움직임이 많은 부분에서는 이전 프레임과 현재 프레임간의 움직임 변화량을 예측하여 움직임의 양에 따라 2차원 RD 모델 식을 수정하여 프레임 단위로 비트량을 효율적으로 제어하는 방법이다. 또한 장면전환이 많은 영상일 경우에 버퍼의 넘침을 방지하기 위해서 효율적인 프레임 스킵 방법을 제안한다. 실험 결과는 화면간 움직임이 많은 영상의 경우, 기존의 비트량 제어 방법이 채널 전송에 부적합할 정도로 비트량을 초과하지만, 제안한 방법은 채널 전송에 적합하게 효율적으로 부호화한다. 또한 기존 비트율 방법보다 제안한 방법의 프레임 스킵 개수가 적어 화면간의 끊김 현상이 줄었다.

Keywords

References

  1. Joint Video Team(JVT) of ISO/IEC MPEG&ITU-T VCEG, 'Draft ITU-T Recommendation and Final Draft International Standard of Joint Video Specification(ITU-T Rec. H.264 | ISO/IEC 14496-10 AVC),' Doc. JVT-G050r1, Mar. 2003
  2. MPEG-2, Test Model 5, Doc. ISO/IEC JTC1/SC29/WG11/93-400, Apr. 1993
  3. ITU-T Standardization Sector, Study Group 6, Video Coding Experts Group, Video Codec Test Model, Version8(TMN8), ISO/IEC JTC1/SC29/WG11, Portland, OR, pp. 24-27, June 1997
  4. F. Pam, Z Li and K. Lim, 'A Study of MPEG-4 Rate Control Scheme and its Improvements', IEEE Trans. on Circuit and Systems for Video Technology, vol. 13, no. 5, pp. 440-446, May 2003 https://doi.org/10.1109/TCSVT.2003.811603
  5. A. Ortega and K. Ramchandran, 'Image and Video Compression,' IEEE SIGNAL PROCESSING MAGAZINE, Nov. 1998 https://doi.org/10.1109/79.733495
  6. J. Ribas-Cobera and S. Lei, 'Rate Control in DCT Video Coding for Low-delay Communications,' IEEE Trans. on Circuit and Systems for Video Technology, vol. 9, no. 1, pp. 172-185, Feb. 1999 https://doi.org/10.1109/76.744284
  7. J. Ribas-Cobera and S. Lei, 'A Frame-layer Bit Allocation for H.263+, 'IEEE Trans. on Circuit and Systems for Video Technology, vol. 10, no. 7, pp.1154-1158, Oct. 2000 https://doi.org/10.1109/76.875518
  8. T. Chiang and Y. Zhang, 'A New Rate Control Scheme using Quadratic Rate Distortion Model,' IEEE Trans. on Circuit and Systems for Video Technology, vol. 7, no. 1, pp. 246-250, Feb. 1997 https://doi.org/10.1109/76.554439
  9. H. Lee, T. Chiang, 'Scalable Rate Control for MPEG-4 video,' IEEE Trans. on Circuit and Systems for Video Technology, vol. 10, no. 6, pp.878-894, Sept. 2000 https://doi.org/10.1109/76.867926
  10. Yang, Jingyu, Dai, Qionghai, Xu, Wenli, and Ding, Rong, 'A Rate Control Algorithm for MPEG-2 to H.264 Real-time Transcoding', Visual Communications and Image Processing pp. 1995-2003, 2005 https://doi.org/10.1117/12.633372
  11. Z. He and S. K. Mitra 'A Linear Source Model and a Unified Rate Control Algorithm for DCT Video Coding,' IEEE Trans. on Circuit and Systems for Video Technology, vol. 12, no. 11, pp. 970-982, Nov. 2002 https://doi.org/10.1109/TCSVT.2002.805511
  12. Z. He and S. K. Mitra 'Optimum Bit Allocation and Accurate Rate Control for Video Coding via ${\rho}$-domain Source Modeling,' IEEE Trans. on Circuit and Systems for Video Technology, vol. 12, no. 10, pp. 840-849, Oct. 2002 https://doi.org/10.1109/TCSVT.2002.804883
  13. S. H. Hong and S. J. Yoo, 'Rate control of MPEG Video for Consistent Picture Quality,' IEEE Trans. in Broadcasting, vol. 49, no. 1, pp. 1-13, Mar. 2003 https://doi.org/10.1109/TBC.2003.808912
  14. A. Ortega and K. Ramchandran, 'Optimal Trellis-based Buffered Compression and Fast Approximations,' IEEE Trans. on Image Processing, vol.3, no. 1, pp. 26-40, Jan. 1994 https://doi.org/10.1109/83.265978
  15. D. Seo and S. Han, 'Optimal Quantization Parameter Set for MPEG-4 Bit-rate Control,' IEICE Trans. on Communications, vol. E87-B, no. 11, pp.3338-3342, Nov. 2004
  16. Y. Shoham and A. Gersho, 'Efficient Bit Allocation for an Arbitrary Set of Quantizers,' IEEE Trans. Acousitcs, Speech and Signal Processing, vol. 36, no.9, pp. 1445-1453, Sept. 1988 https://doi.org/10.1109/29.90373
  17. K. Ramchandran and M. Vetterli, 'Best Wavelet Packet bases in a Rate-Distortion Sense,' IEEE Trans. Image Processing, vol. 2, no. 2, pp. 160-175, Apr. 1993 https://doi.org/10.1109/83.217221
  18. ISO/IEC JTC1, 'Generic Coding of Moving Pictures and Associated Audio Information - Part 2: Video,' ISO/IEC 13818-2(MPEG-2), Nov. 1994
  19. Cheng-Tie Chen and Andria Wong, 'A Self-Governing Rate Buffer Control Strategy for Pseudo Constant Bit Rate Video Coding,' IEEE Trans. on Circuits and Systems for Video Tech., Vol. 2, No. 1, pp. 50-59, Jan 1993 https://doi.org/10.1109/83.210865
  20. Joel Zdepski, Dipankar Raychaudhuri, and Kuriacose Joseph, 'Statistically based Buffer Control Policies for Constant Rate Transmission of Compressed Digital Video,' IEEE Trans. on Commun., Vol. 39, No. 6, pp. 947-957, June 1991 https://doi.org/10.1109/26.87184
  21. Kou-Hu Tzoe, 'An Intra-field DCT-based HDTV Coding for ATM Networks,' IEEE Trans. on Circuits and Systems for Video Tech., Vol. 1, No. 2, pp. 184-196, June 1991 https://doi.org/10.1109/76.97974
  22. SiweiMa, Wen Gao, Yan Lu, 'Rate Control on JVT Standard,' JVT of ISO/IEC MPEG and ITU-T VCEG, JVT-D030.doc, 2002
  23. SiweiMa, Wen Gao, P. Gao, and Y. Lu, 'Rate Control for Advanced Video Coding Standard,' IEEE International Symposium on Circuits and Systems, Vol. 2, pp.892-895, May 2003
  24. Z. Li, F. Pan, K. P. Lim, G. Feng, X. Lin and S. Rahardja, 'Adaptive Basic Unit Layer Rate Control for JVT,' JVT-G012r1, 7th Meeting, Pattaya II, Thailand, Mar. 2003
  25. Joint Video Team(JVT) of ISO/IEC MPEG and ITU-T VCEG Document JVT-G050r1, June, 2003
  26. Thomas Wiegand et al, 'Rate-Constrained Coder control and Comparison of Video Coding Standards,' IEEE Trans. On Circuits and Systems for Video Technology, Vol. 13, No. 7, pp. 688-703, July 2003 https://doi.org/10.1109/TCSVT.2003.815168
  27. N. Ohta, 'Packet Video,' Artech House, 1994
  28. G. M. Schuster and A. K. Katsggelos, 'Fast and Efficient Mode and Quantization Selection in the Rate Distortion Sense for H.263', VCIP, Proceeding of the SPIE, Vol. 2727, No. 2, March 1996 https://doi.org/10.1117/12.233293
  29. http://iphome.hhi.de/suehring/tml/
  30. Gary J. Sullivan and Thomas Wiegand, 'Rate-Distortion Optimization for Video Compression', IEEE Signal Processing Magazine, pp. 74-90, November, 1998 https://doi.org/10.1109/79.733497
  31. Antonio Ortega and Kannan Ramchandran, . 'Rate-Distortion Methods for Image and Video Compression', IEEE Signal Processing Magazine, pp. 23-50, November, 1998 https://doi.org/10.1109/79.733495
  32. T. Chiang and Y.-Q. Zhang, 'A New Rate Control Scheme using Quadratic Rate Distortion Model,' IEEE Trans. On Circuits Systems for Video Technology, vol. 7, pp, 246-250, Feb. 1997 https://doi.org/10.1109/76.554439