DOI QR코드

DOI QR Code

Adaptive Initial QP Determination Algorithm for Low Bit Rate Video Coding

저전송률 비디오 압축에서 적응적 초기 QP 결정 알고리즘

  • 박상현 (순천대학교 멀티미디어공학과)
  • Received : 2010.07.27
  • Accepted : 2010.08.06
  • Published : 2010.09.30

Abstract

In Video coding, the first frame is encoded in intra mode which generates a larger number of bits. In addition, the first frame is used for the inter mode encoding of the following frames. Thus the intial QP for the first frame of GOP affects the first frame as well as the following frames. Traditionally, the initial QP of a GOP is determined by the initial QP of the previous GOP and the average QP of the inter mode frames. In case of JM, the initial QP of a GOP is adjusted as the initial QP being less than the average QP of inter mode frames by two. However, this method is not suitable for the low bit rate video coding. In this paper, the linear relationship between the optimal QP and the ratio of the PSNR of the first frame and the average PSNR of the inter mode frames is first investigated and the linear model is proposed based on the results of the investigation. The proposed model calculate the optimal initial QP using the encoding results of the previous GOP. It is shown by experimental results that the new algorithm can predict the optimal initial QP more accurately and generate the PSNR performance better than that of the existing JM algorithm.

비디오 코딩에서 GOP의 첫 번째 프레임은 많은 비트를 발생시키는 인트라 모드로 압축되고 다음 프레임의 인터모드 압축에 사용되기 때문에 첫 프레임을 위한 초기 QP 값은 첫 프레임뿐만 아니라 이후 프레임에도 영향을 주게 된다. 일반적으로 GOP의 초기 QP 값은 이전 GOP의 인터 모드로 압축된 프레임의 평균 QP 값과 이전 GOP의 초기 QP 값에 의해 결정된다. 기존 방식인 JM의 경우 초기 QP 값이 인터 모드 평균 QP 값보다 2 정도 작게 설정 되도록 하고 있는데, 이것은 저전송률 비디오 코딩에 맞지 않다. 본 논문에서는 GOP의 초기 QP 값과 인터 모드로 압축된 프레임의 평균 QP 값의 비와 최적 초기 QP 값 사이에 존재하는 선형 관계를 분석하고 이를 바탕으로 선형 모델을 제안한다. 제안된 선형 모델은 이전 GOP의 인코딩 결과를 이용하여 현재 GOP의 초기 QP 값을 계산한다. 실험 결과는 제안하는 방법이 기존의 JM 알고리즘에 비해 정확하게 최적의 초기 QP 값을 예측하고 PSNR 성능도 더 우수함을 보여준다.

Keywords

References

  1. Z. Chen and K.N. Ngan, "Recent advances in rate control for video coding," Signal Process.: Image Commun., vol 22, pp. 19-38, Jan. 2007. https://doi.org/10.1016/j.image.2006.11.002
  2. 윤홍준, 서영호, 최현준, 김동욱, "H.264/A VC의 고속 인트라 예측 방법," 한국해양정보통신학회논문지, vol. 10, no. 7, pp. 1172-1179, 2006년 7월.
  3. T. Wiegand, H. Schwarz, A. Joch, F. Kossentini, and G. J. Sullivan, "Rate-constrained coder control and comparison of video coding standards," IEEE Trans. Circuits Syst. Video Technol., vol. 7, pp. 688-703, Jul. 2003.
  4. T. Wiegand, G. J. Sullivan, G. Bjontegaard, and A. Luthra, "Overview of the H.264/AVC video coding standard," IEEE Trans. Circuits Syst. Video Technol., vol. 7, no. 7, pp. 1-19, Jul. 2003.
  5. H. Wang and S. Kwong, "Rate-Distortion Optimization of Rate Control for H.264 With Adaptive Initial Quantization Parameter Determination," IEEE Trans. Circuits Syst. Video Technol., vol. 18, no. 1, pp. 140-144, Jan. 2008. https://doi.org/10.1109/TCSVT.2007.913757
  6. C. Lee, Y. Jung, S. Lee, Y. Oh, and J. Kim, "Real-Time Frame-Layer H.264 Rate Control for Scene-Transition Video at Low Bit Rate," IEEE Trans. Consumer Elect., vol. 53, no. 3, pp. 1084-1092, Aug. 2007. https://doi.org/10.1109/TCE.2007.4341589
  7. Z. Li, F. Pan, and K. P. Lim, Adaptive Basic Unit Layer Rate Control for JVT Doc. JVT-G012-r1, Thailand, Mar. 2003.
  8. 박상현, "적응적 베이직 유닛 레벨 H.264 비트율 제어," 한국해양정보통신학회논문지, vol. 13, no. 2, pp. 355-361, 2009년 2월.