Transcoding from H.264/AVC to HEVC

Slides:



Advertisements
Similar presentations
Introduction to H.264 / AVC Video Coding Standard Multimedia Systems Sharif University of Technology November 2008.
Advertisements

KIANOOSH MOKHTARIAN SCHOOL OF COMPUTING SCIENCE SIMON FRASER UNIVERSITY 6/24/2007 Overview of the Scalable Video Coding Extension of the H.264/AVC Standard.
Time Optimization of HEVC Encoder over X86 Processors using SIMD
-1/20- MPEG 4, H.264 Compression Standards Presented by Dukhyun Chang
Technion - IIT Dept. of Electrical Engineering Signal and Image Processing lab Transrating and Transcoding of Coded Video Signals David Malah Ran Bar-Sella.
1 Video Coding Concept Kai-Chao Yang. 2 Video Sequence and Picture Video sequence Large amount of temporal redundancy Intra Picture/VOP/Slice (I-Picture)
A Highly Parallel Framework for HEVC Coding Unit Partitioning Tree Decision on Many-core Processors Chenggang Yan, Yongdong Zhang, Jizheng Xu, Feng Dai,
Overview of the H.264/AVC Video Coding Standard
1 Single Reference Frame Multiple Current Macroblocks Scheme for Multiple Reference IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS FOR VIDEO TECHNOLOGY Tung-Chien.
Analysis, Fast Algorithm, and VLSI Architecture Design for H
Motion Vector Refinement for High-Performance Transcoding Jeongnam Youn, Ming-Ting Sun, Fellow,IEEE, Chia-Wen Lin IEEE TRANSACTIONS ON MULTIMEDIA, MARCH.
BY AMRUTA KULKARNI STUDENT ID : UNDER SUPERVISION OF DR. K.R. RAO Complexity Reduction Algorithm for Intra Mode Selection in H.264/AVC Video.
Block Partitioning Structure in the HEVC Standard
BY AMRUTA KULKARNI STUDENT ID : UNDER SUPERVISION OF DR. K.R. RAO Complexity Reduction Algorithm for Intra Mode Selection in H.264/AVC Video.
Topics in Signal Processing Project Proposal
Optimizing Baseline Profile in H
An Introduction to H.264/AVC and 3D Video Coding.
HARDEEPSINH JADEJA UTA ID: What is Transcoding The operation of converting video in one format to another format. It is the ability to take.
EE 5359 H.264 to VC 1 Transcoding Vidhya Vijayakumar Multimedia Processing Lab MSEE, University of Arlington Guided.
PROJECT PROPOSAL HEVC DEBLOCKING FILTER AND ITS IMPLIMENTATION RAKESH SAI SRIRAMBHATLA UTA ID: EE 5359 Under the guidance of DR. K. R. RAO.
By Sudeep Gangavati ID EE5359 Spring 2012, UT Arlington
Kai-Chao Yang Hierarchical Prediction Structures in H.264/AVC.
PROJECT INTERIM REPORT HEVC DEBLOCKING FILTER AND ITS IMPLEMENTATION RAKESH SAI SRIRAMBHATLA UTA ID:
1 Efficient Reference Frame Selector for H.264 Tien-Ying Kuo, Hsin-Ju Lu IEEE CSVT 2008.
Windows Media Video 9 Tarun Bhatia Multimedia Processing Lab University Of Texas at Arlington 11/05/04.
Reducing/Eliminating visual artifacts in HEVC by Deblocking filter By: Harshal Shah Under the guidance of: Dr. K. R. Rao.
EE 5359 PROJECT PROPOSAL FAST INTER AND INTRA MODE DECISION ALGORITHM BASED ON THREAD-LEVEL PARALLELISM IN H.264 VIDEO CODING Project Guide – Dr. K. R.
MULTIMEDIA PROCESSING (EE 5359) SPRING 2011 DR. K. R. RAO PROJECT PROPOSAL Error concealment techniques in H.264 video transmission over wireless networks.
By, ( ) Low Complexity Rate Control for VC-1 to H.264 Transcoding.
- By Naveen Siddaraju - Under the guidance of Dr K R Rao Study and comparison of H.264/MPEG4.
Video Compression Standards for High Definition Video : A Comparative Study Of H.264, Dirac pro And AVS P2 By Sudeep Gangavati EE5359 Spring 2012, UT Arlington.
Study and Comparison of MPEG-2 and H
EE 5359 TOPICS IN SIGNAL PROCESSING PROJECT ANALYSIS OF AVS-M FOR LOW PICTURE RESOLUTION MOBILE APPLICATIONS Under Guidance of: Dr. K. R. Rao Dept. of.
Low-Power H.264 Video Compression Architecture for Mobile Communication Student: Tai-Jung Huang Advisor: Jar-Ferr Yang Teacher: Jenn-Jier Lien.
Sub pixel motion estimation for Wyner-Ziv side information generation Subrahmanya M V (Under the guidance of Dr. Rao and Dr.Jin-soo Kim)
Implementation and comparison study of H.264 and AVS China EE 5359 Multimedia Processing Spring 2012 Guidance : Prof K R Rao Pavan Kumar Reddy Gajjala.
- By Naveen Siddaraju - Under the guidance of Dr K R Rao Study and comparison between H.264.
EE5359 Multimedia Processing Interim Presentation SPRING 2015 ADVISOR: Dr. K.R.Rao EE5359 Multimedia Processing1 BY: BHARGAV VELLALAM SRIKANTESWAR
Figure 1.a AVS China encoder [3] Video Bit stream.
INTERIM Presentation on Topic: Advanced Video Coding (Comparison of HEVC with H.264 and H.264 with MPEG-2) A PROJECT UNDER THE GUIDANCE OF DR. K. R. RAO.
IMPLEMENTATION OF H.264/AVC, AVS China Part 7 and Dirac VIDEO CODING STANDARDS Under the guidance of Dr. K R. Rao Electrical Engineering Department The.
-BY KUSHAL KUNIGAL UNDER GUIDANCE OF DR. K.R.RAO. SPRING 2011, ELECTRICAL ENGINEERING DEPARTMENT, UNIVERSITY OF TEXAS AT ARLINGTON FPGA Implementation.
Optimizing Baseline Profile in H.264/AVC Video Coding by Parallel Programming and Fast Intra and Inter Predictions BY Under the Guidance of VINOOTHNA GAJULA.
Study and Optimization of the Deblocking Filter in H.265 and its Advantages over H.264 By: Valay Shah Under the guidance of: Dr. K. R. Rao.
High-efficiency video coding: tools and complexity Oct
Vamsi Krishna Vegunta University of Texas, Arlington
UNDER THE GUIDANCE DR. K. R. RAO SUBMITTED BY SHAHEER AHMED ID : Encoding H.264 by Thread Level Parallelism.
EE 5359 Multimedia Project -Shreyanka Subbarayappa
A HIGH PERFORMANCE DEBLOCKING FILTER IMPLEMENTAION FOR HEVC
-BY KUSHAL KUNIGAL UNDER GUIDANCE OF DR. K.R.RAO. SPRING 2011, ELECTRICAL ENGINEERING DEPARTMENT, UNIVERSITY OF TEXAS AT ARLINGTON FPGA Implementation.
Reducing/Eliminating visual artifacts in HEVC by Deblocking filter Submitted By: Harshal Shah Under the guidance of Dr. K. R. Rao.
Porting of Fast Intra Prediction in HM7.0 to HM9.2
Transcoding of an MPEG-2 bit stream to an H.264 bit stream
Video Compression—From Concepts to the H.264/AVC Standard
Overview of the High Efficiency Video Coding (HEVC) Standard
COMPARATIVE STUDY OF HEVC and H.264 INTRA FRAME CODING AND JPEG2000 BY Under the Guidance of Harshdeep Brahmasury Jain Dr. K. R. RAO ID MS Electrical.
UNDER THE GUIDANCE DR. K. R. RAO SUBMITTED BY SHAHEER AHMED ID : Encoding H.264 by Thread Level Parallelism.
Time Optimization of HEVC Encoder over X86 Processors using SIMD
Time Optimization of HEVC Encoder over X86 Processors using SIMD Kushal Shah Advisor: Dr. K. R. Rao Spring 2013 Multimedia.
By: Santosh Kumar Muniyappa ( ) Guided by: Dr. K. R. Rao Final Report Multimedia Processing (EE 5359)
A Frame-Level Rate Control Scheme Based on Texture and Nontexture Rate Models for HEVC IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS FOR VIDEO TECHNOLOGY,
Implementation and comparison study of H.264 and AVS china EE 5359 Multimedia Processing Spring 2012 Guidance : Prof K R Rao Pavan Kumar Reddy Gajjala.
EE 5359 MULTIMEDIA PROCESSING PROJECT PROPOSAL SPRING 2016 STUDY AND PERFORMANCE ANALYSIS OF HEVC, H.264/AVC AND DIRAC By ASHRITA MANDALAPU
E ARLY TERMINATION FOR TZ SEARCH IN HEVC MOTION ESTIMATION PRESENTED BY: Rajath Shivananda ( ) 1 EE 5359 Multimedia Processing Individual Project.
Introduction to H.264 / AVC Video Coding Standard Multimedia Systems Sharif University of Technology November 2008.
Early termination for tz search in hevc motion estimation
Porting of Fast Intra Prediction in HM7.0 to HM9.2
Study and Optimization of the Deblocking Filter in H
PROJECT PROPOSAL HEVC DEBLOCKING FILTER AND ITS IMPLIMENTATION RAKESH SAI SRIRAMBHATLA UTA ID: EE 5359 Under the guidance of DR. K. R. RAO.
Shantanu Kulkarni UTA ID:
Presentation transcript:

