Quantitative Comparison of H.264/AVC and VP8 Video Codecs for Video Conferencing Scott Kristjanson CMPT-820 Multimedia Systems Instructor: Dr. Mohamed.

Slides:



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

2005/01/191/14 Overview of Fine Granularity Scalability in MPEG-4 Video Standard Weiping Li Fellow, IEEE IEEE Transactions on Circuits and Systems for.
CS335 Principles of Multimedia Systems Audio Hao Jiang Computer Science Department Boston College Oct. 11, 2007.
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
1 Adaptive slice-level parallelism for H.264/AVC encoding using pre macroblock mode selection Bongsoo Jung, Byeungwoo Jeon Journal of Visual Communication.
1 Single Reference Frame Multiple Current Macroblocks Scheme for Multiple Reference IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS FOR VIDEO TECHNOLOGY Tung-Chien.
Fundamental Abstractions Multimedia Over IP and Wireless Networks Section 14.3 Presented by Scott Kristjanson CMPT-820 Multimedia Systems Instructor: Dr.
Block Partitioning Structure in the HEVC Standard
Jacinto C. Nascimento, Member, IEEE, and Jorge S. Marques
Video for Mobile Device Mark Green School of Creative Media.
Technical Analysis of Video Element tag of HTML5 and different codecs supported Lohith B Om HU ID:
Streaming media over the Internet A million channels and there is still nothing on! By Samuel Shiffman Streaming Technologist Seton Hall University
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.
Video Data Topic 4: Multimedia Technology. What is Video? A video is just a collection of bit-mapped images that when played quickly one after another.
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
GODIAN MABINDAH RUTHERFORD UNUSI RICHARD MWANGI.  Differential coding operates by making numbers small. This is a major goal in compression technology:
Kai-Chao Yang Hierarchical Prediction Structures in H.264/AVC.
Farid Molazem Network Systems Lab Simon Fraser University Scalable Video Transmission for MobileTV.
1/23/2005 page1 11/11/2004 MPEG4 Codec for Access Grids National Center for High Performance Computing Speaker: Barz Hsu
MULTIMEDIA PROCESSING ROUTING PROTOCOL ANALYSIS FOR SCALABLE VIDEO CODING(SVC) TRANSMISSION OVER MOBILE AD-HOC NETWORKS PRAJWAL S SANKET
Video Basics. Agenda Digital Video Compressing Video Audio Video Encoding in tools.
MPEG: (Moving Pictures Expert Group) A Video Compression Standard for Multimedia Applications Seo Yeong Geon Dept. of Computer Science in GNU.
Maria Grazia Albanesi, Riccardo Amadeo University of Pavia, Faculty of Engineering, Computer Department Impact of Fixation Time on Subjective Video Quality.
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.
1 Requirements for the Transmission of Streaming Video in Mobile Wireless Networks Vasos Vassiliou, Pavlos Antoniou, Iraklis Giannakou, and Andreas Pitsillides.
STUDY AND IMPLEMENTATION OF VIDEO COMPRESSION STANDARDS (H.264/AVC, DIRAC) EE 5359-Multimedia Processing Spring 2012 Dr. K.R Rao By: Sumedha Phatak( )
Mohamed Hefeeda 1 School of Computing Science Simon Fraser University, Canada Optimal Partitioning of Fine-Grained Scalable Video Streams Mohamed Hefeeda.
Video Compression: Performance evaluation of available codec software Sridhar Godavarthy.
Implementation, Performance Analysis & Comparison of H.264 and VP8 Submitted by: Keyur Shah ( ) Under guidance of Dr.
- By Naveen Siddaraju - Under the guidance of Dr K R Rao Study and comparison of H.264/MPEG4.
MPEG MPEG : Motion Pictures Experts Group MPEG : ISO Committee Widely Used Video Compression Standard.
Study-Element Based Adaptation of Lecture Videos to Mobile Devices Ganesh Narayana Murthy (M.Tech IIT Bombay) Sridhar Iyer (Associate Professor, IIT Bombay)
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.
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.
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.
Aug 25, 2005 page1 Aug 25, 2005 Integration of Advanced Video/Speech Codecs into AccessGrid National Center for High Performance Computing Speaker: Barz.
Compression of Real-Time Cardiac MRI Video Sequences EE 368B Final Project December 8, 2000 Neal K. Bangerter and Julie C. Sabataitis.
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.
Fast motion estimation and mode decision for H.264 video coding in packet loss environment Li Liu, Xinhua Zhuang Computer Science Department, University.
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.
Study and Performance Comparison of H.264/AVC, Dirac and AVS China Part 7 EE5359 Project Fall 2010 Touseef Khan
Overview of Fine Granularity Scalability in MPEG-4 Video Standard Weiping Li Presented by : Brian Eriksson.
MPEG4 Fine Grained Scalable Multi-Resolution Layered Video Encoding Authors from: University of Georgia Speaker: Chang-Kuan Lin.
Multimedia Computing and Networking Jan Reduced Energy Decoding of MPEG Streams Malena Mesarina, HP Labs/UCLA CS Dept Yoshio Turner, HP Labs.
3GPP2 Evolution Workshop Multimedia Codecs and Protocols 3GPP2 TSG-C SWG1.2.
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.
Blind Quality Assessment System for Multimedia Communications Using Tracing Watermarking P. Campisi, M. Carli, G. Giunta and A. Neri IEEE Transactions.
Saving Bitrate vs. Users: Where is the Break-Even Point in Mobile Video Quality? ACM MM’11 Presenter: Piggy Date:
Instructor : Dr. K. R. Rao Presented by : Vigneshwaran Sivaravindiran
By: Santosh Kumar Muniyappa ( ) Guided by: Dr. K. R. Rao Final Report Multimedia Processing (EE 5359)
Principles of Video Compression Dr. S. M. N. Arosha Senanayake, Senior Member/IEEE Associate Professor in Artificial Intelligence Room No: M2.06
Objective Quality Assessment Metrics for Video Codecs - Sridhar Godavarthy.
CDEEP Lecture Video Adaptation to mobile devices Ganesh Narayana Murthy Guided by: Prof. Sridhar Iyer.
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
Ai-Mei Huang And Truong Nguyen Image processing, 2006 IEEE international conference on Motion vector processing based on residual energy information for.
Introduction to H.264 / AVC Video Coding Standard Multimedia Systems Sharif University of Technology November 2008.
Quality Evaluation and Comparison of SVC Encoders
Early termination for tz search in hevc motion estimation
Video Compression - MPEG
Research Topic Error Concealment Techniques in H.264/AVC for Wireless Video Transmission Vineeth Shetty Kolkeri EE Graduate,UTA.
Image quality measures
Presentation transcript:

