Video Transcoding in H.264 Prof. Maurizio Bonuccelli Francesca Martelli Francesca Lonetti PISATEL.

Slides:



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

INTERNATIONAL CONFERENCE ON TELECOMMUNICATIONS, ICT '09. TAREK OUNI WALID AYEDI MOHAMED ABID NATIONAL ENGINEERING SCHOOL OF SFAX New Low Complexity.
A Performance Analysis of the ITU-T Draft H.26L Video Coding Standard Anthony Joch, Faouzi Kossentini, Panos Nasiopoulos Packetvideo Workshop 2002 Department.
-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.
Ai-Mei Huang And Truong Nguyen Image processing, 2006 IEEE international conference on Motion vector processing based on residual energy information for.
H.264/AVC Baseline Profile Decoder Complexity Analysis Michael Horowitz, Anthony Joch, Faouzi Kossentini, and Antti Hallapuro IEEE TRANSACTIONS ON CIRCUITS.
1 Adaptive slice-level parallelism for H.264/AVC encoding using pre macroblock mode selection Bongsoo Jung, Byeungwoo Jeon Journal of Visual Communication.
Light Field Compression Using 2-D Warping and Block Matching Shinjini Kundu Anand Kamat Tarcar EE398A Final Project 1 EE398A - Compression of Light Fields.
2009/04/07 Yun-Yang Ma.  Overview  What is CUDA ◦ Architecture ◦ Programming Model ◦ Memory Model  H.264 Motion Estimation on CUDA ◦ Method ◦ Experimental.
Yen-Lin Lee and Truong Nguyen ECE Dept., UCSD, La Jolla, CA Method and Architecture Design for Motion Compensated Frame Interpolation in High-Definition.
SCHOOL OF COMPUTING SCIENCE SIMON FRASER UNIVERSITY CMPT 820 : Error Mitigation Schaar and Chou, Multimedia over IP and Wireless Networks: Compression,
Wei Zhu, Xiang Tian, Fan Zhou and Yaowu Chen IEEE TCE, 2010.
Ch. 6- H.264/AVC Part I (pp.160~199) Sheng-kai Lin
Recursive End-to-end Distortion Estimation with Model-based Cross-correlation Approximation Hua Yang, Kenneth Rose Signal Compression Lab University of.
Outline Introduction Introduction Fast Inter Prediction Mode Decision for H.264 – –Pre-encoding An Efficient Inter Mode Decision Approach for H.264 Video.
Efficient multi-frame motion estimation algorithms for MPEG-4 AVC/JVTH.264 Mei-Juan Chen, Yi-Yen Chiang, Hung- Ju Li and Ming-Chieh Chi ISCAS 2004.
Improving Scene Cut Quality for Real-Time Video Decoding Giovanni Motta, Brandeis University James A. Storer, Brandeis University Bruno Carpentieri, Universita’
1 Single Reference Frame Multiple Current Macroblocks Scheme for Multiple Reference IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS FOR VIDEO TECHNOLOGY Tung-Chien.
Overview of Multi-view Video Coding Yo-Sung Ho; Kwan-Jung Oh; Systems, Signals and Image Processing, 2007 and 6th EURASIP Conference focused on Speech.
FAST MULTI-BLOCK SELECTION FOR H.264 VIDEO CODING Chang, A.; Wong, P.H.W.; Yeung, Y.M.; Au, O.C.; Circuits and Systems, ISCAS '04. Proceedings of.
Introduction to Video Transcoding Of MCLAB Seminar Series By Felix.
Motion Vector Refinement for High-Performance Transcoding Jeongnam Youn, Ming-Ting Sun, Fellow,IEEE, Chia-Wen Lin IEEE TRANSACTIONS ON MULTIMEDIA, MARCH.
1 An Efficient Mode Decision Algorithm for H.264/AVC Encoding Optimization IEEE TRANSACTION ON MULTIMEDIA Hanli Wang, Student Member, IEEE, Sam Kwong,
Fundamentals of Multimedia Chapter 11 MPEG Video Coding I MPEG-1 and 2
H.264/AVC for Wireless Applications Thomas Stockhammer, and Thomas Wiegand Institute for Communications Engineering, Munich University of Technology, Germany.
Xinqiao LiuRate constrained conditional replenishment1 Rate-Constrained Conditional Replenishment with Adaptive Change Detection Xinqiao Liu December 8,
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.
January 26, Nick Feamster Development of a Transcoding Algorithm from MPEG to H.263.
Video Streaming via Transcoding Jianping Fan Department of Computer Science University of North Carolina at Charlotte Charlotte, NC 28223
Conference title 1 A WYNER-ZIV TO H.264 VIDEO TRANSCODER José Luis Martínez, Pedro Cuenca, Gerardo Fernández-Escribano, Francisco José Quiles and Hari.
EE 5359 H.264 to VC 1 Transcoding Vidhya Vijayakumar Multimedia Processing Lab MSEE, University of Arlington Guided.
Kai-Chao Yang Hierarchical Prediction Structures in H.264/AVC.
Philipp Merkle, Aljoscha Smolic Karsten Müller, Thomas Wiegand CSVT 2007.
1 Efficient Reference Frame Selector for H.264 Tien-Ying Kuo, Hsin-Ju Lu IEEE CSVT 2008.
Adaptive Multi-path Prediction for Error Resilient H.264 Coding Xiaosong Zhou, C.-C. Jay Kuo University of Southern California Multimedia Signal Processing.
- By Naveen Siddaraju - Under the guidance of Dr K R Rao Study and comparison of H.264/MPEG4.
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)
Compression video overview 演講者:林崇元. Outline Introduction Fundamentals of video compression Picture type Signal quality measure Video encoder and decoder.
- By Naveen Siddaraju - Under the guidance of Dr K R Rao Study and comparison between H.264.
Rate-distortion Optimized Mode Selection Based on Multi-channel Realizations Markus Gärtner Davide Bertozzi Classroom Presentation 13 th March 2001.
A New Coding Mode for Error Resilient Video EE368C Final Presentation Stanford University Sangoh Jeong Mar.8, 2001.
Figure 1.a AVS China encoder [3] Video Bit stream.
-BY KUSHAL KUNIGAL UNDER GUIDANCE OF DR. K.R.RAO. SPRING 2011, ELECTRICAL ENGINEERING DEPARTMENT, UNIVERSITY OF TEXAS AT ARLINGTON FPGA Implementation.
Guillaume Laroche, Joel Jung, Beatrice Pesquet-Popescu CSVT
Advances in digital image compression techniques Guojun Lu, Computer Communications, Vol. 16, No. 4, Apr, 1993, pp
Fast motion estimation and mode decision for H.264 video coding in packet loss environment Li Liu, Xinhua Zhuang Computer Science Department, University.
An efficient Video Coding using Phase-matched Error from Phase Correlation Information Manoranjan Paul 1 and Golam Sorwar IEEE.
High-efficiency video coding: tools and complexity Oct
-BY KUSHAL KUNIGAL UNDER GUIDANCE OF DR. K.R.RAO. SPRING 2011, ELECTRICAL ENGINEERING DEPARTMENT, UNIVERSITY OF TEXAS AT ARLINGTON FPGA Implementation.
Transcoding from H.264/AVC to HEVC
Flow Control in Compressed Video Communications #2 Multimedia Systems and Standards S2 IF ITTelkom.
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.
Time Optimization of HEVC Encoder over X86 Processors using SIMD Kushal Shah Advisor: Dr. K. R. Rao Spring 2013 Multimedia.
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.
Fine-granular Motion Matching for Inter-view Motion Skip Mode in Multi-view Video Coding Haitao Yanh, Yilin Chang, Junyan Huo CSVT.
Ai-Mei Huang And Truong Nguyen Image processing, 2006 IEEE international conference on Motion vector processing based on residual energy information for.
E ARLY TERMINATION FOR TZ SEARCH IN HEVC MOTION ESTIMATION PRESENTED BY: Rajath Shivananda ( ) 1 EE 5359 Multimedia Processing Individual Project.
Multi-Frame Motion Estimation and Mode Decision in H.264 Codec Shauli Rozen Amit Yedidia Supervised by Dr. Shlomo Greenberg Communication Systems Engineering.
Computational Controlled Mode Selection for H.264/AVC June Computational Controlled Mode Selection for H.264/AVC Ariel Kit & Amir Nusboim Supervised.
Introduction to H.264 / AVC Video Coding Standard Multimedia Systems Sharif University of Technology November 2008.
Overview of the Scalable Video Coding
Optimal Mode Selection For Robust Video Transmission
Research Topic Error Concealment Techniques in H.264/AVC for Wireless Video Transmission Vineeth Shetty Kolkeri EE Graduate,UTA.
Supplement, Chapters 6 MC Course, 2009.
Standards Presentation ECE 8873 – Data Compression and Modeling
Bongsoo Jung, Byeungwoo Jeon
Presentation transcript:

Video Transcoding in H.264 Prof. Maurizio Bonuccelli Francesca Martelli Francesca Lonetti PISATEL

2 Outline H.264 coding and transcoding Motion Vector Composition algorithms Overview of our temporal transcoding results (MPEG4, H.263) PISATEL

3 H.264 coding H.264 mean features: Variable and small block sizes (4×4) PISATEL Average bit rate reduction! High complexity! Quarter-pixel resolution NAL units New entropic coding algorithms (CABAC) Deblocking filter Moto compensation with multiple reference pictures

PISATEL 4 H.264 temporal transcoding PISATEL Transcoder Input bit-rate 64 Kb Output bit-rate 32 Kb Skipping frames to reduce the output bit-rate Three main issues: –Motion Vector Computation(MVC) –Prediction Error Computation –Frame Skipping Policy

PISATEL 5 Motion Vector Composition The motion vectors are computed by –Motion Vector Composition Algorithms (BI, TVC, FDVS, ADVS) –Restricted Motion Estimation (RME) MVC skipped F(n-1) F(n) F(n-2) mv n-1 mv n

PISATEL 6 Telescopic Vector Composition F(n-1) (skipped) MB n MB 4 n-1 MB 1 n-1 MB 2 n-1 MV n MB 3 n-1 MV 1 n-1 MV 2 n-1 MV 4 n-1 MV 3 n-1 F(n) MV n =MV n +MV TVC New reference area F(n-2) MB n MV TVC = MV 1 n-1