Transcoding from H.264/AVC to HEVC Shantanu Kulkarni UTA ID: 1000789943

Introduction to Transcoding Video transcoding is the operation of converting video from one format to another. A format is defined by characteristics such as bit-rate, spatial resolution etc. Transcoding is one of the most promising technologies, which provides video adaptation in terms of bit-rate reduction, resolution reduction and format conversion to meet various requirements

Following is the most basic transcoding architecture Fig. 1 Basic architecture for transcoding [8]

Need for Transcoding Design of most video coding standards is primarily aimed at having the highest coding efficiency, which is the ability to encode the video at lowest possible bitrate while maintaining certain level of video quality. HEVC, which is a recently emerged video coding standard, aims at high coding efficiency while retaining the video quality With its hybrid coding architecture, motion compensation prediction and transform coding technique, it can be seen as an improved version of the previous standard H.264 [6]

Need for Transcoding contd. Transcoding from H.264 to HEVC will enable lowering the bitrate resulting in a more efficient compression.[1] AVC and HEVC share a similar prediction, transform, quantization, and entropy coding architecture. [1]

Overview of HEVC The HEVC standard is based on the well-known block-based hybrid coding architecture, combining motion-compensated prediction and transform coding with high-efficiency entropy coding It employs a flexible quad-tree coding block partitioning structure that enables the efficient use of large and multiple sizes of coding, prediction, and transform blocks. It also employs improved intra prediction and coding, adaptive motion parameter prediction and coding, new loop filter and an enhanced version of context-adaptive binary arithmetic coding (CABAC) entropy coding.

