Erratum to: Efficient HEVC to H.264/AVC Transcoding with Fast Intra Mode Decision

Jun Zhang, Feng Dai, Yongdong Zhang, Chenggang YanLecture Notes in Computer Science 2018 · DOI · OpenAlex

Abstract

Transcoding video from High Efficiency Video Coding (HEVC) to the H.264/AVC standard is computationally intensive due to the exhaustive search required for intra-mode decisions. This paper proposes a two-stage fast transcoding framework that leverages HEVC decoding information to accelerate H.264/AVC encoding. By employing a Support Vector Machine (SVM) for partition mode decisions and angular mode mapping for prediction directions, the proposed method achieves an average time saving of 68.63% with a negligible BD-rate increase of 2.32%.

Introduction

While HEVC offers superior compression efficiency, H.264/AVC remains the most widely supported video format across diverse hardware platforms. Converting HEVC content to H.264/AVC typically involves a "cascaded" transcoding process—fully decoding the source and re-encoding the target—which is prohibitively slow for real-time applications. The primary bottleneck lies in the Intra Mode Decision, where the encoder must determine the optimal block partitioning and prediction directions. The authors aim to use the "hints" already present in the HEVC bitstream to skip the exhaustive search and speed up the H.264 encoding stage.

Proposed Methodology

The authors introduce a two-stage decision framework integrated into the H.264/AVC encoder to bypass exhaustive searches by utilizing metadata from the HEVC bitstream.

Proposed HEVC to H.264/AVC transcoding framework with integrated fast decision modules.

Stage 1: Classifier-Based Partition Mode Decision

Instead of evaluating all possible H.264 partition sizes (16x16, 8x8, and 4x4), the framework uses an SVM-based binary classifier. Four key features are extracted from the HEVC decoding process: Prediction Bits (PB), Residual Bits (RB), and splitting depths ($D\_CTree$ and $D\_TTree$). These features serve as proxies for spatial complexity. The system always evaluates the 8x8 mode; the SVM then determines whether to additionally check the 16x16 mode (for homogeneous regions) or the 4x4 mode (for complex textures).

Stage 2: Fast Prediction Mode Decision

Following partition selection, the encoder must choose a prediction direction. HEVC utilizes 35 intra-prediction modes, whereas H.264/AVC uses only 9. The authors employ mathematical angle distance formulas to map HEVC directions to the most probable H.264/AVC candidates, significantly reducing the search space.

The two-stage decision process illustrating partition and prediction mode selection.

Experimental Results

The framework was evaluated using nine standard test sequences (including 1080p sequences like Kimono and ParkScene, and 720p sequences like Vidio1) using H.264/AVC JM18.3 and HEVC HM6.1 reference software. Key findings include:

  • Computational Efficiency: On average, the system saved 68.63% of transcoding time compared to an exhaustive search.
  • Rate-Distortion Performance: The average increase in BD-rate was only 2.32%. In video engineering, anything under 3-5% is generally considered negligible for the massive speed gains achieved.
  • Classification Accuracy: The SVM achieved a 98% accuracy rate on the training set, validating the predictive power of HEVC-derived features.

Conclusion and Future Work

The proposed two-stage framework effectively bridges the gap between HEVC and H.264/AVC by reusing bitstream metadata. While highly effective for Intra frames, the current work does not address Inter-frame motion vector transcoding or chroma component prediction. Future research may explore extending this logic to motion compensation and investigating hardware-level optimizations for SVM inference.

Summary updated

BibTeX
@inproceedings{zhang2018erratum,
  author = {Jun Zhang and Feng Dai and Yongdong Zhang and Chenggang Yan},
  title = {{Erratum to: Efficient HEVC to H.264/AVC Transcoding with Fast Intra Mode Decision}},
  booktitle = {Lecture Notes in Computer Science},
  year = {2018},
  doi = {10.1007/978-3-642-35725-1\_51},
}
Figure