Research and Optimization on H.264/AVC Real-Time Video Encoder

Author
TangHuiXin
Advisor
YeXiuZuo
School
Zhejiang University
Major
Computer Applications
Classification
TN762 Encoder
Degree
Master's thesis
Year
2006
Downloads
420
Citations
6

Request the full text

Abstract

H.264/AVC is an emerging video standard by Joint Video Team. It is aimed at high video quality at low bit-rates. But the computation complexity of the codec is very high, especially the performance of the encoder. This limits its application area. Due to this cause, many researchers tried their best to study the H.264 encoder to speed up it. However, they mainly concentrated on algorithm or instruction level optimization, such as the motion estimation algorithm optimization, mode decision algorithm optimization, and SIMD instruction optimization of the time-consuming models, etc.Firstly, this paper introduces the basic concept, primary property and present situation of research of the H.264, and the basic knowledge of digital video encoding. Then we talk about the motion estimation and mode decision algorithm, and analysis the motion estimation algorithm of H.264 reference mode software JM. Finally we focus on the optimization tactics of the JM Encoder and the implementation of the H.264 real-time encoder. The main contribution of this paper is that we propose a solution of H.264 real-time encoding based on symmetric multiprocessor cluster. This solution realizes two levels parallel encoding: slice level and macroblock level. The system is achieved by distributed of shared memory architecture. We implement it by hybrid programming of MPI and OpenMP. The reference H.264 encoder is JM10.1 provided by JVT. As the experiment shows, the optimization of architecture speeds the H.264 encoder’s performance highly and can apply this kind of encoder to real-time encoding environment.

Table of contents

Summary 3-4 ABSTRACT 4-5 directory 5-7 Chapter 1 Introduction 7-14 1.1 H.264 standard describes 7-9 1.2 H.264 main features 9-10 1.3 Background and Significance 10 1.4 current research 10-12 1.5 This paper is organized as 12-14 Chapter 2 digital video coding based 14-27 2.1 color space and sample formats 14-17 2.2 common video formats 17-18 2.3 video compression concept 18 2.4 video encoder / decoder 18-20 2.5 intra-frame coding and inter-frame coding 20-21 2.6 transform and quantization 21-23 2.7 entropy coding 23 2.8 video quality evaluation 23-27 Chapter 3, motion estimation and mode selection 27-40 3.1 motion estimation concept 27-31 3.2 multiple reference frame selection 31 3.3 classic motion estimation algorithm 31-36 3.3.1 full search algorithm 31-32 3.3.2 hexagon search method HEXBS 32-33 3.3.3 asymmetrical cross-shaped multi-layered hexagonal grid search method 33-34 3.3.4 1/4 pixel full search method 34-36 The 3.4 JM motion estimation algorithm analysis 36-38 3.5 mode selection 38-40 Chapter 4 encoder optimization strategies and parallel computing 40-53 4.1 overall optimization strategy 40 4.2 The main optimization 40-42 4.2.1 algorithm -level optimization method 40-41 4.2.2 instruction-level optimization strategy 41-42 4.2.3 system-level optimization strategy 42 4.3 parallel computing model 42-53 4.3.1 MPI message passing interface library 42-50 4.3.2 SMP and OpenMP 50-51 4.3.3 MPI and OpenMP hybrid programming 51-53 Chapter 5 H.264 real-time video encoder implementation 53-61 5.1 encoder parallel analysis 53-55 5.2 framework analysis and implementation 55-58 5.3 Analysis of experimental results 58-60 5.4 encoder applications 60-61 Chapter 6 Summary and Outlook 61-62 6.1 paper summarizes 61 direction for improvement 6.2 61-62 References 62-66 master's degree thesis and research projects completed during 66

Related dissertations

  1. Research on Fast Motion Estimation and Mode Decision for H.264/Avc Video Coding
    ZhangWei ·Shandong University ·2013 ·Master's thesis
  2. Vehicle Wireless Video Monitoring System Based on Improved H.264Motion Estimation Algorithm
  3. Research and Parallel Implementation of Motion Estimation Used in Video Encoding
    ZhuChao ·Northeastern University ·2011 ·Master's thesis
  4. Research on Key Technology for H.264Video Coding
  5. Research and Optimization on the Motion Estimation Algorithm in H.264
    LiuZhi ·Hunan University ·2013 ·Master's thesis
  6. Research and Implementation on the MFHS Algorithm Based on H.264
    YaoHuaLi ·Henan University of Technology ·2013 ·Master's thesis
  7. The Design and Implementation of the Intelligent Unattended Video Surveillance Platform
    ChenShiZhe ·University of North ·2012 ·Master's thesis
  8. Research of Motion Estimation Algorithm for Video Compression Applications
    LiuYan ·Harbin Institute of Technology ·2010 ·Master's thesis
  9. Research and Improvement of Fast Motion Estimation Algorithm in H.264
    XuChen ·Taiyuan University of Technology ·2012 ·Master's thesis
  10. Research on the Key Technologies of H.264 Algorithm Based on DM642
    GuoQinDi ·Tianjin University of Technology ·2012 ·Master's thesis
  11. Research of Acceleration Algorithms of Motion Estimation Based on H.264
    LiuFeiBo ·Northeastern University ·2010 ·Master's thesis
  12. Research and Implementation of Parallel Computing Used in Video Compression
    TangFangYong ·Northeastern University ·2010 ·Master's thesis
  13. The Research and Improvement of Motion Estimation Based on H.264Video Coding
  14. Research of H.264Motion Estimation Algorithm
    WangZuoZuo ·Jiangnan University ·2013 ·Master's thesis
  15. The Research and Implementation of H.264Crucial Codec Technology Based on Android Platform
    YangQi ·China Jiliang University ·2013 ·Master's thesis
  16. Improvement and Optimization of H.264Inter Prediction and Estimation Based on DSP
  17. Video Encoding Software Development of Distance Teaching Server Based on Tilera Multi-core Processer
    LiuJunHong ·Zhejiang University ·2013 ·Master's thesis
  18. Research on Applications of H.264in Wireless Video Communication
    LiuYi ·Hainan University ·2012 ·Master's thesis
  19. Research on WMSNs Video Image Coding Technology Based on H.264
    XiaoJuFei ·Shenyang Aerospace University ·2013 ·Master's thesis
  20. The H.264Video Decoding Algorithm Based on DaVinci Digital Video Evaluation Module