Fig. 2 HEVC encoder block diagram Overview of HEVC contd. Fig. 2 HEVC encoder block diagram

Fig. 3 Block based architecture HEVC – Intra-Prediction [17] Overview of HEVC contd. Fig. 3 Block based architecture HEVC – Intra-Prediction [17]

Overview of H.264/AVC [6] Directional spatial prediction for intra coding (9 directional prediction modes) Variable block-size motion compensation with small block size Quarter-sample-accurate motion compensation Motion vectors over picture boundaries Multiple reference picture motion compensation Decoupling of referencing order from display order In-the-loop deblocking filtering

H.264/AVC Encoder-Decoder Block Diagram Fig. 4 H.264/AVC Encoder [2] Fig. 5 H.264/AVC Decoder [2]

Comparison of AVC & HEVC Larger block structure leading to maximum of 64x64 pixels per block Intra prediction direction modes which are upto 35 (33 modes + DC + Planar) in case of HEVC while H.264 has 9 directional modes of intra prediction Adaptive motion vector prediction, which allows codec to find more inter frame redundancies Superior parallelization tools, including wavefront parallel processing, for more efficient coding in a multi core environment Entropy using CABAC only, no more CAVLC Improvements to de-blocking filter and addition of one more filter called Sample Adaptive Offset (SAO) that further leaves artifacts along block edges

