Guide to HEVC/H.265 Encoding and Playback: A better, more efficient format

Scorpus

Posts: 2,162   +239
Staff member

For years, H.264 has been the go-to video compression standard. Whenever you download a film or TV show, watch a Blu-ray, view HDTV broadcasts, or stream something from various sites and services, there’s a very good chance the video stream you’re watching has been encoded with H.264.

While H.264 is doing a pretty good job of delivering compressed videos to users, and it’s supported by essentially every video playback device out there, there’s a better standard out there that offers similar quality at even smaller file sizes. The standard is called HEVC, or High Efficiency Video Codec, and it first appeared in 2013 as a true successor to H.264. For this reason, HEVC is also known as H.265, or MPEG-H Part 2.

HEVC’s main advantage over H.264 is that it offers roughly double the compression ratio for the same quality. This means that a video file encoded with HEVC can occupy half the space of its H.264 equivalent with no noticeable change in quality, or the same amount of space with improved quality. Sounds pretty good, right?

Read the complete article.

 
Impressive article, although I wish you also tested VP9. HEVC seems to have no future due to expensive royalties and a variety of patents. It might be good for personal compression, but its adoption on the internet is really poor.

Agreed. It would be amazing if it was opensource.
 
Impressive article, although I wish you also tested VP9. HEVC seems to have no future due to expensive royalties and a variety of patents. It might be good for personal compression, but its adoption on the internet is really poor.

That could make an interesting follow up article for sure, I was already looking into it but it would have been a fair bit more work to include another codec in this article. Also, at this stage VP9 is even less supported than HEVC.
 
I found NVENC neat. The quality difference wasn't as big a difference negatively as I expected, so I've started to use it for TVs and things I don't watch up close on my monitor.

The amount of time saved with it though is a lot which I didn't expect.
 
Why (HE)AAC?, Opus is far superior and will play in 80% of players, including mpc-be, vlc, mplayer, mpv, ffplay, gnome-mplayer, parole, its also in opera, firefox, chrome, and will show up in edge when m$ gets their webm act together (opus is mandatory for webm support)

if you want to have highest audio fidelity then flac is the only option
 
Looking at the final image quality of the HVEC vs. the H264 anyone can easily see the difference in quality. This is just another review that seems to solidify the idea that I must keep all my video in the older format.

The new HVEC simply looks terrible in comparison.
 
Looking at the final image quality of the HVEC vs. the H264 anyone can easily see the difference in quality. This is just another review that seems to solidify the idea that I must keep all my video in the older format.

The new HVEC simply looks terrible in comparison.

Terrible might be an overstatement but yes I can see a difference even with my old eyes. The author did point out that getting bigger hard drives might be cheaper but this is certainly and alternative for people not so concerned about absolute high quality output more than space savings.
 
Terrible might be an overstatement but yes I can see a difference even with my old eyes. The author did point out that getting bigger hard drives might be cheaper but this is certainly and alternative for people not so concerned about absolute high quality output more than space savings.

I have to say I standby my terrible comment, at least for me. I say this because I have a Epson Pro projector and the difference of these screen shots on a 120" diagonal screen is considerable. Now it is true that I may not care what my TV shows look like but my GOT and movies have to look and sound good.

Interestingly you brought up a good point though... hard drives are relatively inexpensive... even if I am at the point when I need to start buying WD RED/NAS 6tB drives to replace the 4x3tB ones I have now for my Plex server.

After awhile this does get expensive, I wish the HVEC codec quality was much, much better!
 
Both HEVC/H.265 and VP9 should be featured on 2016 new 4k tvs. now I am quoting from http://www.fudzilla.com/news/graphics/39674-mediatek-showcases-world-s-first-android-tv-6-0 :
MediaTek MT5596 quad core Cortex A53 cased SoC supports both HEVC and VP9 Ultra HD codecs and 10-bit video decoder. The SoC can decode Quad Full HD 60 fps video streams which can be handy if you decide to record multiple channels via a DVR feature.
The new 64-bit SoC supports High Dynamic Range (HDR) a feature that just became available via an update on Sony’s X9005C and X850 range of 4K Android TV 5.1 smart TVs. Last but not least the SoC supports Super Resolution and ClearMotion PQ technology.
unquoting, I love mtk a53 socs. I got one in my android tablet and it is out of this world...
 
