MPEG-4 AVC/H.264 Video Codecs Comparison Short Version of Report

Total Page:16

File Type:pdf, Size:1020Kb

MPEG-4 AVC/H.264 Video Codecs Comparison Short Version of Report MPEG-4 AVC/H.264 Video Codecs Comparison Short version of report Project head: Dr. Dmitriy Vatolin Measurements, analysis: Dr. Dmitriy Kulikov, Alexander Parshin Codecs: DivX H.264 Elecard H.264 Intel® MediaSDK AVC/H.264 MainConcept H.264 Microsoft Expression Encoder Theora x264 XviD (MPEG-4 ASP codec) April 2010 CS MSU Graphics&Media Lab Video Group http://www.compression.ru/video/codec_comparison/index_en.html [email protected] VIDEO MPEG-4 AVC/H.264 CODECS COMPARISON MOSCOW, APR 2010 CS MSU GRAPHICS & MEDIA LAB VIDEO GROUP SHORT VERSION Contents Contents .................................................................................................................... 2 1 Acknowledgments ............................................................................................. 4 2 Overview ........................................................................................................... 5 2.1 Sequences .....................................................................................................................5 2.2 Codecs ...........................................................................................................................5 2.3 Objectives and Testing Rules ........................................................................................6 2.4 H.264 Codec Testing Objectives ...................................................................................6 2.5 Testing Rules .................................................................................................................6 3 Comparison Results .......................................................................................... 8 3.1 Movies ...........................................................................................................................8 3.1.1 RD Curves ............................................................................................................8 3.1.2 Encoding Speed ................................................................................................. 10 3.1.3 Speed/Quality Trade-Off .................................................................................... 12 3.1.4 Bitrate Handling ................................................................................................. 16 3.1.5 Relative Quality Analysis ................................................................................... 19 3.2 HDTV .......................................................................................................................... 21 3.3 Conclusions ................................................................................................................ 21 3.3.1 Movies ................................................................................................................ 21 3.3.2 HDTV ................................................................................................................. 22 3.3.3 Overall Conclusions ........................................................................................... 23 3.3.4 Codec Conclusions ............................................................................................ 25 3.3.5 Comments from Developers .............................................................................. 25 4 Appendix 1. Subjective Comparison and Psycho-Visual Enhancements ......... 27 4.1 Brief Description ......................................................................................................... 27 4.1.1 SAMVIQ Description .......................................................................................... 27 4.1.2 Subjective Assessment Description ................................................................... 27 4.2 Video Sequences........................................................................................................ 27 4.2.1 “Battle”................................................................................................................ 27 4.2.2 “Football” ............................................................................................................ 28 4.2.3 “Italy” .................................................................................................................. 29 4.2.4 “Quadbike” ......................................................................................................... 29 4.2.5 “Simpsons” ......................................................................................................... 30 4.3 Video Codecs ............................................................................................................. 30 4.4 Results ........................................................................................................................ 31 4.4.1 "Battle" Sequence .............................................................................................. 31 4.5 Conclusion .................................................................................................................. 32 5 Appendix 2. x264 Comparison Over Time ....................................................... 32 6 Appendix 3. Video Codec Analyzers ................................................................ 39 7 Appendix 4. Theora vs. x264 Single-thread Comparison ................................. 40 8 Appendix 5. Test Set of Video Sequences ....................................................... 42 8.1 Movie Sequences ....................................................................................................... 42 8.1.1 “Ice Age”............................................................................................................. 42 8.1.2 “Indiana Jones” .................................................................................................. 43 8.1.3 “State Enemy” .................................................................................................... 44 8.1.4 “Up” .................................................................................................................... 45 8.2 HDTV Sequences ....................................................................................................... 46 http://compression.ru/video/codec_comparison/h264_2010 2 VIDEO MPEG-4 AVC/H.264 CODECS COMPARISON MOSCOW, APR 2010 CS MSU GRAPHICS & MEDIA LAB VIDEO GROUP SHORT VERSION 8.2.1 “Amazon”............................................................................................................ 46 8.2.2 “Iron Man”........................................................................................................... 47 8.2.3 “Mobile Calendar” .............................................................................................. 48 8.2.4 “Troy” .................................................................................................................. 49 9 Appendix 6. Tested Codecs and Presets ......................................................... 50 9.1 Codecs ........................................................................................................................ 50 9.1.1 DivX AVC/H.264 Video Encoder ........................................................................ 50 9.1.2 Elecard AVC Video Encoder 8-bit edition, ......................................................... 51 9.1.3 Intel® MediaSDK AVC/H.264 ............................................................................ 51 9.1.4 MainConcept AVC/H.264 Video Encoder Console Application ......................... 51 9.1.5 Microsoft Expression Encoder 3 ........................................................................ 51 9.1.6 Theora encoder .................................................................................................. 52 9.1.7 x264 ................................................................................................................... 53 9.1.8 XviD raw mpeg4 bitstream encoder ................................................................... 53 9.2 Presets ........................................................................................................................ 54 10 Appendix 7. Figures Explanation ..................................................................... 61 10.2 Bitrates Ratio with the Same Quality ...................................................................... 62 10.3 Relative Codec Encoding Time Computation ........................................................ 63 11 Appendix 7. Objective Quality Metrics Description ........................................... 64 11.1 SSIM (Structural SIMilarity) .................................................................................... 64 11.1.1 Brief Description ............................................................................................ 64 11.1.2 Examples ....................................................................................................... 65 11.2 PSNR (Peak Signal-to-Noise Ratio) ....................................................................... 67 11.2.1 Brief Description ............................................................................................ 67 11.2.2 Examples ....................................................................................................... 68 12 List of Figures .................................................................................................. 71 13 About the Graphics & Media Lab Video Group ................................................ 73 http://compression.ru/video/codec_comparison/h264_2010 3 VIDEO MPEG-4 AVC/H.264
Recommended publications
  • Faasoft Video Converter Full Version Free Download Faasoft Video Converter Free Download
    faasoft video converter full version free download Faasoft Video Converter Free Download. Faasoft Video Converter Free Download Latest Version for Windows. It is full offline installer standalone setup of Faasoft Video Converter. FAASOFT VIDEO CONVERTER Overview. Faasoft Video Converter helps you fast convert between various video files to enjoy your favorite movie or music video on portable device, mobile phone, mp4 player, personal computer, television so on with ease. The amazing video converter is not only an easy-to-use movie conversion tool but also a powerful audio converter which can convert between audio files like MP3, APE, AAC, AC3, WAV, WMA, etc. Moreover, it can extract audio from video and music video by only a few clicks.Faasoft Video Converter supports playback on a great variety of digital devices including iPod, iPad, iPhone, BlackBerry, Apple TV, Zune, PSP, PS3, Pocket PC, Creative Zen, Xbox, Archos and so on.You can also download Aimersoft Video Converter Ultimate. The versatile video conversion tool can adjust video effects like video cut, trim, crop, merge, clip and so on to meet all your different needs. Lavasoft Video Converter’s functionality should be obvious, due to its name. It lets you convert video files between numerous formats, with various quality settings. The software places many useful tools at your disposal, which give you other possibilities, besides converting. Also, the program works quite fast and it is capable of processing multiple files at the same time. You can try Lavasoft Video Converter free of charge, but for a limited period of time. Downloading and installing the software shouldn’t take more than a minute, due to the small size of the setup file.
    [Show full text]
  • Download Media Player Codec Pack Version 4.1 Media Player Codec Pack
    download media player codec pack version 4.1 Media Player Codec Pack. Description: In Microsoft Windows 10 it is not possible to set all file associations using an installer. Microsoft chose to block changes of file associations with the introduction of their Zune players. Third party codecs are also blocked in some instances, preventing some files from playing in the Zune players. A simple workaround for this problem is to switch playback of video and music files to Windows Media Player manually. In start menu click on the "Settings". In the "Windows Settings" window click on "System". On the "System" pane click on "Default apps". On the "Choose default applications" pane click on "Films & TV" under "Video Player". On the "Choose an application" pop up menu click on "Windows Media Player" to set Windows Media Player as the default player for video files. Footnote: The same method can be used to apply file associations for music, by simply clicking on "Groove Music" under "Media Player" instead of changing Video Player in step 4. Media Player Codec Pack Plus. Codec's Explained: A codec is a piece of software on either a device or computer capable of encoding and/or decoding video and/or audio data from files, streams and broadcasts. The word Codec is a portmanteau of ' co mpressor- dec ompressor' Compression types that you will be able to play include: x264 | x265 | h.265 | HEVC | 10bit x265 | 10bit x264 | AVCHD | AVC DivX | XviD | MP4 | MPEG4 | MPEG2 and many more. File types you will be able to play include: .bdmv | .evo | .hevc | .mkv | .avi | .flv | .webm | .mp4 | .m4v | .m4a | .ts | .ogm .ac3 | .dts | .alac | .flac | .ape | .aac | .ogg | .ofr | .mpc | .3gp and many more.
    [Show full text]
  • Encoding H.264 Video for Streaming and Progressive Download
    What is Tuning? • Disable features that: • Improve subjective video quality but • Degrade objective scores • Example: adaptive quantization – changes bit allocation over frame depending upon complexity • Improves visual quality • Looks like “error” to metrics like PSNR/VMAF What is Tuning? • Switches in encoding string that enables tuning (and disables these features) ffmpeg –input.mp4 –c:v libx264 –tune psnr output.mp4 • With x264, this disables adaptive quantization and psychovisual optimizations Why So Important • Major point of contention: • “If you’re running a test with x264 or x265, and you wish to publish PSNR or SSIM scores, you MUST use –tune PSNR or –tune SSIM, or your results will be completely invalid.” • http://x265.org/compare-video-encoders/ • Absolutely critical when comparing codecs because some may or may not enable these adjustments • You don’t have to tune in your tests; but you should address the issue and explain why you either did or didn’t Does Impact Scores • 3 mbps football (high motion, lots of detail) • PSNR • No tuning – 32.00 dB • Tuning – 32.58 dB • .58 dB • VMAF • No tuning – 71.79 • Tuning – 75.01 • Difference – over 3 VMAF points • 6 is JND, so not a huge deal • But if inconsistent between test parameters, could incorrectly show one codec (or encoding configuration) as better than the other VQMT VMAF Graph Red – tuned Green – not tuned Multiple frames with 3-4-point differentials Downward spikes represent untuned frames that metric perceives as having lower quality Tuned Not tuned Observations • Tuning
    [Show full text]
  • Blackberry QNX Multimedia Suite
    PRODUCT BRIEF QNX Multimedia Suite The QNX Multimedia Suite is a comprehensive collection of media technology that has evolved over the years to keep pace with the latest media requirements of current-day embedded systems. Proven in tens of millions of automotive infotainment head units, the suite enables media-rich, high-quality playback, encoding and streaming of audio and video content. The multimedia suite comprises a modular, highly-scalable architecture that enables building high value, customized solutions that range from simple media players to networked systems in the car. The suite is optimized to leverage system-on-chip (SoC) video acceleration, in addition to supporting OpenMAX AL, an industry open standard API for application-level access to a device’s audio, video and imaging capabilities. Overview Consumer’s demand for multimedia has fueled an anywhere- o QNX SDK for Smartphone Connectivity (with support for Apple anytime paradigm, making multimedia ubiquitous in embedded CarPlay and Android Auto) systems. More and more embedded applications have require- o Qt distributions for QNX SDP 7 ments for audio, video and communication processing capabilities. For example, an infotainment system’s media player enables o QNX CAR Platform for Infotainment playback of content, stored either on-board or accessed from an • Support for a variety of external media stores external drive, mobile device or streamed over IP via a browser. Increasingly, these systems also have streaming requirements for Features at a Glance distributing content across a network, for instance from a head Multimedia Playback unit to the digital instrument cluster or rear seat entertainment units. Multimedia is also becoming pervasive in other markets, • Software-based audio CODECs such as medical, industrial, and whitegoods where user interfaces • Hardware accelerated video CODECs are increasingly providing users with a rich media experience.
    [Show full text]
  • Video Codec Set-Up
    Quintic Software Tutorial 5 Video Codecs Contents Page 1. Video Codecs 2. Vista Codec Pack Install Instructions 3. Xvid Video Codec Installation 4. XP Backwards Compatibility Video Utility (Only for Vista Users) 1. Video Codecs A video codec is a device or software that enables video compression and/or decompression for digital video. There is a complex balance between the video quality, the quantity of the data needed to represent it (also known as the bit rate), the complexity of the encoding and decoding algorithms, robustness to data losses and errors, ease of editing, random access, the state of the art of compression algorithm design, end-to-end delay, and a number of other factors. Quintic currently recommend using the following codecs for use with all levels of Quintic software: - Vista Video Codec Package - Xvid MPEG 4 Video Codec Package - XP Backwards compatibility Video utility (Only use if trying to play XP captured videos on a Vista/7/8 operating system) All of these codecs / video utilities can be downloaded from: http://www.quintic.com/downloads/system_tools.htm Installing the recommended codecs provides your system with specific instructions on how to compress and decompress videos. Once you've installed the codecs on your system you will be able to play the videos within the Quintic Video Analysis software player. 2. Vista Codec Pack Install Instructions The Vista codec Package is a collection of codec’s (audio and video), that make it possible to open the majority of the formats existing multimedia’s (Xvid, Windows video media 9, FFDShow, ogg and ac-3 acm).
    [Show full text]
  • (A/V Codecs) REDCODE RAW (.R3D) ARRIRAW
    What is a Codec? Codec is a portmanteau of either "Compressor-Decompressor" or "Coder-Decoder," which describes a device or program capable of performing transformations on a data stream or signal. Codecs encode a stream or signal for transmission, storage or encryption and decode it for viewing or editing. Codecs are often used in videoconferencing and streaming media solutions. A video codec converts analog video signals from a video camera into digital signals for transmission. It then converts the digital signals back to analog for display. An audio codec converts analog audio signals from a microphone into digital signals for transmission. It then converts the digital signals back to analog for playing. The raw encoded form of audio and video data is often called essence, to distinguish it from the metadata information that together make up the information content of the stream and any "wrapper" data that is then added to aid access to or improve the robustness of the stream. Most codecs are lossy, in order to get a reasonably small file size. There are lossless codecs as well, but for most purposes the almost imperceptible increase in quality is not worth the considerable increase in data size. The main exception is if the data will undergo more processing in the future, in which case the repeated lossy encoding would damage the eventual quality too much. Many multimedia data streams need to contain both audio and video data, and often some form of metadata that permits synchronization of the audio and video. Each of these three streams may be handled by different programs, processes, or hardware; but for the multimedia data stream to be useful in stored or transmitted form, they must be encapsulated together in a container format.
    [Show full text]
  • Xvid Video Codec Required to Play Media
    Xvid Video Codec Required To Play Media Inimitable and crushed Josephus reframe almost appellatively, though Hansel pressuring his thuggery extravagate. Unentertaining Aldo Graecise no beanpoles neigh spryly after Ernesto tunneling socially, quite coagulated. Antidepressant and premium Austin never moil same when Phineas squilgeed his curatorships. To investigate our media codec to xvid video codecs from the startup items, but hard drive or audio restrictions, none that got damaged It plays without any surprise charges may install anything from the best video formats and images and resort to identify it allows users try to play xvid. Xvid Plus Codec Pack Latest Version! Convert audio files between various audio formats, and defrag hard meal to rock such errors in more future. Xvid is unique Software and published under the GNU GPL license. Excellent media codec videos that plays in xvid. Now somewhat will apply what a quantizer is. Using a new startup items that you are great media codec to xvid video codec collects information about. Should be required codec is media. How to the installer suggests you again for the software is very start the popular video cameras that your file download the hardware decoding aac? With codecs to. To broadcast these items in the Player, the codec collects information about the dusk of movement and objects, such use on Amazon or other sites. Blemish remover lets you to xvid videos with our work with. Your browser sent an invalid request. Mkv metadata is a desktop publishing environment with the source software with xvid video codec required to play media player features in violation of.
    [Show full text]
  • EMA Mezzanine File Creation Specification and Best Practices Version 1.0.1 For
    16530 Ventura Blvd., Suite 400 Encino, CA 91436 818.385.1500 www.entmerch.org EMA Mezzanine File Creation Specification and Best Practices Version 1.0.1 for Digital Audio‐Visual Distribution January 7, 2014 EMA MEZZANINE FILE CREATION SPECIFICATION AND BEST PRACTICES The Mezzanine File Working Group of EMA’s Digital Supply Chain Committee developed the attached recommended Mezzanine File Specification and Best Practices. Why is the Specification and Best Practices document needed? At the request of their customers, content providers and post‐house have been creating mezzanine files unique to each of their retail partners. This causes unnecessary costs in the supply chain and constrains the flow of new content. There is a demand to make more content available for digital distribution more quickly. Sales are lost if content isn’t available to be merchandised. Today’s ecosystem is too manual. Standardization will facilitate automation, reducing costs and increasing speed. Quality control issues slow down today’s processes. Creating one standard mezzanine file instead of many files for the same content should reduce the quantity of errors. And, when an error does occur and is caught by a single customer, it can be corrected for all retailers/distributors. Mezzanine File Working Group Participants in the Mezzanine File Working Group were: Amazon – Ben Waggoner, Ryan Wernet Dish – Timothy Loveridge Google – Bill Kotzman, Doug Stallard Microsoft – Andy Rosen Netflix – Steven Kang , Nick Levin, Chris Fetner Redbox Instant – Joe Ambeault Rovi
    [Show full text]
  • On Engagement with ICT Standards and Their Implementations in Open Source Software Projects: Experiences and Insights from the Multimedia Field
    International Journal of Standardization Research Volume 19 • Issue 1 On Engagement With ICT Standards and Their Implementations in Open Source Software Projects: Experiences and Insights From the Multimedia Field Jonas Gamalielsson, University of Skövde, Sweden Björn Lundell, University of Skövde, Sweden ABSTRACT The overarching goal in this paper is to investigate organisational engagement with an ICT standard and open source software (OSS) projects that implement the standard, with a specific focus on the multimedia field, which is relevant in light of the wide deployment of standards and different legal challenges in this field. The first part reports on experiences and insights from engagement with standards in the multimedia field and from implementation of such standards in OSS projects. The second part focuses on the case of the ITU-T H.264 standard and the two OSS projects OpenH264 and x264 that implement the standard, and reports on a characterisation of organisations that engage with and control the H.264 standard, and organisations that engage with and control OSS projects implementing the H.264 standard. Further, projects for standardisation and implementation of H.264 are contrasted with respect to mix of contributing organisations, and findings are related to organisational strategies of contributing organisations and previous research. KEywordS AVC, H.264, Involvement, ISO, ITU-T, OpenH264, Participation, x264 1 INTROdUCTION There are a number of different challenges related to provision of standards in the software sector, that can impact on the extent to which it is possible to faithfully implement the specification of a standard in software systems (Blind and Böhm, 2019; Gamalielsson and Lundell, 2013; Lundell et al., 2019; UK, 2015).
    [Show full text]
  • Codec Is a Portmanteau of Either
    What is a Codec? Codec is a portmanteau of either "Compressor-Decompressor" or "Coder-Decoder," which describes a device or program capable of performing transformations on a data stream or signal. Codecs encode a stream or signal for transmission, storage or encryption and decode it for viewing or editing. Codecs are often used in videoconferencing and streaming media solutions. A video codec converts analog video signals from a video camera into digital signals for transmission. It then converts the digital signals back to analog for display. An audio codec converts analog audio signals from a microphone into digital signals for transmission. It then converts the digital signals back to analog for playing. The raw encoded form of audio and video data is often called essence, to distinguish it from the metadata information that together make up the information content of the stream and any "wrapper" data that is then added to aid access to or improve the robustness of the stream. Most codecs are lossy, in order to get a reasonably small file size. There are lossless codecs as well, but for most purposes the almost imperceptible increase in quality is not worth the considerable increase in data size. The main exception is if the data will undergo more processing in the future, in which case the repeated lossy encoding would damage the eventual quality too much. Many multimedia data streams need to contain both audio and video data, and often some form of metadata that permits synchronization of the audio and video. Each of these three streams may be handled by different programs, processes, or hardware; but for the multimedia data stream to be useful in stored or transmitted form, they must be encapsulated together in a container format.
    [Show full text]
  • Video Compression Tools Video Compression Tools
    Video Compression Tools Video Compression Tools Douglas Dixon Manifest Technology® LLC May 2005 www.manifest-tech.com 5/2005 Copyright 2001-2005 Douglas Dixon, All Rights Reserved - www.manifest-tech.com Page 1 Video Compression Tools Automated Video Processing Tools Video Compression and Conversion • Video Processing Canopus – Video compression and conversion ProCoder – Automated batch processing • Processing Steps Discreet cleaner – Select source files – Define video and audio pre-processing – Define target formats and compression – Select target locations and filters Sorenson – Convert, compress, output Squeeze 5/2005 Copyright 2001-2005 Douglas Dixon, All Rights Reserved - www.manifest-tech.com Page 2 1 Video Compression Tools Video Compression Tools Video Editing to Compression Tools • Consumer Video Editors – Automated, w/ DVD – $50 - $150 • Format-Specific – Clips: Capture, organize, export – Downloads – Apple iMovie, Windows Movie Maker – QuickTime Player Pro, $29 – Adobe Premiere Elements – Win Media Encoder – Sony Vegas Movie Studio – RealProducer, Plus $199 – Pinnacle Studio – Roxio VideoWave, Ulead VideoStudio • Video Processing – Batch compression • Professional Video Editors – $500 - $600 – Compositing, motion, effects – Sorenson Squeeze – Projects – $300 - $1700 – Canopus ProCoder – Apple Final Cut Pro – Discreet cleaner – Adobe Premiere Pro, Sony Vegas – Avid Xpress, Pinnacle Edition – Ulead MediaStudio Pro 5/2005 Copyright 2001-2005 Douglas Dixon, All Rights Reserved - www.manifest-tech.com Page 3 Video Compression Tools QuickTime Player Pro 5/2005 Copyright 2001-2005 Douglas Dixon, All Rights Reserved - www.manifest-tech.com Page 4 2 Video Compression Tools Windows Media Encoder 5/2005 Copyright 2001-2005 Douglas Dixon, All Rights Reserved - www.manifest-tech.com Page 5 Video Compression Tools Automated Video Processing Individuals and Workgroups • Sorenson Squeeze – Squeeze 4 (4.1) - Aug.
    [Show full text]
  • Format Support
    Episode 6 Format Support FILE FORMAT CODEC Episode Episode Episode Pro EngineCOMMENTS Adaptive bitrate streaming Microsoft Smooth Streaming H.264 (AAC audio) O Windows OS only. Available with Episode Engine License. Apple HLS H.264 (AAC audio) O Available with Episode Engine License. Windows Media WMV, ASF VC-1 O O O WM9 I/O I/O I/O WMV7 and 8 through F4M component on Mac WMA I/O I/O I/O WMA Pro I/O I/O I/O Flash FLV Flash 8 (VP6s/VP6e) I/O I/O I/O SWF Flash 8 (VP6s/VP6e) I/O I/O I/O MOV/MP4/F4V Flash 9 (H.264) I/O I/O I/O F4V as extension to MP4 WebM WebM VP8 O O O Vorbis O O O 3GPP 3GPP AAC I/O I/O I/O H.263 I/O I/O I/O H.264 I/O I/O I/O MainConcept and x264 MPEG-4 I/O I/O I/O 3GPP2 3GPP2 AAC I/O I/O I/O H.263 I/O I/O I/O H.264 I/O I/O I/O MainConcept and x264 MPEG-4 I/O I/O I/O MPEG Elementary Streams MPEG-1 Elementary Stream MPEG-1 (video) I/O I/O I/O MPEG-2 Elementary Stream MPEG-2 I/O I/O I/O MPEG Program Streams PS AAC O O O MainConcept and x264 H.264 I/O I/O I/O MPEG-1/2 (audio) I/O I/O I/O MPEG-2 I/O I/O I/O MPEG-4 I/O I/O I/O MPEG Transport Streams TS AAC I O O AES I I/O I/O H.264 I I/O I/O MainConcept and x264 AVCHD I I I HDV I I/O I/O MPEG - 1/2 (audio) I I/O I/O MPEG - 2 I I/O I/O MPEG - 4 I I/O I/O PCM I I I Matrox MAX H.264 I/O I/O I/O QT codec (*output possible via QT), Requires Matrox MAX hardware - Mac OS X only MPEG System Streams M1A MPEG-1 (audio) I/O I/O I/O M1V MPEG-1 (audio) I/O I/O I/O Episode 6 Format Support Format Support FILE FORMAT CODEC Episode Episode Episode Pro EngineCOMMENTS MPEG-4 MP4 AAC I/O I/O I/O
    [Show full text]