Simplified Mode Selection HEVC Transcoder The transcoding schemes discussed here avoid high computational complexity in terms of reduced RDO evaluations and motion compensation operation as well as fractional pixel interpolation operation. AVC Decoder HEVC Re-encoder Simplified Mode Selection Input AVC Bitstream Output HEVC Bitstream Residual, modes and MVs CU, PU partitions Fig. 6 Pixel domain AVC-HEVC transcoder[1]

HEVC Transcoder Contd. The LCU will initially split according to the input MB modes in AVC The initial CU partitions will be further merged to larger size according to the predict directions of its adjacent four sub-CUs. For example, if the predict directions of adjacent four 8x8 CUs are the same, they will be merged to 16x16. Similar merge operations will also perform on CUs larger than 8x8. The merge process is applied from the 4x4 smallest 4x4 blocks to the blocks with size 32x32. The input information from AVC can be used to reduce the candidate predict directions for SATD, or reducing the candidate SATD list

HEVC Transcoder contd. The major complexity of Inter picture coding comes from the motion estimation (ME), MC operations when testing every set of possible coding parameters with possible CU size, PU and TU modes. Thus, it is proposed to reduce these operations with the help of input AVC information, e.g. residuals, modes and MVs.Since the largest CU (LCU) in HEVC consists of 16 MBs in AVC, after AVC decoding, the information of these MBs will transmit to the mode selection module.

HEVC Transcoder Contd. Since the input AVC bitstream already contains useful information of the MB partitions and prediction directions, we extract the information which can be utilized by HEVC encoder without having to do any computations. Key technology of AVC to HEVC transcoding consists of merging smaller blocks to a larger CU, especially for bit rate reduction transcoding. Since a large CU may consists of different 4x4 blocks, and probably, these blocks may have different MVs, merging these blocks now turns to measure the RD cost when the MV changes.

Cascaded encoder decoder transcoder architecture Includes complete decoding and re-encoding High Complexity Error due to the lossy encoding of already decoded bit sequence Cascaded Decoder and Encoder Transcoded HEVC Bit stream Input Bit stream H.264 Bit stream Output Bit stream H.264 Encoder H.264 Decoder HEVC Encoder HEVC Decoder Reconstructed Bit stream Fig.7 Cascaded encoder – decoder transcoder

Simulation results Sequence Component Metric Encoded by H.264 Encoded by HEVC Transcoded output with respect to original Transcoded output with respect to H.264 akiyo_qcif Y MSE 7.9453 16.3527 14.9827 13.0089 PSNR 39.14 35.9949 36.3749 36.9884 U 4.89645 73.6801 7.6814 5.4491 41.234 39.4573 39.2764 40.7675 V 4.05427 44.4938 5.099 3.8215 42.054 41.6478 41.056 42.3084 PSNR (color) 39.766 37.13431 37.322725 38.1257875 Bitrate (kbps) 15.53 12.4128   11.64 Computation Time (sec) 149.847 504.537 494.878 Table 1. MSE and PSNR of akiyo_qcif.yuv video sequence for 100 frames

Simulation results continued… Sequence Component Metric Encoded by H.264 Encoded by HEVC Transcoded output with respect to original Transcoded output with respect to H.264 foreman_qcif Y MSE 16.03446 29.9875 16.0345 23.6761 PSNR 36.134 33.3614 36.0803 34.3877 U 5.56395 7.3461 5.5639 3.5923 40.689 39.4702 40.677 42.577 V 4.00861 5.8822 4.0086 3.9526 42.124 40.4354 42.1009 42.1619 PSNR color 37.452125 35.00925 37.4074625 36.3831375 Bitrate (kbps) 90.6 45.8904   43.4808 Computation Time (sec) 198.281 851.182 839.835 Table 2. MSE and PSNR of foreman_qcif.yuv video sequence for 100 frames

