2차원 비트율-왜곡 모델을 이용한 매크로블록 단위 비트율 제어

A Macroblock-Layer Rate Control for H.264/AVC Using Quadratic Rate-Distortion Model

  • 손남례 (호남대학교 인터넷소프트웨어학과) ;
  • 이귀상 (전남대학교 컴퓨터정보학부) ;
  • 임창훈 (건국대학교 인터넷미디어공학부)
  • 발행 : 2007.09.30

초록

H.264/AVC부호화 방식이 압축성능이 뛰어나더라도 가변길이부호화방식을 따르기 때문에 동영상을 부호화할 때 발생하는 데이터량은 시간의 흐름에 따라 큰 폭으로 변할 수 밖에 없다. 따라서 부호화된 비디오 비트스트림을 고정된 저대역폭의 네트워크를 통해 실시간으로 전송하고자 할 경우에는 부호기로부터 출력되는 비트율을 반드시 제어할 필요가 있다. 기존의 비트율 제어 알고리즘은 각 프레임당 목표 비트를 결정하는 2차원 비트율-왜곡 모델을 채택하고 있다. 본 논문에서는 전송율이 고정된 비디오 채널에서 H.264/AVC 부호화 기법으로 압축된 동영상을 전송할 때 움직임이 많은 영상의 비트율을 보다 효율적으로 제어하는 알고리즘을 제시한다. 제안된 비트율 제어 알고리즘은 2차원 비트율-왜곡 모델식을 이용하여 이전 프레임의 매크로블록과 현재 프레임의 매크로블록간에 움직임 변화량을 예측함으로써 매크로블록 단위로 비트율을 제어한다. 움직임이 많고 장면전환이 빈번한 동영상 샘플을 대상으로 비교 실험한 결과, 비트율 제어의 경우 기존의 알고리즘은 채널전송 환경에 부적합하게 비트율을 초과하지만, 새롭게 제안한 알고리즘은 채널전송에 적합하게 부호화됨을 확인할 수 있었다. 화질 또한 제안한 방법이 기존의 비트율 제어 방법보다 평균적으로 $0.4{\sim}0.9\;dB$로 높게 나타남을 확인하였다.

Because the H.264/AVC standard adopts the variable length coding algorithm, the rate of encoded video bitstream fluctuates a lot as time flows, though its compression efficiency is superior to that of existing standards. When a video is transmitted in real-time over networks with fixed low-bandwidth, it is necessary to control the bit rate which is generated from encoder. Many existing rate control algorithms have been adopting the quadratic rate-distortion model which determines the target bits for each frame. We propose a new rate control algorithm for H.264/AVC video transmission over networks with fixed bandwidth. The proposed algorithm predicts quantization parameter adaptively to reduce video distortion using the quadratic rate-distortion model, which uses the target bit rate and the mean absolute difference for current frame considering pixel difference between macroblocks in the previous and the current frame. On video samples with high motion and scene change cases, experimental results show that (1) the proposed algorithm adapts the encoded bitstream to limited channel capacity, while existing algorithms abruptly excess the limit bit rate; (2) the proposed algorithm improves picture quality with $0.4{\sim}0.9dB$ in average.

키워드

참고문헌

  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. Circ. Syst. Video Technol., vol. 13, no. 5, pp. 440-446, May 2003 https://doi.org/10.1109/TCSVT.2003.811603
  5. J. Yang, Q. Dai, W. Xu, and R. Ding, 'A rate control algorithm for MPEG-2 to H.264 real-time transcoding', Visual Commun. Image Proc., pp. 1995-2003, 2005
  6. Z. He and S. K. Mitra 'A linear source model and a unified rate control algorithm for DCT video coding,' IEEE Trans. Circ. Syst. Video Technol., vol. 12, no. 11, pp. 970-982, Nov. 2002 https://doi.org/10.1109/TCSVT.2002.805511
  7. A. Ortega, K. Ramchandran, and M. Vetterli, 'Optimal Trellis-based buffered compression and fast approximations,' IEEE Trans. Image Proc., vol.3, no. 1, pp. 26-40, Jan. 1994 https://doi.org/10.1109/83.265978
  8. D. Seo and S. Han, 'Optimal quantization parameter set for MPEG-4 bit-rate control,' IEICE Trans. Commun., vol. E87-B, no. 11, pp.3338-3342, Nov. 2004
  9. Y. Shoham and A. Gersho, 'Efficient bit allocation for an arbitrary set of quantizers,' IEEE Trans. Acoustics, Speech Signal Processing, vol. 36, no.9, pp. 1445-1453, Sept. 1988 https://doi.org/10.1109/29.90373
  10. K. Ramchandran and M. Vetterli, 'Best wavelet packet bases in a rate-distortion sense,' IEEE Trans. Image Proc., vol. 2, no. 2, pp. 160-175, Apr. 1993 https://doi.org/10.1109/83.217221
  11. ISO/IEC JTC1, 'Generic coding of moving pictures and associated audio information - Part 2: video,' ISO/IEC 13818-2(MPEG-2), Nov. 1994
  12. C.-T. Chen and A. 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
  13. J. Zdepski, D. Raychaudhuri, and K. Joseph, 'Statistically based buffer control policies for constant rate transmission of compressed digital video,' IEEE Trans. Commun., Vol. 39, No. 6, pp. 947-957, June 1991 https://doi.org/10.1109/26.87184
  14. K.-H. Tzoe, 'An intra-field DCT-based HDTV coding for ATM networks,' IEEE Trans. Circ. Syst. Video Technol., Vol. 1, No. 2, pp. 184-196, June 1991 https://doi.org/10.1109/76.97974
  15. S. Ma, W. Gao, and Y. Lu, 'Rate control on JVT standard,' JVT of ISO/IEC MPEG and ITU-T VCEG, JVT-D030.doc, 2002
  16. S. Ma, W. Gao, P. Gao, and Y. Lu, 'Rate control for advanced video coding Standard,' IEEE Int. Symp. Circuits and Systems, Vol. 2, pp.892-895, May 2003
  17. 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
  18. Joint Video Team (JVT) of ISO/IEC MPEG and ITU-T VCEG Document JVT-G050r1, June, 2003
  19. T. Wiegand, H. Schwarz, A. Joch, F. Kossentini, and G. J.. Sullivan, 'Rate-constrained coder control and comparison of video coding standards,' IEEE Trans. Circ. Syst. Video Technol., Vol. 13, No. 7, pp. 688-703, July 2003 https://doi.org/10.1109/TCSVT.2003.815168
  20. 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
  21. http://iphome.hhi.de/suehring/tml/
  22. G. J. Sullivan and T. Wiegand, 'Rate-distortion optimization for video compression', IEEE Signal Processing Magazine, pp. 74-90, November, 1998
  23. A. Ortega and K. Ramchandran. 'Rate-distortion methods for image and video compression', IEEE Signal Processing Magazine, pp. 23-50, November, 1998
  24. T. Chiang and Y.-Q. Zhang, 'A new rate control scheme using quadratic rate distortion model,' IEEE Trans. Circ. Syst. Video Technol., vol. 7, pp, 246-250, Feb. 1997 https://doi.org/10.1109/76.554439