Quantitative Comparison of H.264/AVC and VP8 Video Codecs for Video Conferencing Scott Kristjanson CMPT-820 Multimedia Systems Instructor: Dr. Mohamed Hefeeda Dec 2 nd 2010

Scott Kristjanson – CMPT SFU 2 Slide 2 Presentation Overview  Project Overview  Methods  Results  Conclusions  Future Work  References

Scott Kristjanson – CMPT SFU 3 Slide 3 Project Overview Compare Video Codecs for use with Video Conferencing: VP8 – by Google’s WebM project H.264/AVC – used x256 Open Source Codec

Scott Kristjanson – CMPT SFU 4 Slide 4 VP8 Overview Video Codec owned by Google and made open Source WebM Project: Matroska container with VP8 video and Vorbis audio VP8 - Earlier versions VP7 (Skype), VP6 (Flash Video), VP3 (Theora) Key Features: Adaptive Loop Filtering – Identifies Fast/Slow/Static regions and adapts encoding to match for improved quality/performance Golden Frames – for storing reference point to background layer. Can be used for reference without display them. Faster encoding time by avoiding use of Arithemetic VLE (CABAC). Dynamically scales resolution. No need to involve application, encoder decides. No I-frame required as a transition point. Structure: Frame same as H.264, Segment like a Slice Partitions used to separate critical data from video data I-Frame, P-Frames, Golden-Frames, no B-Frames due to Patents For more information, see Google’s “Intro to VP8” slides at:

Scott Kristjanson – CMPT SFU 5 Slide 5 Methods Quantitative Comparison: Invoke encoders/decoders with various presets: Manually from DOS, then use YUV_Compare to compute Y-PSNR ViCoS Codec Comparison utility from MSU – gives ranking only Used sequences foreman and salesman to simulate video conference calls Encode with bit rates 100, 800, 1500 kbps to produce bit rate curves Extract Quantitative Data Y-PSNR – Signal to Noise Ratio for Luminosity Y-SSIM– Structural Simularity Data for Luminosity Encoding Time Frame Rate Bit Rate Qualitative Comparison View original YUV file and encoded/decoded files using YUVviewer Test VP8 in Video Conferencing System to verify Quantitative Data

Scott Kristjanson – CMPT SFU 6 Slide 6 Reference Video Sequences Salesman Ideal choice for simulating video conference Not used since not available in CIF format Tried to convert from.avi to CIF format but ran out of time Foreman Good choice, but with some background movement Used in detailed quantitative analysis Used with Vicos for codec over-all evaluation Mobile Slow motion with detailed cartoon-like background Used with Vicos for codec over-all evaluation Stefan Lots of motion and lots of background detail Used with Vicos for codec over-all evaluation

Scott Kristjanson – CMPT SFU 7 Slide 7 DOS Command Line Testing x264 encode/decode: vp8 encode/decode: Visually compare original video to encoded video with YUV_Viewer