Simulation results continued… Sequence Component Metric Encoded by H.264 Encoded by HEVC Transcoded output with respect to original Transcoded output with respect to H.264 mobile_cif Y MSE 33.74791 60.16589 29.5597 48.6284 PSNR 33.021 30.3373 33.4238 31.2619 U 16.33582 19.1911 24.0076 9.5459 36.033 35.2998 34.3273 38.3326 V 17.23845 22.2633 26.3195 12.7897 35.806 34.6549 33.928 37.0622 PSNR color 33.745625 31.49731 33.5997625 32.870775 Bitrate (kbps) 851.1 361.4736   337.5528 Computation Time (sec) 605.525 4053.218 3957.333 Table 3. MSE and PSNR of mobile_cif.yuv video sequence for 100 frames

Simulation results continued… Sequence Component Metric Encoded by H.264 Encoded by HEVC Transcoded output with respect to original Transcoded output with respect to H.264 coastguard_cif Y MSE 43.65598 54.3388 33.7838 32.0597 PSNR 31.797 30.7797 32.8437 33.0712 U 3.745 3.7246 21.7963 1.75509 42.499 42.42 34.747 45.6878 V 3.11601 2.9498 24.5536 1.4232 43.26 43.4328 34.2296 46.5979 PSNR color 34.567625 33.81638 33.25485 36.3391125 Bitrate (kbps) 428.1 295.2936   233.5488 Computation Time (sec) 846.241 4012.575 3791.309 Table 4. MSE and PSNR of coastguard_cif.yuv video sequence for 100 frames

Fig 8. PSNR Video sequences: akiyo_qcif and foreman_qcif Comparison of PSNR for colored images between ‘qcif’ video sequences akiyo and foreman PSNR (db)  PSNR (dB) Video Sequences  Video Sequences  Fig 8. PSNR Video sequences: akiyo_qcif and foreman_qcif

Fig 9. PSNR Video sequences: mobile_cif and coastguard_cif Comparison of PSNR for colored images between ‘cif’ video sequences mobile and coastguard PSNR (dB) Video Sequences  Fig 9. PSNR Video sequences: mobile_cif and coastguard_cif

Comparison of bitrate for akiyo_qcif video sequence (kbps) Video Sequences  Fig 10. Bitrate comparison between H.264 encoded, HEVC encoded and transcoded output using foreman_qcif.yuv sequence. (100 frames)

Comparison of bitrate for foreman_qcif video sequence (kbps) Video Sequences  Fig 10. Bitrate comparison between H.264 encoded, HEVC encoded and transcoded output using foreman_qcif.yuv sequence. (100 frames)

Comparison of bitrate for mobile_cif video sequence (kbps) Video Sequences  Fig 11. Bitrate comparison between H.264 encoded, HEVC encoded and transcoded output using mobile_cif.yuv sequence. (100 frames)

Comparison of bitrate for coastguard_cif video sequence (kbps) Video Sequences  Fig 12. Bitrate comparison between H.264 encoded, HEVC encoded and transcoded output using coastguard_cif.yuv sequence. (100 frames)

Comparison of computation time for akiyo_qcif video sequence (sec) Video Sequences  Fig 13. Computation time comparison between H.264 encoded, HEVC encoded and transcoded output using akiyo_qcif.yuv sequence. (100 frames)

Comparison of computation time for foreman_qcif video sequence (sec) Video Sequences  Fig 14. Computation time comparison between H.264 encoded, HEVC encoded and transcoded output using foreman_qcif.yuv sequence. (100 frames)

Comparison of computation time for mobile_cif video sequence (sec) Video Sequences  Fig 15. Computation time comparison between H.264 encoded, HEVC encoded and transcoded output using mobile_cif.yuv sequence. (100 frames)

Comparison of computation time for coastguard_cif video sequence (sec) Video Sequences  Fig 16. Computation time comparison between H.264 encoded, HEVC encoded and transcoded output using coastguard_cif.yuv sequence. (100 frames)

Images Akiyo_qcif and Foreman_qcif Fig 17a. Fig 17b. Fig 17c. Fig 17. Akiyo_qcif video sequence 17a) H.264 encoded, 17b) transcoded and 17c) HEVC encoded and reconstructed Fig 18a. Fig 18b. Fig 18c. Fig 18. Foreman_qcif video sequence 18a) H.264 encoded, 18b) transcoded and 18c) HEVC encoded and reconstructed

