Design and Implementation of Key Algorithms for H.264Multi-Chnnel Real-Time High-Definition Encoding and Transcoding
- Author
- SongHongTao
- Advisor
- GaoZhiYong , ZhangXiaoYun
- School
- Shanghai Jiaotong University
- Major
- Information and Communication Engineering
- Classification
- TN919.81 Image coding
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 76
- Citations
- 0
- H.264encoding
- bitrate reduction transcoding
- multi-channel parallel
- real-time high-definition
- Interprediction
Abstract
With the continuous development of video communication technologyand the terminal equipments, real-time video communication and highimage resolution have become an increasingly demand to people,high-definition (1080P or even higher) has become one of the maindevelopment trends. In the real-time high-definition encoding andtranscoding field, constrainted by the characteristics of the encodingalgorithm and the hardware resources, the encoder cannot use all thecoding tools that the coding standard allows, leading to a substantial gap incoding gain between the actual encoder and the standard encoder. Besides,the single-core embedded platform has been more and more difficult tosolve the contradiction between the high resolution and real-time videoencoding, multi-channel video encoding and transcoding technology basedon multi-core platform has become a hot topic.Video encoding and transcoding tend to focus mainly on two aspects,namely, how to improve the encoding and transcoding speed and try toimprove the image quality as much as possible. These two aspects are oftennot had both, so the research on the encoding and transcoding technologyalso manifests in the two aspects of how to balance speed and quality.This thesis is based on the above background and mainly focus on theinter frame predictor which is the most resource consuming part of theH.264video encoding and transcoding. By analyzing a number of keytechnologies and key algorithms and combining with the advantages of theexisting motion estimation and mode decision algorithms in H.264encoder together with the parallel design strategy of Tilera multi-core processor, weinnovatively propose a fast motion estimation and mode decision algorithmfor multi-channel real-time high-definition encoding and transcoding onTilera Tile-Gx36platform. Besides, we have also proposed a fast motionestimation and mode decision algorithm for H.264bitrate reductiontranscoding. Finally, we optimize and test the algorithms and achieve theH.264multi-channel real-time high-definition encoding and transcoding.The new algorithm proposed in the thesis presents a new algorithmcan effectively reduce the resource consumption of inter frame predictionand increase its processing capacity, as well as enables the encoder to usemore coding tools under the same resource constraints, thus making greatcontributions to further improving the coding gain. Experimental resultsdemonstrate that it can achieve significant complexity reduction withnegligible loss of coding efficiency for high-definition video encoding andtranscoding in Tilera platform. What’s more, our algorithm is still able toachieve the H.264three-channel or more real-time high-definition encodingand transcoding with the use of B frame encoding.
Table of contents
Summary 3-5
ABSTRACT 5-13
first chapter 13-21
1.1 Background 13-14
1.2 inter prediction key technology 14-17
1.2.1 inter prediction research status of key technologies 14-16
1.2.2 multiple HD Real-time encoding codecs inter prediction of key technologies designed bottlenecks 16-17
development status 1.3 multicore processors 17
1.4 papers with the main content section arrangements 17-21
Chapter II H.264 video encoding key technology and multi-core processors TILERA About 21-29
2.1 video coding theory and key technology 21-22
2.2 H.264 video coding standard and algorithm features 22-23
2.2.1 H.264 video coding standard profiles 22
2.2.2 H.264 video coding standard key technology 22-23
2.3 Tilera Tile-Gx36 multicore processors introduce 23-27
2.3.1 multicore array 24
2.3.2 mononuclear structure 24-25
2.3.3 software architecture 25-26
2.3.4 I / O structure 26
2.3 .5 instruction set 26-27
2.3.6 integrated Development Environment 27
2.4 concurrent design ideas 27-28
2.5 Summary 28-29
Chapter III Universal video Encoder inter prediction motion estimation algorithm 29-43
3.1 classic motion estimation algorithm analysis and research 29-34
3.1.1 full search algorithm (Full Search, FS) 30-31
3.1.2 three-step search algorithm (Three Step Search, TSS) 31
3.1 .3 four-step search algorithm (Four Step Search, FSS) 31-32
3.1.4 diamond ( diamond ) search algorithm (Diamond Search, DS) 32-33
3.1.5 hexagon search algorithm (Hexagon Based Search, HEXBS) 33-34
3.2 new motion estimation algorithm proposed in recent years analysis and research 34-40
3.2 .1 enhanced search algorithm to predict regional (Enhanced Predictive Zonal Search, EPZS) 34-38
3.2.2 asymmetrical Cross multilayer hexagonal grid search algorithm (Uneven-cross Multi-Hexagon-grid Search, UMHexagonS) 38-40
3.3 generic coding of video motion estimation algorithm performance comparison 40-42
3.3.1 classic motion estimation algorithm coding performance analysis 40 -41
3.3.2 new motion estimation algorithm coding performance analysis 41-42
3.4 Summary 42-43
an adaptation in the fourth chapter H. more than 264 channel high-definition real-time encoding transcoding system with fast motion estimation mode decision algorithm design and implementation 43-61
4.1 algorithm design process 43-44
4.2 key algorithm technical Analysis 44-55
4.2.1 macroblock motion based on the consistency of block matching criteria 44-45
4.2.2 improved self- applicable early termination 45-47
4.2.3 temporal correlation between the use of a new type of candidate motion vector selection 47-48
4.2.4 adaptive variable step size diamond iterative search 48 - 49
4.2.5 fast multiple reference frame selection 49-50
4.2.6 simplified sub- pixel motion estimation interpolation filter 50-51
4.2.7 based SAD reuse of \br /> 4.2.9 enhanced B -frame bidirectional mode prediction 54-55
4.3 algorithm performance simulation and analysis 55-58
4.3.1 GOP structure IPPP time coding performance analysis 56-57
4.3.2 GOP structure IBBP time coding performance analysis 57-58
4.4 algorithm code optimization and implementation 58-59 <br / > 4.4.1 Tilera platform based on single-core code optimization 59
4.4.2 optimization nbsp Tilera multi-core parallel platforms ; 59
4.5 Summary 59 - Chapter 61
drop rate transcoding H.264 motion estimation and mode decision algorithm 61-69
5.1 transcoding platform to build 61-62
5.2 transcoding algorithm design and implementation 62-64
5.2.1 mode multiplexing and consolidation 62-63
5.2.2 MV reuse and motion re-estimation 63-64
5.3 performance Simulation and Analysis 64-67
5.4 Summary 67-69
Chapter VI Conclusion 69-72 <br / > 6.1 the main work and innovation 69-70
6.1.1 the main 69
6.1.2 innovation 69-70
6.2 follow-up studies 70-72
References 72-76
Thanks 76-77
during the master's degree has been published or accepted papers 77-80
Appendix 80
Related dissertations
- A Remote Network Monitoring System Based on Embedded Linux
- Research and implementation of H.264 video codec based on CUDA
- Design and Implementation of Campus Video Monitoring System Based on IP Internet Network
- Four Channel2Gsps Data Acquisition, Storage System Design and Implementation
- The Design and Implementation of Video Monitoring Application Based on Android Device
- Design and Implementation of Traffic Information Transmission Terminal Based on ARM
- Research on Video Lossless Compression Algorithm Based on HEVC
- Design and Implementation of Network Video Transmission System for Small UAV
- Application of Embedded Point Switch Detection System Based on Machine Vision
- SOPC-based ECG analysis system design and implementation
- Rearch on Video Coding Intra and Inter Frame Fast Algorithms Based on H.264/AVC