Skip to main content
Log in

Fast Inter Mode Decision Algorithm Based on Mode Mapping and Decision Tree for P Frames in MPEG-2 to H.264/AVC Transcoding

  • Published:
Journal of Signal Processing Systems Aims and scope Submit manuscript

Abstract

There is an inevitable requirement of transcoding from MPEG-2 to H.264/AVC in many video applications. Due to the use of variable block sizes and rate-distortion optimization techniques in H.264, there is extremely high computational complexity in the reference cascaded transcoder. To reduce the complexity, this paper presents a fast inter mode decision algorithm for P frames in MPEG-2 to H.264/AVC transcoding. Firstly, with the statistical analysis of the correlation between the MB’s coding mode in MPEG-2 and the corresponding mode in H.264/AVC, the proposed algorithm directly determines the candidate modes for some special MBs based on the mode mapping rules. Then for other MBs, machine learning tools are used to exploit the correlation between the residual MB information in MPEG-2 and the coding mode in H.264/AVC, and the decision tree is derived to determine the candidate modes. The proposed algorithm efficiently reduces the number of candidate modes in H.264/AVC encoder. Experimental results show that the proposed algorithm can achieve 60 % of transcoding time saving on average with the less PSNR degradation and bitrate increase, comparing with the reference cascaded transcoder.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Figure 1
Figure 2
Figure 3

Similar content being viewed by others

References

  1. Kalva, H. (2004). Issues in H.264/AVC/MPEG-2 video transcoding. In Proc. Consumer Commun. Netw. Conf., Jan. 2004, pp. 657–659.

  2. Vetro, A., Christopoulos, C., & Sun, H. (2003). Video transcoding architectures and techniques: an overview. IEEE Signal Processing Magazine, 20(2), 18–29.

    Article  Google Scholar 

  3. Fernández-Escribano, G., Kalva, H., Cuenca, P., & Orozco-Barbosa, L. (2007). Reducing motion estimation complexity in MPEG-2 to H.264/AVC transcoding. In Proc. IEEE Int. Conf. Multimedia Expo (ICME), Beijing, China, Jul. 2007, pp. 440–443.

  4. Fernaindez-Escribano, G., Cuenca, P., Orozco-Barbosa, L., & Garrido, A. (2005). A fast intra-frame prediction algorithm for MPEG-2/H.264 video transcoders. In Proc. IEEE Int. Conf. Image Processing (ICIP), Albacete, Spain, Sep. 2005, pp. 684–687.

  5. Tang, X., Du, Q., & Shang, S. (2007). Fast intra prediction mode decision for MPEG-2 to H.264 transcoding. In Proc. IEEE Int. Conf. Multimedia Expo (ICME), Beijing, China, Jul. 2007, pp.428–431.

  6. Reference Software to Committee Draft, JVT-F100 JM10.2, Joint Video Team (JVT) of ISO/IEC MPEG and ITU-T VCEG, 2006.

  7. Lin, Y. Y., & Hsu, H. H. (2011). General architecture for MPEG-2/H.263/H.264/AVC to H.264/AVC intra frame transcoding. Journal of Signal Processing Systems, 65(1), 89–103.

    Article  MathSciNet  Google Scholar 

  8. Lee, Y. M., & Lin, Y. Y. (2012). Asymptotic computation in mode decision for H.264/AVC inter frame coding. Journal of Signal Processing Systems, 66(2), 121–127.

    Article  Google Scholar 

  9. Liu, X., & Yoo, K. Y. (2010). Fast interframe mode decision algorithm based on mode mapping and MB activity for MPEG-2 to H.264/AVCAVC transcoding. Journal of Visual Communication and Image Representation, 21(2), 155–166.

    Article  Google Scholar 

  10. Lee, K., Jeon, G., & Jeong, J. (2009). Fast mode decision algorithm in MPEG-2 to H.264/AVC transcoding including group of picture structure conversion. Optical Engineering, 48(5), 1–11.

    Article  Google Scholar 

  11. Fernández-Escribano, G., Kalva, H., Cuenca, P., & Orozco-Barbosa, L. (2006). Speeding-up the macroblock partition mode decision in MPEG-2/H.264/AVC transcoding. In Proc IEEE Int. Conf. Image Processing (ICIP), Atlanta, GA USA, Oct. 2006, pp. 869–873.

  12. Fernández-Escribano, G., Kalva, H., Martínez, J. L., Cuenca, P., Orozco-Barbosa, L., & Garrido, A. (2010). An MPEG-2 to H.264/AVC video transcoder in the baseline profile. IEEE Transactions on Circuits and Systems for Video Technology, 20(5), 763–768.

    Article  Google Scholar 

  13. Fernández-Escribano, G., Kalva, H., Cuenca, P., Orozco-Barbosa, L., & Garrido, A. (2008). A fast MB mode decision algorithm for MPEG-2 to H.264/AVC P-frame transcoding. IEEE Transactions on Circuits and Systems for Video Technology, 18(2), 172–185.

    Article  Google Scholar 

  14. Fernández-Escribano, G., Bialkowski, J., Gámez, J. A., Kalva, H., Cuenca, P., Orozco-Barbosa, L., et al. (2008). Low-complexity heterogeneous video transcoding using data mining. IEEE Transactions on Multimedia, 10(2), 286–299.

    Article  Google Scholar 

  15. Pan, F., Lin, X., Rahardja, S., Lim, K. P., Li, Z. G., Wu, D., et al. (2005). Fast mode decision algorithm for intraprediction in H.264/AVC video coding. IEEE Transactions on Circuits and Systems for Video Technology, 15(7), 813–822.

    Article  Google Scholar 

  16. Bjontegaard, G. (2001). Calculation of average PSNR differences between RD-curves. Presented at the 13th VCEG-M33 Meeting, Austin, TX, Apr. 2001.

Download references

Acknowledgments

This research was supported in part by the National Natural Science Foundation of China under Project No. 61133008 and No. 61202180, China.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ping Wang.

Additional information

This research was supported in part by the National Natural Science Foundation of China under Project No. 61133008 and No. 61202180, China.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Wang, P., Zhang, X. & Huang, H. Fast Inter Mode Decision Algorithm Based on Mode Mapping and Decision Tree for P Frames in MPEG-2 to H.264/AVC Transcoding. J Sign Process Syst 79, 33–43 (2015). https://doi.org/10.1007/s11265-013-0824-5

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11265-013-0824-5

Keywords

Navigation