Images Mobile_cif Fig 19a. Mobile_cif H.264 encoded and reconstructed Fig 19b. Mobile_cif Transcoded Fig 19c. HEVC Encoded and reconstructed

Images coastguard_cif Fig 20a. Coastguard_cif H.264 encoded and reconstructed Fig 20b. Coastguard_cif Transcoded Fig 20c. Coastguard_cif HEVC Encoded and reconstructed

References D. Zhang, B. Li, J. Xu, and H. Li, ‘Fast Transcoding from H.264/AVC to High Efficiency Video Coding’ IEEE International Conference on Multimedia Expo, pp. 651-656, July, 2012 T. Wiegand et al, “Overview of the H.264/AVC video coding standard,” IEEE Trans. CSVT, Vol. 13, pp. 560-576, July 2003.J Xin, C.W. Lin and M.T. Sun, “Digital video transcoding”, Proceedings of the IEEE, Vol. 93, pp 84-97, Jan 2005. T. Wiegand, G. J. Sullivan, G. Bjøntegaard, and A. Luthra, ‘Overview of the H.264/AVC Video Coding Standard’, IEEE transactions on circuits and systems for video technology, vol. 13, no. 7, pp. 560-576, July 2003 I. Kim, J. Min, T. Lee et al, ‘Block Partitioning Structure in the HEVC Standard’, IEEE transactions on circuits and systems for video technology, vol. 22, no. 12, pp. 1697-1706, December 2012 G. Sullivan, P. Topiwalla and A. Luthra, “The H.264/AVC video coding standard: overview and introduction to the fidelity range extensions”, SPIE Conference on Applications of Digital Image Processing XXVII, vol. 5558, pp. 53-74 Aug 2004. T. D. Nguyen et al, “Efficient MPEG-4 to H.264/AVC transcoding with spatial downscaling”, ETRI Journal, vol.29, no.6, pp 826-828, Dec. 2007. G.J. Sullivan, J. Ohm, W. Han et al, “Overview of High Efficiency Video Coding (HEVC) Standard” IEEE Transactions on Circuits and Systems for Video Technology, Vol. 22, No.12, Dec 2012 A. Vetros, C. Christopoulos and H. Sun, “Video transcoding architectures and techniques: An overview”, IEEE Signal Processing Magazine, Vol. 20, pp 18-29, March 2003 HEVC open source software (encoder/decoder) https://hevc.hhi.fraunhofer.de/svn/svn_HEVCSoftware/tags/HM-6.0 JM Reference Software - http://iphome.hhi.de/suehring/tml/ - H.264 reference software Eduardo Peixoto Fernandes da Silva, “Advanced Heterogeneous Video Transcoding” Queen Mary, University of London, PhD Thesis. J. Padia, “Complexity Reduction For Vp6 To H.264 Transcoder Using Motion Vector Reuse”, MPL, University of Texas at Arlington, May 2012.

References Contd. Reference Books K. Sayood, “Introduction to Data compression”, III edition, Morgan Kauffmann publishers, 2006. I.E.G. Richardson, “H.264 and MPEG-4 video compression: video coding for next-generation multimedia”, Edition II ,Wiley, 2010. Websites http://en.wikipedia.org/wiki/ : Website for Wikipedia, Encyclopedia http://www-ee.uta.edu/Dip/Courses/EE5359/index.html: Course website http://ieeexplore.ieee.org/: Website archive for IEEE papers online http://www.v-net.tv/hevc-is-game-changer-for-multi-screen-and-iptv/: Impact of HEVC standard on digital media market like cell phones, TVs etc http://www.streamingmedia.com/Articles/Editorial/What-Is-.../What-Is-HEVC-(H.265)-87765.aspx: Summary about HEVC , information site. http://mrutyunjayahiremath.blogspot.com/2010/09/h264-video-codec_22.html: Diagram for H.264 prediction direction modes http://opticalengineering.spiedigitallibrary.org/article.aspx?articleid=1352660: Diagram for Intra prediction block structure for HEVC

THANK YOU