H.265 (HEVC) vs H.264 (AVC) Compression: Explained!

  Рет қаралды 655,905

HandyAndy Tech Tips

HandyAndy Tech Tips

8 жыл бұрын

What is H.265 (HEVC)? Why is it better quality than H.264 (AVC), especially for 4K? Do your devices support H.265? This video will explain all of the questions you might have about the newest video compression standard.
--
Hey, I'm HandyAndy and thanks for watching my video. If you enjoyed it, then please SUBSCRIBE to my channel!
--
My notes on this topic:
- Video compression has undergone many changes over the past two decades. But it seems like every new standard promises the same thing - identical image quality at half the bitrate of the previous one. Indeed, a HD H.265 video running at 5Mbit/s will have virtually identical quality to a H.264 at 10Mbit/s.
- How is this achieved? Through improvements in both interframe and intraframe compression.
- Interframe compression involves a comparison between previous and future frames and the current one, and it only encodes what's changed in the picture. Intraframe compression involves comparing areas within the same frame.
- The main method used in interframe encoding is to divide the picture into small areas, which - in H.264 - were called "macroblocks", sized 16 x 16 pixels. So we start on a frame, called an I-frame or intraframe, that's stored as a full image - much like a JPEG. We then divide it into macroblocks, advance to the next frame, and compare its macroblocks with that of the I-frame. If several are virtually the same, we give the new frame the status of a "P-frame", or a predicted frame; this means that only the differences between it and the I-frame must be stored.
- In H.265, macroblocks have been renamed to "coding tree units", and with a new name comes a new improvement. The size of each is now variable, and can range from 16 x 16 pixels - the original size - to up to 64 x 64 pixels. Furthermore, in H.265, a single coding tree unit (or macroblock) can be divided into coding units, which can be sized from 64 x 64 - which, coincidentally, is the same as the maximum size of a coding tree unit - down to 8 x 8.
- Why is this such a big improvement? Well, remember that - when H.264 was standardized in 2003 - 1080p video was the height of technology. But now, more efficient encoding is needed for higher resolutions, such as 4K.
- The second big improvement - mainly to do with intraframe compression - is the increase in prediction directions. Coding units, in H.265, can be further partitioned into smaller groups, called prediction units. These allow us to predict pixel values within the exact same image.
- I could make use of several angular modes, which are directional. The angular modes allow me to extrapolate certain trends - so using a simple example, I could have a line coming down, and use an angular intra prediction mode to continue its progress throughout my prediction block.
- H.264 only allows me to use 9 such modes. This could result in errors in my estimation, especially if I have a large block. But H.265 has... wait for it... 33 different modes!
- One major problem with the new standard (at the moment) is that adoption has been limited. Even though it was first standardized back in 2013, there's still a lot of things that you can't do, including uploading videos encoded with it to KZfaq. But the format was given a big boost recently, as it's been adopted as a default codec on 4K Blu-Ray.