PISATEL 7 Bilinear Interpolation MV BI =(1-α)(1-β)MV 1 n-1 +(α)(1-β)MV 2 n-1 +(1-α)(β)MV 3 n-1 +(α)(β)MV 4 n-1 F(n-2) F(n-1) (skipped) MB n MB 4 n-1 MB 1 n-1 MB 2 n-1 MV n MB 3 n-1 MB n MV 1 n-1 MV 2 n-1 MV 4 n-1 MV 3 n-1 F(n) MV n =MV n +MV BI New reference area MV BI α β

PISATEL 8 H.264 features New in H.264: variable macroblock partition (16 motion vectors for each macroblock) Transcoder keeps the same partitions of the remote encoder (most efficient solution) How to apply MVC in H.264? –BI and TVC adaptation –New MVC algorithm ? H.264 ? Previous standards

PISATEL 9 MVC in H.264 MB1MB2 MB3MB4 LIV.0 Mv_MVC= f(mv_MB1,mv_B2, mv_B3, mv_B4) MB1 B1B2 MB3 B1B2 B3B4 MB4 B1 B2 LIV.1 MB2 B1 B3B4 B2 Mv_B4 LIV.3 Mv_B2 Mv_B1Mv_B1= f(sb1,sb2) Mv_B2 Mv_MB4= f(mv_B1,mv_B2) Mv_MB3= f(mv_B2,mv_B4) Mv_MB2= f(mv_B1,mv_B2) Mv_MB1= mv_B2 B1 sb1 B2 B4 B2 LIV. 2 B1 sb2

PISATEL 10 A new MVC algorithm Basic Idea: looking for a reference area, the most similar to the current macroblock Two steps: –For each motion vector of a macroblock (or block) of the reference area in the skipped frame, compute the difference between the macroblock and an area pointed by the motion vector with the same size of the current macroblock –Choose the motion vector of the reference area that minimizes this difference

PISATEL 11 New MVC algorithm: example F(n) A MB N M V f =argmin i Є S MSE(A, A i ) = argmin i Є S (1/NxM |A-A i | 2 ) F(n-2) mv F(n-1) MB4MB3 MB1MB2 b1 b2 b3 b4 b2 b1 (skipped) mv2 A2 A4 mv4 A3 mv3 A6 mv6 mv8 A8 mv7 A7 mv5 A5 mv1 A1 new_mv

PISATEL 12 MVC performance (time) PISATEL TVC BINewME

PISATEL 13 MVC performance (quality) PSNR(dB) Frames Akiyo Motion Estimation New MVC Algorithm

PISATEL 14 MVC performance (quality) Akiyo PSNR(dB) New MVC Algorithm BI AlgorithmTVC Algorithm Frames

PISATEL 15 MVC performance (quality) Motion Estimation New MVC Algorithm PSNR(dB) Frames Coastguard

PISATEL 16 MVC performance (quality) PSNR(dB) Frames Coastguard New MVC Algorithm BI AlgorithmTVC Algorithm

PISATEL 17 Our activities in video transcoding We started in studying video features in MPEG4 With this codec, we developed two temporal transcoders: –One based on an architecture known as FSC (Frame Skipping Control) –One based on an architecture known as DFS (Dynamic Frame Skipping) By simulation, we realized that the second architecture results better in terms of video quality, while the first one results better in terms of processing times

