Optimizing Motion Estimation for H.264 Encoding

  • Mateus Krepsky Ludwich UFSC
  • Antônio Augusto Fröhlich UFS


Around 90% of the total encoding time of raw video into H.264 is spent in block-matching, a stage of Motion Estimation. In this paper we combine two block-matching optimizations that yield significant performance improvements on Motion Estimation: 4:1 subsampling by macroblock and truncation of the two less significant bits per sample. When applied to the JM Reference Encoder, our strategy showed an average speedup of 2.64 times in total encoding time with a small loss of quality (less than 0.5 dB).
LUDWICH, Mateus Krepsky; FRÖHLICH, Antônio Augusto. Optimizing Motion Estimation for H.264 Encoding. In: SIMPÓSIO BRASILEIRO DE SISTEMAS MULTIMÍDIA E WEB (WEBMEDIA), 17. , 2011, Florianópolis. Anais [...]. Porto Alegre: Sociedade Brasileira de Computação, 2011 . p. 198-204.