Skip to main content

H.265 HEVC and H.264, Understanding the Difference

 H.265 HEVC and H.264


The Goal of this article is to help you understand some of the new technology that is having a direct affect on Movie Quality and Streaming on your device. One in particular is the new Compression Format called H.265 or HEVC. What the on earth is that you ask ? Here’s some background that will help you understand, without getting to “techie”….. I hope.

What is H.265 aka HEVC.


HEVC (High Efficiency Video Coding, sometimes called H.265) is a new video compression format and is the successor of H.264. It was formalized on the 25th of November 2013 and published as ISO/IEC 23008-2:2013. An open source HEVC decoder and encoder (x265) has been developed and is widely adopted.
High Efficiency Video Coding (HEVC), also known as H.265, promises twice the compression possible with Blu-ray’s best video compression methods. But how does it work, and is it enough to get us better-looking 4K content?

HVEC vs H.264


A technical comparison (with thanks Ana Rodrigues) : Both codecs work by comparing different parts of a video frame in order to find the ones that are redundant within the subsequent frames. These areas are replaced with a short information, describing the original pixels. What differs HEVC/H.265 from H.264 is the ability to expand the size of these areas into bigger or smaller blocks, called coding tree units (CTU) in the HEVC/H.265.
  • The pattern CTU sizes can be from 4×4 to 64×64, whilst H.264 only allows a maximum block-size of 16×16 (CTU is particular feature of HEVC).

  • An improved CTU segmentation, as well as a better motion compensation and spatial prediction require much more signal processing capability for video compression. But has a significantly less impact on the amount of computation needed for decompression.

  • Motion compensated prediction, another great progress in HEVC/H.265, references blocks of pixels to another area in the same frame (intra prediction) or in another frame (inter prediction).

H.264


So how does all of this affect you the end user? Lets show you some examples of H.264 v H.265.
The following was done on a Clean version of Krypton (no build) Movies were Blade Runner 2017 & Star Trek Into Darkness. The device was a PC with W/10 in order to create these screenshots.

hevc

Once you have selected the media file and depending on what Fork of Kodi you have installed, you should be able to see some of the basic bits of Information relating to the File. The “Kato” Fork of Kodi Krypton for Windows was used for this article.
  • As shown above, you can see the the Audio is 5.1

  •  DTS (Digital Theater Systems)

  •  ratio of 2:40:1

  • and the Compression of H.264 ( or MPEG-4 part 10)

Letter O


hevc

To achieve the screen above, Select the Letter O on the keyboard while the movie is playing as shown in the photo above. There are Four areas of Information that are of interest. For this article we will focus on those indicated by the Red Dot.
  1. Video decoder-ff.h.264

  2. Video stream– 1920 x 800 px (resolution) 2.40 ar (Average Video Rate) 23.976 FPS (Frames per second)

  3. Audio streamFL, (front left) FR, (front right) FC, (front center) LFE, (low frequency effect or Sub Woofer) SL, (surround left) SR, (surround right).

  4. System CPU usage– Probably one of the most important bit of information shown that many overlook. The higher the % the higher the load is on the device, this is a direct cause of buffering/stuttering/freezing. One way to ease this load is to use the Advanced Wizard Settings in Ares Wizard. Enable the recommended settings suggested by the Wizard based on the specs of the device you have it installed in. Keep in mind these settings will differ from one device to another, eg. a PC will have different recommendations than say an Android Box or a FireStick.


 



 

CTRL + shift + Letter O


hevc

There is another Option while viewing a Movie. At the same time press CTRL + shift + Letter O on the keyboard. This information will always appear in the top left corner of the screen :
  1. aq 99%- (Audio Queue saturation) Kb/s 1474.29 (current audio bitrate reported by player)

  2. vq 99%- (Video Queue saturation) Mb/s 3.89 (current video bitrate reported by player) fr:23.976- (frame rate) drop: 0, skip:3 (three frames have been skipped)

  3. Player: a/v :0.017 (Audio/video sync difference real time)

H.265 HEVC


 

hevc

Now lets compare H.264 with H.265. While at first glance both versions appear to be the same, there are some very important figures that will stand out as we move along.
  • Audio is 7.1

  • AAC (advanced audio coding. comparable to MP3, but much better)

  • 1:78:1 ratio

  • H.265 or HEVC (High Efficiency Video Coding)

Letter O


hevc

Just like the other example used, once your movie has started, click the Letter O to acquire the information shown above.
  1. Video decoder : indicates ff-hevc (SW)

  2. Video Stream :  3840 x 2160 px which is 4 times 1080p or True 4K Resolution.  Most noteworthy is the Video stream shown in the H.264 example, 1920 x 800. Wait a second you say ! I thought I was viewing a 4K stream. This was not done intentionally on my part but felt it was important to include. What has happened is you have selected a stream that is “Up-scaled” 1080p. All of this really only matters if you have a 4K Resolution TV Set. But on a “regular” TV there isn’t much of a difference in the quality.

  3. Audio Stream :  Because this is  7.1, compared to the other example there are two more channels added. BL ( back left) and BR (back right). Unless you have a Surround Sound Home Theater Movie System, there’s not to much to get excited about….. But if you do ! It does make a difference.

CTRL + shift + Letter O


hevc

This is where it gets interesting, especially relevant are the :
  • aq 99%- (Audio Queue saturation) Kb/s 270.47 (current audio bitrate reported by player) Compared to the H.264 of  1474.29.

  • vq 99%- (Video Queue saturation) Mb/s 1.26 (current video bitrate reported by player) Compared to the H.264 of  3.89.