With my wifi, full-rate blu over the LAN is impossible, so 264 has worked well - if a still HQ at lower bitrate from x265 handbrake, I would be interested, as 2-3GB/hr is pressing it over My wifi, particularly because all my subs Must be burned for the Bone.. tried it at CQ20 AAC 256 med burn subs -- 6 Hours per hour of encode on my i5.. oh well.
Considering a skylake i7 replacement, will be interested to see what encode speed improvement it can offer..
 
Looking at the final image quality of the HVEC vs. the H264 anyone can easily see the difference in quality. This is just another review that seems to solidify the idea that I must keep all my video in the older format.

The new HVEC simply looks terrible in comparison.

The don't encode it at the medium settng gives you half the bitrate?

@Tim, what bitrate does h.265 match/exceed the quality of your custom h.264 profile.
 
Looking at the final image quality of the HVEC vs. the H264 anyone can easily see the difference in quality. This is just another review that seems to solidify the idea that I must keep all my video in the older format.

The new HVEC simply looks terrible in comparison.

The don't encode it at the medium settng gives you half the bitrate?

@Tim, what bitrate does h.265 match/exceed the quality of your custom h.264 profile.

Medium actually tends to deliver under half the bitrate of my custom H.264 profile, in the range of 1,100 kbps vs 2,700 kbps at 1080p. If you bring HEVC up to the 1,300 kbps mark, which can be achieved simply by increasing the QF from 23 to 22 or 21, it's very similar.

The reason why I didn't do this is that, at least to my eyes, the differences at the same QF between the profiles is very small. It's even smaller when viewing the actual videos because you simply don't have time to examine fine detail in every frame.

Of course another option is play around with two-pass VBR encoding, which is time consuming but can deliver great results
 
@Tim, what bitrate does h.265 match/exceed the quality of your custom h.264 profile.[/QUOTE]

Great question thank you. And thank you for the answer!
 
And the theres laptops with nvidia optimus (850m)+i7 4710hq or simular that cant seem to do anything on chrome while watching youtube and checking something as pedestrian as outlook.com
even when the nvidia gpu handles the most processing as the igpu seems to fail at anything beside doing one task (game) or show powerpoint slides vs encoding video and browsing the web at the same time
when my desktop did fine with anything from a gtx560 to a gt730 to a gtx 980 ti and a i7 2600
practically does it in its sleep while running an extra monitor
 
Hello ;
I notice a significant loss of details on the HEVC Medium from the source. What would be the optimal settings to avoid this degradation.
 
@ Scorpus
"The reason why I did not do this Is That, at least to my eyes, the differences at the QF entre le même profiles is very small. It's even smaller When viewing the actual videos Because You simply do not-have time to examine fine detail in every frame. "

Some producers carry out works in which there are many contemplative shots (slow and fix ; scenic shots or expressions of faces...).
 
Some oversights: Intel Skylake requires the GPU to support HEVC profile 10 while AMD's Carrizo supports HEVC profile 10 with a dutycycle of less than 50% (lower power) using a Xtensa DPU which is what the XB1 uses.

The Xbox one got HEVC profile 10 with a firmware update June 2015. We expect the PS4 to have the same this year because it also uses a Xtensa DPU as an accelerator. The PS3 Cell can support HEVC but it draws too much power for anything but a grandfathered in Game Console/Media Player.
 
H265 Handbrake settings in this article work very well. Fairly fast conversion at 18 minutes for a 2 hour video and results look very nice achieving about an 80% file size reduction. Your results may vary depending on your hardware. It's a winner!
 
@Tim would you mind doing an update which focuses on the lower CRF values which attain your custom quality and also the two pass VBR. Many of us are more interested to know how H.265 improves upon H.264 in terms of image quality at the same bitrate. What can we achieve in terms of file sizes with similar quality and what can we achieve in image quality when the files are the same size? Also encoding times for lower CRF vs two pass VBR and the comparison between those. Would be nice to see the other side of H.265, also the tools are likely updated now too.
 
Back