Scott Kristjanson – CMPT SFU 8 Slide 8 Computing Y-PSNR with AviSynth AVS script to read and compare two YUV files: Encoded/Decoded YUV video from DOS command line testing Original YUV video yuv_compare_foreman.avs foreman_yuv_compare.log loadplugin("C:\megui\tools\avisynth_plugin\rawsource.dll") decodedClip = RawSource("C:\foreman_352x288_decoded_vp8.yuv",352, 288, "I420") originalClip = RawSource("C:\foreman_352x288.yuv", 352, 288, "I420") Compare(decodedClip, originalClip, "YUV", "foreman_yuv_compare.log") Mean Max Max Absolute Mean Pos. Neg. Frame Dev. Dev. Dev. Dev. PSNR (dB) …… … … …… Total frames processed: 300 Minimum Average Maximum Mean Absolute Deviation: Mean Deviation: PSNR: Overall PSNR: PSNR

Scott Kristjanson – CMPT SFU 9 Slide 9 MSU’s Video Codecs Scoring System (ViCoS) Allows custom Codecs to be bound in and tested bind in encoders and decoders (x264 and vp8) define encoding and decoding parameters and presets to be tested encodes/decodes test sequences automatically and computes distortion generates relative ranking and relative scores for PSNR and SSIM only Versions: Demo version used – provides ranking scores only Professional version – creates PNSR/SSIM charts automatically

Scott Kristjanson – CMPT SFU 10 Slide 10 Video Quality – Peak Signal to Noise Ratio (Y-PSNR) Bit-Rate/Quality Trade-Off: 100kbps – Poor Quality 800kbps – Acceptible to good 1500kbps – Very Good to Excellent PSNR Ranges: 38+Excellent Very good 34-35Good 26-33Poor 25 or less Garbage

Scott Kristjanson – CMPT SFU 11 Slide 11 Video Quality – Structural Simularity (SSIM) SSIM score under 0.95 is quite noticible: 100kbps – Poor Quality for all codecs (especially x264 Fast Zero-Latency & Ultrafast) 800kbps – most codecs Acceptible to good (except VP8 RT CBR and x264 Ultrafast) 1500kbps – all Very Good (except x264 Ultrafast)

Scott Kristjanson – CMPT SFU 12 Slide 12 Encoder Frame Rates x264 Encoder significantly faster than VP8 for similar Quality

Scott Kristjanson – CMPT SFU 13 Slide 13 Good Codec Presets for Video Conferencing Need min of 15 fps for Video Conferencing, prefer 30 fps Want decent quality – Y-PSNR of 34 or better Low Latency: under 150ms required 4 Presets met these requirements: Codec Preset

Scott Kristjanson – CMPT SFU 14 Slide 14 Conclusion VP8 and x264 provide similar video quality For higher bit rates, x264 PSNR better by 2% For lower rates, VP8 wins by almost 10% x264 provides better performance in some cases x264 is between 36% and up to 2x faster than VP8 A big improvement! VP8 used to be 5-20 times slower!

Scott Kristjanson – CMPT SFU 15 Slide 15 References: [1] Image Quality Assessment: From Error Visibility to Structural Similarity Zhou Wang, Alan Conrad Bovik, Hamid, Rahim Sheikh, and Eero P. Simoncelli IEEE Transactions on Image Processing, Vol 13, No. 4, April [2] [2] 6 th Annual MPEG-4 AVC H.264 video codecs comparison D. Vatolin, D. Kulikov, and A. Parshin, April

Scott Kristjanson – CMPT SFU 16 Slide 16 Backup Slides

Scott Kristjanson – CMPT SFU 17 Slide 17 H.264/AVC Presets Used Codecs tested with various presets and tunings Looking for good balance of quality and speed for video conferencing Each tested with 3 target Encoding bit rates: 100, 800, 1500 kbps x264 Presets: Placebo 2-Pass Slower Encoding Speed, higher quality Fast (tested with 2 tunings) 2-Pass Faster Encoding Speed, good quality 2-Pass tuned with zero latency specified Default 1-pass with default settings Baseline 1-pass fast encoding but poor quality at lower bit rates Ultrafast When speed is all that matters!

Scott Kristjanson – CMPT SFU 18 Slide 18 VP8 Presets Used Best 2-Pass encoding Maximimizes Quality but slower encode times Good 2-Pass 2-Pass encoding, less quality but faster encode times measured with 1, 2, and 4 cpu cores specified Good 1-Pass 1-Pass encoding, less quality but faster encode times Fast VBR 1-Pass variable bit-rate fast encoding RealTime CBR Encoder Frame buffer size 6 with and without deadline specified

Scott Kristjanson – CMPT SFU 19 Slide 19 VP8 Support for MultiCore Processors

Scott Kristjanson – CMPT SFU 20 Slide 20 Encoding Bit Rate vs Target Bit Rate Both Codecs appear to over-run target slightly VP8 tracks to target bit-rate slightly better

Scott Kristjanson – CMPT SFU 21 Slide 21 Video Quality – Structural Simularity (SSIM) SSIM score under 0.95 is quite noticible: 100kbps – Poor Quality for all codecs (especially x264 Fast 0-Latency and Ultrafast) 800kbps – most codecs Acceptible to good (except VP8 RT CBR and x264 Ultrafast) 1500kbps – all Very Good