A rate control algorithm for MPEG-2 to H.264 real-time transcoding

The demand of transcoding MPEG-2 to H.264 will be raised as the H.264 promises higher coding efficiency over previous video compression standards, while MEPG-2 has been widely adopted in many existing systems. This paper presents a rate control scheme for MPEG-2 to H.264 transcoder with the consideration of peak signal-to-noise ratio (PSNR) fluctuation control and re-quantized quality loss reduction. Our main idea is to reuse information extracted from the incoming MPEG-2 video stream as efficiently as possible. An analytic formula is constructed to set an appropriate initial quantization parameter (QP) for different encoding settings via extensive experiments. The mean absolute difference for current basic unit to be coded is predicted with that of MPEG-2 coded units, which thus avoids complicated parameter estimation. Furthermore, a logarithmic model is established to describe the relationship of quantization parameter between MPEG-2 and H.264 under the same PSNR level. The QP derived from the well-known quadratic model is further revised by a lower bound obtained with this proposed model. Therefore the overall coding performance is improved by setting reasonable QPs for those macroblocks which had been substantially quantized in original MPEG-2 video stream. According to experiment results, the transcoded video quality is improved significantly and the fluctuation of PSNR is restrained remarkably with the rate control algorithm.

[1]  Tihao Chiang,et al.  A new rate control scheme using quadratic rate distortion model , 1997, IEEE Trans. Circuits Syst. Video Technol..

[2]  Mohammed Ghanbari,et al.  Heterogeneous Video Transcoding to Lower Spatio-Temporal Resolutions and Different Encoding Formats , 2000, IEEE Trans. Multim..

[3]  Yap-Peng Tan,et al.  Fast motion re-estimation for arbitrary downsizing video transcoding using H.264/AVC standard , 2004, IEEE Trans. Consumer Electron..

[4]  Il-hong Shin,et al.  Motion estimation for frame-rate reduction in H.264 transcoding , 2004, Second IEEE Workshop on Software Technologies for Future Embedded and Ubiquitous Systems, 2004. Proceedings..

[5]  Ahmet M. Kondoz,et al.  Error-resilient video transcoding for robust internetwork communications using GPRS , 2002, IEEE Trans. Circuits Syst. Video Technol..

[6]  Ming-Ting Sun,et al.  Motion Re-estimation for MPEG-2 to MPEG-4 Simple Profile Transcoding , 2002 .

[7]  Nicolas D. Georganas,et al.  Accurate bit allocation and rate control for DCT domain video transcoding , 2002, IEEE CCECE2002. Canadian Conference on Electrical and Computer Engineering. Conference Proceedings (Cat. No.02CH37373).

[8]  Jun Xin Improved standard-conforming video transcoding techniques , 2002 .

[9]  Hironao Hori,et al.  Rate conversion of MPEG coded video by re-quantization process , 1995, Proceedings., International Conference on Image Processing.

[10]  Thomas M. Cover,et al.  Elements of Information Theory , 2005 .

[11]  Sang-Hee Lee,et al.  Rate control algorithm for fast bit-rate conversion transcoding , 2000, IEEE Trans. Consumer Electron..

[12]  Thomas Wiegand,et al.  Draft ITU-T recommendation and final draft international standard of joint video specification , 2003 .

[13]  Chen-Hsiu Huang Video Transcoding Architectures and Techniques : An Overview , 2003 .