Fast Block Size Decision for HEVC Encoders with On-the-Fly Trained Classifiers

High Efficiency Video Coding (HEVC) introduced flexible block partitioning structures that increased significantly compression rates in comparison to previous standards. However, such features resulted in a non-negligible increase in computational cost as well. To accelerate this complex partitioning process, this paper proposes a method that halts the usual rate-distortion optimization employed in Coding Unit size decision by a set of decision tree classifiers, which are trained on the fly according to the current video sequence characteristics. The classifiers are built during the encoding process by the C5 machine learning algorithm, which was chosen based on an extensive analysis that compared several algorithms in terms of decision accuracy and training complexity. Experimental results show that the strategy is capable of building accurate models and decreases the HEVC encoding time in 34.4% on average, at the cost of a compression efficiency loss of only 0.2%.

[1]  Christoph H. Lampert Machine Learning for Video Compression: Macroblock Mode Decision , 2006, 18th International Conference on Pattern Recognition (ICPR'06).

[2]  Guilherme Corrêa,et al.  Fast HEVC Encoding Decisions Using Data Mining , 2015, IEEE Transactions on Circuits and Systems for Video Technology.

[3]  Guilherme Corrêa,et al.  Performance and Computational Complexity Assessment of High-Efficiency Video Encoders , 2012, IEEE Transactions on Circuits and Systems for Video Technology.

[4]  Jong-Hyeok Lee,et al.  Fast coding algorithm based on adaptive coding depth range selection for HEVC , 2012, 2012 IEEE Second International Conference on Consumer Electronics - Berlin (ICCE-Berlin).

[5]  Ian H. Witten,et al.  The WEKA data mining software: an update , 2009, SKDD.

[6]  G. Bjontegaard,et al.  Calculation of Average PSNR Differences between RD-curves , 2001 .

[7]  Rik Van de Walle,et al.  Fast transrating for high efficiency video coding based on machine learning , 2013, 2013 IEEE International Conference on Image Processing.

[8]  Jin Soo Choi,et al.  Early Coding Unit–Splitting Termination Algorithm for High Efficiency Video Coding (HEVC) , 2014 .

[9]  Lu Yu,et al.  CU splitting early termination based on weighted SVM , 2013, EURASIP Journal on Image and Video Processing.

[10]  Pedro Cuenca,et al.  Very low complexity MPEG-2 to H.264 transcoding using machine learning , 2006, MM '06.

[11]  Munchurl Kim,et al.  Fast CU Splitting and Pruning for Suboptimal CU Partitioning in HEVC Intra Coding , 2013, IEEE Transactions on Circuits and Systems for Video Technology.

[12]  Antti Hallapuro,et al.  Comparative Rate-Distortion-Complexity Analysis of HEVC and AVC Video Codecs , 2012, IEEE Transactions on Circuits and Systems for Video Technology.