PISATEL 18 MPEG4 transcoder architectures After a skipped frame: –In the FSC architecture, motion vectors and prediction errors are computed without executing motion estimation  worse quality, re-encoding errors amassment –In the DFS architecture, motion vectors and prediction errors are computed with a restricted motion estimation  better quality, but worse time performance

PISATEL 19 Motion Vector Composition In literature we found 4 MVC algorithms: –Bilinear interpolation –Telescopic Vector Composition –Forward Dominant Vector Selection –Activity Dominant Vector Selection By using the DFS architecture (that performs motion estimation) we realized by simulation that these algorithms are equivalent

PISATEL 20 Architectures and MVC algorithms M. A. Bonuccelli, F. Lonetti, F. Martelli. Video Transcoding Architectures for Multimedia Real Time Services, ERCIM News No. 62, pp , July 2005.

PISATEL 21 Skipping policies We developed 4 skipping policies, all of them based on the transcoder buffer occupancy: –Buffer based –Motion activity –Consecutive skipping –Random M. A. Bonuccelli, F. Lonetti, F. Martelli. Temporal Transcoding for Mobile Video Communication. In Proceedings of 2 nd Annual International Conference on Mobile and Ubiquitous Systems: Networking and Services (Mobiquitous 2005), pp , July 17-21, 2005, San Diego, CA.

PISATEL 22 H.263 Video Transcoder Then, we studied the H.263 video codec, and we developed a temporal transcoder, based on DFS architecture. By observing the test results, we realize that video quality is influenced by the rate control of the front encoder Then, we tested and implemented several rate control algorithms for the front encoder: –TMN5 –TMN8 –  domain –Perceptual rate control –Multiple zone (Activity)

PISATEL 23 H.263 Video Transcoder In our transcoder architecture, every frame is first transcoded, and then transmitted or dropped. To avoid the computation of frames that will be discarded, we developed a new frame skipping policy that predicts the frames to be transcoded M. A. Bonuccelli, F. Lonetti, F. Martelli. A Fast Skipping Policy for H.263 Video Transcoder. In Proceedings of 12 th International Workshop on Systems, Signals and Image Processing (IWSSIP'05). September 22-24, 2005, Chalkida, Greece.

PISATEL 24 Finally, H.264 This codec is the product of the union between VCEG (H.263) and MPEG, forming the Joint VideoTeam (JVT) It includes all benefits of previous standards in order to achieve good quality performance even at low bit-rate We worked in two directions: –Optimizing the codec, to speed up it –Implementing a transcoder

PISATEL 25 Optimizing H.264 encoder We operated some modifications to the reference software in order to obtain acceptable encoding times: –instead of computing all half and quarter pixels in two rounds, we compute them in only one round –fast way for choosing the optimal partitioning: instead of using the SAD (Sum of Absolute Differences) measure as decision parameter, we use other metrics: the number of differences in terms of pixels the maximum difference value the average difference value the most popular difference value compared with proper self-adjusting thresholds.

PISATEL 26 H.264 transcoder We first implemented the cascade pixel domain transcoder by simply concatenating a decoder with an encoder, in order to develop the motion vector composition algorithms Then we are implementing the frame skipping to obtain a transcoder that decides the frames to be dropped

PISATEL 27 H.264 rate control Finally, we are implementing the TMN8 rate control algorithm to be used in the front encoder We think that, with a rate control algorithm able to skip frame in encoding phase, the transcoding process may be improved both in terms of quality and computation time

PISATEL 28 Master Theses Luigi D’Amaro. Algoritmi per la transcodifica video. Gianni Rosa. Transcodifica video per comunicazione mobile: studio di rate control. Luca Leonardi. Transcodifica video temporale: politiche di frame skipping. Marina Paletta. Realizzazione di un transcodificatore video temporale H.264 per video comunicazione mobile. Riccardo Vagli. Implementazione di un transcoder video basato sullo standard H.264/AVC. Alsona Dema. Rate Control in H.264.

PISATEL 29 Conclusions We studied the video transcoding problem in real-time communications We developed temporal transcoders with MPEG4, H.263 and H.264 codecs We developed some skipping policies to be used in each transcoder We developed three MVC algorithms to be used in the H.264 transcoder

PISATEL 30 Acknowledgements We thank all ERI people who introduced us in this research area, for the helpful discussions and advices We thank PisaTel Lab people We thank all students who worked with us in this project