Пікірлер: 576
@mikhailalexandrovich482
@mikhailalexandrovich482 7 жыл бұрын
Hans down the most professional yet balanced down to earth explanation, my hats off to you for that!
@livemeyer
@livemeyer 4 жыл бұрын
I think you mean HANDS down, as in "hey, HandyAndy, your audio sounds pretty good but you really should mount that microphone on a stand so you can put your hands down!"
@RafaelKarosuo
@RafaelKarosuo 3 жыл бұрын
Agree, it's very short, very to the point, and really highlights the differences. And to end up with this, definitely needed to know what's happening, this is a very complex field.
@Ivanus59
@Ivanus59 3 жыл бұрын
@@livemeyer I think he actually meant that Hans was shot and thus was "down". I hope they got him a medic in time. :s
@theransomdance
@theransomdance 8 жыл бұрын
You are a huge nerd, but that's why you're amazing.
@makegaminggreatagain3907
@makegaminggreatagain3907 7 жыл бұрын
@theransomdance, correction, he is a huge nerd and he is Australian, that's why he is amazing!
@ArtificialSoul
@ArtificialSoul 7 жыл бұрын
theransomdance The nerds are the new heroes!
@latengocomoburro
@latengocomoburro 6 жыл бұрын
Uber nerd
@webgpu
@webgpu 6 жыл бұрын
he's a huge nerd, but why do we have to watch his incongruent nerd face? gives the creeps
@peiko8082
@peiko8082 6 жыл бұрын
superficial moron
@medwatt
@medwatt 8 жыл бұрын
I think you have the most deep and informative of tech info on youtube. Keep that up. Way better than those supercilious tech channels.
@HandyAndyTechTips
@HandyAndyTechTips 8 жыл бұрын
Wow, thanks so much for that, really appreciate the feedback!
@dannii_L
@dannii_L 7 жыл бұрын
Thanks for a very clear and concise explanation of a complex idea. Perfectly paced and delivered.
@spotted0wl.
@spotted0wl. 4 жыл бұрын
I'm glad I discovered some of your videos today. I'm appreciative and impressed by the depth you cover, but also all the helpful graphics and references. These videos would actually be perfect for secondary education class rooms.
@spencerpatton9671
@spencerpatton9671 3 жыл бұрын
Honestly one of the most in depth. From the research to the explanation, I appreciate the hard work thank you.
@glenaw
@glenaw 6 жыл бұрын
Great video and great explanation. You have had the best explanation that I have seen anywhere and I have searched a great deal on the subject. Just the explanation on H.264 that I have personally spent hours researching was better than anything I have seen. I'm glad I ran across you early on with my research on H.265, now I won't spend endless hours trying to find a good explanation. I have Subscribed and also gave you a thumbs up on the video. Good Job!
@ooyyss7652
@ooyyss7652 6 жыл бұрын
Thank you so much for making these great videos. This one in particular helped me greatly on understanding the concepts of video compression.
@brimleyBK
@brimleyBK 2 жыл бұрын
Top tier quality content, haven't seen such an detailed yet easy to understand explaination on youtube for decades. Instantly subscribed.
@gryjffrs
@gryjffrs 6 жыл бұрын
An actual explanation! What a concept! Although my brain did kind of fuzz out for about 30 seconds or so. Thanks.
@progenitor_amborella
@progenitor_amborella 4 жыл бұрын
Perfect explanation, and not stretched longer than it needs to be. Instantly subbed, hope to see more great videos from you.
@GeoPicAT
@GeoPicAT 7 жыл бұрын
!! WOW !! - This is definitely the best explanation and informative video I have ever seen on this topic. Keep that up!!
@hdrgaming4962
@hdrgaming4962 3 жыл бұрын
It's been 4 years since your video and now a LOT of videos uploaded to KZfaq is actually encoded in H.265. KZfaq itself uses an even heavier encoding codec, VP9, and soon will move on to AV1. All my videos, whether HDR or not, are H.265, a pain to process/edit but since videos are taking over the world, efficiency is the key. This video has helped me understand a lot deeper than I used to the differences between those 2 compression codec. Thank you and hope you push out more videos like this.
@peternorthall
@peternorthall 3 жыл бұрын
The clarity of your explanation is great! Subscribed.
@Abramelatin
@Abramelatin 7 жыл бұрын
This is a very good explanation. You thoroughly went through all of the points and used great speech delivery. The presentation was well organized. Thank you so much for this premium video. I will be sure to check out more of your others!
@gordobonnett1153
@gordobonnett1153 4 жыл бұрын
And that’s how you train people. Excellent video mate, you made a difference in my understanding.
@Decco6306
@Decco6306 4 жыл бұрын
thank you for actually explaining this and not just shoving a chart in our faces with some comparisons. appreciate this.
@cybernetics9358
@cybernetics9358 8 жыл бұрын
Andy, that was a very well explained video! I found it to be very informative with the right amount of detail, and video was the perfect length. You ticked all the boxes Andy - very well done! Keep up the great work.
@HandyAndyTechTips
@HandyAndyTechTips 8 жыл бұрын
Wow, thanks so much for the really nice feedback! It means a lot :-)
@emarc37
@emarc37 7 жыл бұрын
Your video is short enough for people like me who just want to get an idea but still the information is quite profound. Great job!
@atom_zero5413
@atom_zero5413 7 жыл бұрын
Actually well explained. Great job! :D Thank you!
@btstudios1
@btstudios1 6 жыл бұрын
very detailed and one of the best sources in this topic. INSANE!
@BoldBooksandBones
@BoldBooksandBones 4 жыл бұрын
Wow man, you have an extraordinary skill to explain complex things in a way that non-experts like me can understand it. Top! Keep up the great work. This video is not only explanatory but also useful!
@28-daynutritionalcleansing70
@28-daynutritionalcleansing70 4 жыл бұрын
You are an extraordinarily clear teacher. Inspiring. Thank you for these videos.
@vrguest251
@vrguest251 6 жыл бұрын
Very informative. This is becoming even more necessary with 8k immersive video. Thanks Andy.
@sanrasuzumaki942
@sanrasuzumaki942 6 жыл бұрын
Great explanation, I didn't understand half of it but did get the fact that it made me realize that h264 came out so long ago to support 1080 video and h265 came to support 4k, that is all I needed to understand how much better h265 is and that I can't wait for h266. have a great day and Merry Christmas!
@jippalippa
@jippalippa 7 жыл бұрын
Very informative, i loved it! Subscribed.
@audryste
@audryste 6 жыл бұрын
A very clear explanation, as the animations really helps to understand everything easily.
@farscape2129
@farscape2129 7 жыл бұрын
Thank you so much for explaining. I really didn't understand any of it until I watched your video. Excellent stuff.
@joetylerdale
@joetylerdale 7 жыл бұрын
Andy, I must say you are a gem! Watching another H.265 video I stumbled to yours, halfway thru I subbed! I will enjoy and recommend your videos!
@gobindsidhu5949
@gobindsidhu5949 7 жыл бұрын
jesus christ dude well done!!! So informative, seems like you really spent a lot of time researching and using h265. Good work dude, hope you continue making excellent work
@julianmorrisco
@julianmorrisco 6 жыл бұрын
Good stuff. I know codecs fairly well - I use Cineform, Prores etc all the time but I’d never got around to understanding the differences between 264 and 265, even though I output to 265 all the time now. By the way, as of 2018 there is a LOT more support for HVEC than there was in 2016 when this video was made.
@iso6460
@iso6460 7 жыл бұрын
Thanks for the lovely explanation, Andy!
@BrianCarey
@BrianCarey 6 жыл бұрын
Never thought I could ever understand this but I think I got it. Thanks!
@itsDRWman
@itsDRWman 7 жыл бұрын
Wow. Thanks for your time and effort on this video. I was wondering about h.265 HEVC and I came across your video. I'm good to go! Interesting and informative. Keep it up!
@thuanthuan2139
@thuanthuan2139 4 жыл бұрын
Bộ này bao nhiêu tien
@kapilbusawah7169
@kapilbusawah7169 7 жыл бұрын
Never ever dumb it down for us. I hate it when other tech KZfaqrs over simify. I'd rather have you out there for me to learn new terminology every video than to not know what I've been taught actually is in the media world. Thanks for teaching about the industry and not making too easy on us.
@01artist
@01artist 7 жыл бұрын
*kapil busawah* some of us are not Bill Gates offspring so we need simple
@bluespiritrecords1709
@bluespiritrecords1709 5 жыл бұрын
@@01artist then Google the parts you don't understand?
@Blaze-zm7zt
@Blaze-zm7zt 5 жыл бұрын
over simify
@davidkerr7
@davidkerr7 7 жыл бұрын
Good video, except for the fact that there is a huge amount of support for HEVC but that not why it isn't being used but there is a problem it the HEVC licensing, that's y Netflix and amazon have waiting to adopt. However, AV1 (also know as VP10) will be the next-gen standard.
@anthonyguada
@anthonyguada 5 жыл бұрын
I am 60 years old, and I understand everything this man is talking about, Andy.. Thanks please make more vids.
@D45Z
@D45Z 6 жыл бұрын
Dude, that was such an highly informative video! Subbed.
@lute2714
@lute2714 8 жыл бұрын
I have a question. With all else equal, I have two files. All else equal, one is High10@L5 with a bitrate of 5,816 kbps, and the other is High10@L5.1 with a bitrate of 4,474 kbps. Which one would be better?
@WorldSurvivalist
@WorldSurvivalist 6 жыл бұрын
That was, wait for it, the best explication I've seen so far. Top video man
@artemus80j.4
@artemus80j.4 6 жыл бұрын
You are one talented guy!....being able to look up and down at the same time take some special skill.
@golferchin76
@golferchin76 6 жыл бұрын
Very good, short and clear explanation of the difference between H.264 and H.265
@Solidlife1337
@Solidlife1337 5 жыл бұрын
Loving the content , Keep up the good work!
@jimdandy1010
@jimdandy1010 6 жыл бұрын
That was very helpful. Thank you Andy! You are awesome
@WorldTravelVignettes
@WorldTravelVignettes 7 жыл бұрын
Wonderfully spoken. Thank you for the clarification.
@D_SOPHEIA
@D_SOPHEIA 3 жыл бұрын
choose to self holding mic and ignoring boom arm at his back... Such A Legendary Sannin
@scyreption4156
@scyreption4156 7 жыл бұрын
so what is better for recording with encodingntype hevc vs avc?
@SeeHearBeSilent
@SeeHearBeSilent 5 жыл бұрын
I keep returning to your videos! Great content
@BLADE-4
@BLADE-4 6 жыл бұрын
Way to go HandyAndy. I know this was a year ago. I always say whats the rush. LOL In other words I am late to the table, but new all this process. So from a beginner thanks for expaining this. Now I am wishing we had acces to H.265 to use on KZfaq. I simply have to go find my place in a long line. Very good use of grahpics to give us all a very beginning framework to understand.
@Brad-k
@Brad-k 7 жыл бұрын
Thank you for this video, it explained a lot to me!
@PeteWoronowski
@PeteWoronowski 6 жыл бұрын
Very well explained, thanks so much and very best to you! Cheers, Pete
@mgs4vaderfan2
@mgs4vaderfan2 6 жыл бұрын
hi I need some help I have a Lenovo yoga laptop with windows 10 and a Nivdia GeoForce GTX 1050 and with intelcore i7 7700HQ I'm not good with specs but I think my laptop has the capacity to naturally run a hevc video but is not I have the go prp 6 and the computer is not allowing me to play the go pro videos. is there an update I need to do or something? help please
@shuhari3840
@shuhari3840 4 жыл бұрын
never have i ever subbed that fast after watching just one video great work m8
@gabzpot
@gabzpot 3 жыл бұрын
Best explanation EVER about the subject. Thanks.
@alpacamale2909
@alpacamale2909 7 жыл бұрын
hello could you explain to me what main is used for? I always use level 4.0 profile main 4:2:2 tier high with 10 bits of depth in my 720p x265 encodings. but I'm not quite sure what the difference is, I just read that 4.0 is recommended for 720p. care to explain to me what these parameters mean? thanks.
@soundsqueerbutokay
@soundsqueerbutokay 4 жыл бұрын
its still a very difficult thing to digest but you nailed it. good job!
@fstarockaburns425
@fstarockaburns425 4 жыл бұрын
I just bought a h264 cctv system for my shop and was considering swapping the h264 for a h265 dvr, until you mentioned the support. Ill be sticking with the 264 for now (ease of playback/etc) but thanks for arguably the best video on the matter for total noobs like me. very interesting when you drill into it. (fyi try a mic stand :)
@zapillofilms
@zapillofilms 6 жыл бұрын
Thanks Andy! Great explanation! Finally I get the difference :)
@turbo2025
@turbo2025 3 жыл бұрын
Straight to point, thank you for making this.
@Cruis3zFPV
@Cruis3zFPV 4 жыл бұрын
Thanks *Andy* for clearing that up!
@laughingalien
@laughingalien 7 жыл бұрын
Absolutely brilliant. Thank you.
@edgararcega3046
@edgararcega3046 3 жыл бұрын
Il new to this ever since I got a dash cam that records in hevc. So is it normal for playback to blur every time the pause button is used? This is rather annoying.
@REPATHATHYALA
@REPATHATHYALA 5 жыл бұрын
Hi Andy, Thank you for the video, as the comments indicate as well. can you please suggest .264 player or any convertor from .264 to mp4, I tried with many online, and failed miserably including VLC.
@kodenkan6
@kodenkan6 4 жыл бұрын
Great explanation, Andy. Related question: do the video codecs utilize anti-aliasing or is that technique obsolete with the improvements in hardware? And if it's still utilized, what are the dimensions of the matrix for pixels, and how many matrices to comprise a full screen?
@BestPlayedLoudLtd
@BestPlayedLoudLtd 2 жыл бұрын
great video, thanks Andy, very informative
@RagnarRipper
@RagnarRipper 3 жыл бұрын
Best explainer I've come across so far. Thank you :)
@FromW
@FromW 5 жыл бұрын
I'm looking to buy a nas enclosure. The syonolgy ds918+ in description says h.265 4k transcoding but the one I want qnap ts 653b says 4k h.264 transcoding. So is synology the better one. It don't have a HDMI port for direct tv plug in nor is it able to connect to computer via usb... this is what was pushing me to qnap. Will this h.265 vs h.264 effect my 4k experience? If this synology that's advertised as h.265 transcoding is the better one then it's going to save me about £300 it will just be minus 2 bays, the HDMI port which will mean I'll need to use a plex app on my tv or connect it to my nvidia shield and it's minus the feature of being able to connect straight to my pc by usb port to transfer files. Some of my movie files actually say they are h.265 too. Sorry if i sound like a noob but im new to this.
@JeffWelcherMedia
@JeffWelcherMedia 5 жыл бұрын
I never knew there was an alternative pronunciation of the letter h. Appreciate the video.
@Tanasaith.Ponyeam
@Tanasaith.Ponyeam 6 жыл бұрын
Do you know how to make my PC read or play that kind of VDO [HEVC, H.265] ? Now, I can't even watch or playback my footage that was took by Gopro6 and I can't also edit those footage in Premiere Pro. I REALLY NEED YOUR HELP,SIR. PLEASE TELL ME WHAT COULD I DO FOR THIS PROBLEM. THANKS.
@juandumas1
@juandumas1 4 жыл бұрын
This is really helpful !! Thank you! Best explanation on KZfaq.
@rynz_2893
@rynz_2893 7 жыл бұрын
Wow. I came here trying to figure out what to use for my AMD Relive recording. I'm doing 1080p so I guess AVC is the way to go. thank you.
@jupiter909
@jupiter909 7 жыл бұрын
A very informative and succinct video. Thank you!
@EliteGamerpk
@EliteGamerpk 3 жыл бұрын
The exact explanation I was looking for.
@ljose007
@ljose007 6 жыл бұрын
Thanks for this brilliant presentation!
@Mauser_.
@Mauser_. 4 жыл бұрын
You are a genius!! Thanks for the best explanation ever. Now I finally get it
@mtippett80
@mtippett80 2 жыл бұрын
does this setting just affect videos on smartphones or also photos?
@kawashida
@kawashida 7 жыл бұрын
Is it possible to install H.265 on a NVR that only has h.264 and mpeg
@abhijeet6989
@abhijeet6989 4 жыл бұрын
Very clear understading.
@speedbrake22
@speedbrake22 7 жыл бұрын
Very well explained, thank you!!
@issacdhan
@issacdhan 7 жыл бұрын
Thanks a lot. Very simple but very informative.
@youngprince024
@youngprince024 7 жыл бұрын
Thank you so much for explaining this.
@DanielSRosehill
@DanielSRosehill 2 жыл бұрын
Great stuff. Crystal clear explanation!
@numspacsym
@numspacsym 7 жыл бұрын
Great video. Very well explained. Thank you!
@FunkyDisco79
@FunkyDisco79 6 жыл бұрын
Thank you, Alfred!
@AccionPositiva
@AccionPositiva 7 жыл бұрын
Great Tutorial! Thanks for share it!
@squeakal3393
@squeakal3393 3 жыл бұрын
Nicely explained Andy. Thank you.
@ayee2119
@ayee2119 4 жыл бұрын
thx for the vid. it was really useful for me
@meenakshikollati9916
@meenakshikollati9916 7 жыл бұрын
Excellent
@Our_World455
@Our_World455 5 жыл бұрын
If we use 10mb file what is the output for h.264encoder
@InFrontTechnologies
@InFrontTechnologies 7 жыл бұрын
Wow, very well explained.. your articulation is amazing..
@hugueninflorian
@hugueninflorian 4 жыл бұрын
Great Explanations! Crystal Clear! Thank you
@chrishansen6863
@chrishansen6863 4 жыл бұрын
Pure information. That’s how I love it.
@kunal-ko
@kunal-ko 7 жыл бұрын
thank you for explaining, i hope your chanel gets big
@ninkide
@ninkide 4 жыл бұрын
awesomely explanatory
@MrParadoxia1
@MrParadoxia1 4 жыл бұрын
Well explained. Thank you.
@numbereightyseven
@numbereightyseven 2 жыл бұрын
Amazing. Thank you. I actually followed along.
@TrackerWho
@TrackerWho 5 жыл бұрын
Great explanation. Thank you!
@ML-wf8bm
@ML-wf8bm 6 жыл бұрын
Way cool! Thank you for the great explanation. 👍👍
@TheGmr140
@TheGmr140 2 жыл бұрын
very nice video, well done, i learned alot
@josbremer8705
@josbremer8705 2 ай бұрын
Do you know why davinci cant edit those video's? Or videos in d log m?
H264 Vs H265 - Which Should You Use?
11:26
Digi Pro Tips
Рет қаралды 56 М.
h265 and DaVinci - Less Space and Faster Encoding!
7:11
DAD LEFT HIS OLD SOCKS ON THE COUCH…😱😂
00:24
JULI_PROETO
Рет қаралды 17 МЛН
What it feels like cleaning up after a toddler.
00:40
Daniel LaBelle
Рет қаралды 86 МЛН
لقد سرقت حلوى القطن بشكل خفي لأصنع مصاصة🤫😎
00:33
Cool Tool SHORTS Arabic
Рет қаралды 20 МЛН
Женская драка в Кызылорде
00:53
AIRAN
Рет қаралды 506 М.
Video Frame Rate, Bitrate, & Resolution MADE SIMPLE
11:05
James Archer
Рет қаралды 384 М.
What's the Difference Between AVCHD and H.264?
3:38
Videomaker
Рет қаралды 138 М.
How are Images Compressed?  [46MB ↘↘ 4.07MB] JPEG In Depth
18:47
Branch Education
Рет қаралды 3,5 МЛН
H264 vs H265 | Explained
9:27
SABRENT USA Official
Рет қаралды 151 М.
HEVC/H.265 Video Coding Standard: Part 1
58:40
IEEE CTSocTV
Рет қаралды 17 М.
8-bit vs. 10-bit Video | What's the Difference?
5:30
B&H Photo Video Pro Audio
Рет қаралды 576 М.
Video Formats, Codecs and Containers (Explained)
12:29
Qencode
Рет қаралды 328 М.
H264 vs H265 for YouTube: Which Codec to use at 1080p, 1440p & 4K
10:10
What's going on with Windows Laptops?
10:30
Marques Brownlee
Рет қаралды 587 М.
Should You Shoot At 24FPS or 30FPS?
12:03
Jeven Dovey
Рет қаралды 556 М.
Xiaomi SU-7 Max 2024 - Самый быстрый мобильник
32:11
Клубный сервис
Рет қаралды 536 М.
Лучший браузер!
0:27
Honey Montana
Рет қаралды 933 М.