hevc

In Conclusion


H.265 will soon be the dominant Compression Standard in the industry. A simple analogy is to imagine you have a Bushel of Apples. You need to fit 100 apples inside. You can do it with more compression (reducing the apples to sauce), or with better compression (finding a better way to make them all fit, but preserving their “appleness”).
More compression: applesauce (H.264)
Better compression: more apples, same space (H.265)

As data-intensive as HD is, 4K is even worse. While most of us were just getting used to the idea of H.264’s advantages over MPEG-2 on Blu-ray, the Motion Picture Experts Group and the International Telecommunication Union’s Telecommunication Standardization Sector (ITU-T) were already starting work on the next generation of video compression, with an eye on the future.
So the next time you have issues with Streaming, make sure the Compression is not H.265, your device may only be designed for H.264. Nothing wrong with Kodi, the Add-on or the Build. Just change to a source that has H.264, most have that information listed and it’s easy to read.

I hope you have enjoyed this Blog as much as I have in creating it. Please join us in the Ares Project Forum where you can ask more about this topic and many more. It’s free to Join and our staff are always there to help in a drama and bully free Forum.

Comments

Trending Posts...

Using TMDb and Alluc API Codes in Kodi Add-ons

Using TMDb / Alluc Codes Together Before explaining how to link your TMDb api code with Alluc code, why does anyone need the code ? When the Add-on Elysium became the “go to” add-on as an alternative to Covenant, the Devs added the api Code. Consequently TMDb began cancelling each new api code generated by the Developers as it was viewed as “abuse of the code”.  As a result the Developers spent more time generating a new code instead of improving the add-on itself. The Solution was to allow each user to generate their own personal IMDb Api code and enter it themselves. Generating your own TMDb Code While other groups were providing a solution, Ares Project Forum had taken it a step further by providing a Blog that gave a more detailed method that others had missed. In addition to generating a TMDb code, you will also need a Alluc code. This can be found by following this link . Add-ons Currently Utilizing both Codes The above list will be updated as ...

WiFi Settings & Tweaks for Kodi

I thought I’d cover the one of the most talked about issues in the world of streaming and thats WiFi and how to get the best out of it, practical measures and not some of the voodoo you read on some forums! What is WIFi? The term Wi-Fi refers specifically to the IEEE 802.11 set of standards for wireless networks. Several different standards are designated by a letter suffix on the 802.11, such as in 802.11g or 802.11n. In general all of the 802.11 standards operate on either a 2.4GHz or 5GHz radio frequency. 5GHz has much greater speed capability but a reduced range; generally speaking the lower a frequency the further it will travel, so don’t expect miracles if you switch to 5GHz. A key thing to note here is that if ANY device uses the older “b” standard then ALL devices *could* have their speed reduced to 11mbps on “g” networks, depending on your router. This really applies to older equipment or cheap equipment with old parts used in it *cough* t...

Updating Your Add-ons and Repositories in Kodi

Updating Add-ons / Repositories Updating your list of Add-ons and Repositories is the best way to ensure Kodi is functioning properly. Rather than checking, many newcomers think it’s better to just Uninstall the Add-on/Repo and reinstall it again. Totally unnecessary for many reasons. Consider this, if your vehicle runs out of fuel, would you replace it with another of the same make and model ? Of course not, you would find a way to fill it with fuel and carry on. Therefore, updating the Add-ons/Repos is like refueling your vehicle. This is another topic in our continuing effort to help the newcomers/beginners to the world of Kodi. You can view many more Blogs on a wide assortment of helpful topics here at Ares-Project Blog . Updating Repositories Rather than send an update for a single add-on that may be in a repo, the Dev will send one for the entire repo. It faster, more convenient and above all it saves time. Yet how do you know if your repo is up to date? Here are two exampl...

Utilizing Alluc.ee in Add-ons for Kodi

This article will show you how to take advantage of the benefits of using a Alluc.ee Account in the Kodi Add-ons Elysium, Placenta, Death Streams and Rebirth. These are just some of the many add-ons for Movies and TV Shows available and are quite easy to navigate. What is Alluc.ee? First off, let’s take a look at what Alluc.ee is about.  Here is a brief description of Alluc.ee  and how you can take advantage of what it has to offer: “Alluc.ee (pronounced: “all-you-see”) is a user-generated link-sharing-website that catalogs links to TV shows, movies, music videos, sport, anime and cartoons. Alluc does not host any content itself. Alluc.ee also does not contain any download links, all are links to streaming video sharing websites. Users provide the links in the right category and they are released to the site after having been checked by the administrators. Video hosting sites that are linked include YouTube, Dailymotion, and Veoh, among others....

Kodi Dlna Client and Server Setup for Krypton

What is Dlna ? WHAT IS DLNA? The term DLNA stands for “Digital Living Network Alliance”. It is the industry standard for sharing network data combined with “Universal Plug and Play Audio Visual(UPnP). This option can be used to share your media libraries from one device to another. If you have a PC or Kodi Box for your Tv, you can share its media contents.  Other Smart TVs, Game Consoles, Phones, etc. to name a few. It is recommended that you backup Kodi before continuing in case you wish to restore your Kodi settings at a later date. A Kodi UPnP server/media can stream its content to other devices on the same network by using UPnP and DLNA protocols. HOW TO ENABLE DLNA ON KODI? For this article, I used a clean version of Krypton 17.6. If you are using a Build, this is typically found by selecting System, then System again. Lets begin: After opening Kodi, select the Cog Icon found in the top left corner. Then Select Service Settings top row far right in...