Skip to main content


We're creating a new version of this page. See preview

  • Research Article
  • Open Access

Efficient MPEG-2 to H.264/AVC Transcoding of Intra-Coded Video

EURASIP Journal on Advances in Signal Processing20072007:075310

  • Received: 3 October 2006
  • Accepted: 25 March 2007
  • Published:


This paper presents an efficient transform-domain architecture and corresponding mode decision algorithms for transcoding intra-coded video from MPEG-2 to H.264/AVC. Low complexity is achieved in several ways. First, our architecture employs direct conversion of the transform coefficients, which eliminates the need for the inverse discrete cosine transform (DCT) and forward H.264/AVC transform. Then, within this transform-domain architecture, we perform macroblock-based mode decisions based on H.264/AVC transform coefficients, which is possible using a novel method of calculating distortion in the transform domain. The proposed method for distortion calculation could be used to make rate-distortion optimized mode decisions with lower complexity. Compared to the pixel-domain architecture with rate-distortion optimized mode decision, simulation results show that there is a negligible loss in quality incurred by the direct conversion of transform coefficients and the proposed transform-domain mode decision algorithms, while complexity is significantly reduced. To further reduce the complexity, we also propose two fast mode decision algorithms. The first algorithm ranks modes based on a simple cost function in the transform domain, then computes the rate-distortion optimal mode from a reduced set of ranked modes. The second algorithm exploits temporal correlations in the mode decision between temporally adjacent frames. Simulation results show that these algorithms provide additional computational savings over the proposed transform-domain architecture while maintaining virtually the same coding efficiency.


  • Information Technology
  • Cost Function
  • Quantum Information
  • Discrete Cosine Transform
  • Temporal Correlation

Authors’ Affiliations

Xilient Inc, 10181 Bubb Road, Cupertino, CA 95014, USA
Mitsubishi Electric Research Labs, 201 Broadway, Cambridge, MA 02139, USA
Sharp Labs of America, 5750 NW Pacific Rim Boulevard, Camas, WA 98607, USA


  1. ITU-T Rec. H.264—ISO/IEC 14496-10: Advanced Video Coding 2003.Google Scholar
  2. Zhou Z, Sun S, Lei S, Sun M-T: Motion information and coding mode reuse for MPEG-2 to H.264 transcoding. Proceedings of IEEE International Symposium on Circuits and Systems (ISCAS '05), May 2005, Kobe, Japan 2: 1230–1233.View ArticleGoogle Scholar
  3. Lu X, Tourapis AM, Yin P, Boyce J: Fast mode decision and motion estimation for H.264 with a focus on MPEG-2/H.264 transcoding. Proceedings of IEEE International Symposium on Circuits and Systems (ISCAS '05), May 2005, Kobe, Japan 2: 1246–1249.Google Scholar
  4. Qian T, Sun J, Li D, Yang X, Wang J: Transform domain transcoding from MPEG-2 to H.264 with interpolation drift-error compensation. IEEE Transactions on Circuits and Systems for Video Technology 2006,16(4):523-534.View ArticleGoogle Scholar
  5. Bruce KB, Cardelli L, Pierce BC: Comparing object encodings. In Proceedings of 3rd International Symposium on Theoretical Aspects of Computer Software (TACS '97), September 1997, Sendai, Japan, Lecture Notes in Computer Science. Volume 1281. Edited by: Abadi M, Ito T. Springer; 415–438.View ArticleGoogle Scholar
  6. Yu H: Joint 4:4:4 Video Model (JFVM) 2. JVT-R205, 2006Google Scholar
  7. Xin J, Vetro A, Sun H: Converting DCT coefficients to H.264/AVC transform coefficients. Proceedings of IEEE Pacific-Rim Conference on Multimedia (PCM '04), November 2004, Tokyo, Japan 2: 939–946.Google Scholar
  8. Shen B: From 8-tap DCT to 4-tap integer-transform for MPEG to H.264/AVC transcoding. Proceedings of the International Conference on Image Processing (ICIP '04), October 2004, Singapore 1: 115–118.Google Scholar
  9. Park CY, Cho NI: A fast algorithm for the conversion of DCT coefficients to H.264 transform coefficients. Proceedings of the International Conference on Image Processing (ICIP '05), September 2005, Genova, Italy 3: 664–667.Google Scholar
  10. Chen W-H, Smith C, Fralick S: A fast computation algorithm for the discrete cosine transform. IEEE Transactions on Communications 1977,25(9):1004-1009. 10.1109/TCOM.1977.1093941View ArticleGoogle Scholar
  11. Malvar HS, Hallapuro A, Karczewicz M, Kerofsky L: Low-complexity transform and quantization in H.264/AVC. IEEE Transactions on Circuits and Systems for Video Technology 2003,13(7):598-603. 10.1109/TCSVT.2003.814964View ArticleGoogle Scholar
  12. Xin J, Vetro A, Sun H: Efficient macroblock coding-mode decision for H.264/AVC video coding. Proceedings of the 24th Picture Coding Symposium (PCS '04), December 2004, San Francisco, Calif, USA 53–58.Google Scholar
  13. Hallapuro A, Karczewicz M, Malvar H: Low complexity transform and quantization—part II: extensions. JVT-B039, 2002Google Scholar
  14. Xin J, Vetro A: Fast mode decision for intra-only H.264/AVC coding. Proceedings of the 25th Picture Coding Symposium (PCS '06), April 2006, Beijing, ChinaGoogle Scholar
  15. MPEG-2 encoder/decoder v1.2 1996, by MPEG Software Simulation Group,
  16. H.264/AVC reference software JM7.6 2003,


© Jun Xin et al. 2007

This article is published under license to BioMed Central Ltd. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.