H.265 (HEVC) vs H.264 (AVC) Compression: Explained!
HTML-код
- Опубликовано: 3 окт 2024
- 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 RUclips. But the format was given a big boost recently, as it's been adopted as a default codec on 4K Blu-Ray.
You are a huge nerd, but that's why you're amazing.
@theransomdance, correction, he is a huge nerd and he is Australian, that's why he is amazing!
theransomdance The nerds are the new heroes!
Uber nerd
he's a huge nerd, but why do we have to watch his incongruent nerd face? gives the creeps
superficial moron
Hans down the most professional yet balanced down to earth explanation, my hats off to you for that!
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!"
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.
@@livemeyer I think he actually meant that Hans was shot and thus was "down". I hope they got him a medic in time. :s
I think you have the most deep and informative of tech info on youtube. Keep that up. Way better than those supercilious tech channels.
Wow, thanks so much for that, really appreciate the feedback!
Thanks for a very clear and concise explanation of a complex idea. Perfectly paced and delivered.
I am 60 years old, and I understand everything this man is talking about, Andy.. Thanks please make more vids.
And that’s how you train people. Excellent video mate, you made a difference in my understanding.
The clarity of your explanation is great! Subscribed.
thank you for actually explaining this and not just shoving a chart in our faces with some comparisons. appreciate this.
Honestly one of the most in depth. From the research to the explanation, I appreciate the hard work thank you.
choose to self holding mic and ignoring boom arm at his back... Such A Legendary Sannin
It's been 4 years since your video and now a LOT of videos uploaded to RUclips is actually encoded in H.265. RUclips 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.
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.
Very good, short and clear explanation of the difference between H.264 and H.265
An actual explanation! What a concept! Although my brain did kind of fuzz out for about 30 seconds or so. Thanks.
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!
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!
He defines what a Nerd is in the whole sense of the word... Keep Making Videos!!! You're Awesome
very detailed and one of the best sources in this topic. INSANE!
when the video started i couldnt get over the "haayyych" H and massive ultra lisp by my man came through with some of the best info on this topic ive seen.
Heych265. Video is solid af tho. Great info here.
Very informative. This is becoming even more necessary with 8k immersive video. Thanks Andy.
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.
Wow, thanks so much for the really nice feedback! It means a lot :-)
Never ever dumb it down for us. I hate it when other tech RUclipsrs 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.
*kapil busawah* some of us are not Bill Gates offspring so we need simple
@@01artist then Google the parts you don't understand?
over simify
It is about H.001 better (H.265 - H.264)
A very clear explanation, as the animations really helps to understand everything easily.
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!
Never thought I could ever understand this but I think I got it. Thanks!
Top tier quality content, haven't seen such an detailed yet easy to understand explaination on youtube for decades. Instantly subscribed.
!! WOW !! - This is definitely the best explanation and informative video I have ever seen on this topic. Keep that up!!
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!
You are an extraordinarily clear teacher. Inspiring. Thank you for these videos.
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!
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!
I never knew there was an alternative pronunciation of the letter h. Appreciate the video.
Perfect explanation, and not stretched longer than it needs to be. Instantly subbed, hope to see more great videos from you.
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 RUclips. 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.
Best explanation EVER about the subject. Thanks.
I Love the way you say remember back in 2003🤣 I hadn't even herd of pixels then i guess i have been living under a rock 🤦♂️ No wonder my footage is so crap. Thanks for a great lesson my young but all inspiring clever friend well said Andy👍👌
Best explainer I've come across so far. Thank you :)
Clear and to the point. Excellent video! Thank you!
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.
Thank you so much for explaining. I really didn't understand any of it until I watched your video. Excellent stuff.
This video's URL has the most lowercase letters in a row I've ever seen
never have i ever subbed that fast after watching just one video
great work m8
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
You are one talented guy!....being able to look up and down at the same time take some special skill.
Thank you so much for making these great videos. This one in particular helped me greatly on understanding the concepts of video compression.
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.
Actually well explained. Great job! :D Thank you!
I am from the future, it all worked out and it's becoming a more and more widespread adapted standard
That was, wait for it, the best explication I've seen so far. Top video man
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 :)
The exact explanation I was looking for.
Hetch.265 is definitely the future but most places still use Hetch.264
why do i find this terribly funny ?
Excellent... but when can we start uploading h.265 to YT?
It makes sense, with RYZEN (AMD) around the block it would be a great time to start adopting it, however as you mentioned yourself, Intel needs to raise there CPU's to that standard as well, and RUclips has VP9 as its current encoder, however H265 and VP10 will have to wait a little while longer to be widespread.
never, h265 has very high licensing costs and google + many big companies (netflix,amazon,microsoft,nvidia,amd etc) have allied into making the next big video codec called AV1
H.265 licensing moved from the consumer decoding end to the encoder end. If they accept the encodes from the hardware already in H.265 the OEM already has paid the licensing for it.
+Mianlo Mangaing actually skylake(which came out 2 years ago) already supports hevc decoding. playing a full hd hevc movie on my skylake laptop dual core only loads it by about 1%
Of Viking Descent never
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!
Bộ này bao nhiêu tien
Very informative, i loved it! Subscribed.
I love the way you talk dude, never change
I keep returning to your videos! Great content
Great stuff. Crystal clear explanation!
Well, I'm a bit late, but thank you and also cograts on a clear, concise, well-illustrated presentation - nicely free of any of the localised USA idioms we get so often from some others sources
Even though this video was uploaded roughly 4 years ago. It's so ahead of its time..
Dude, that was such an highly informative video! Subbed.
RUclipsrs take note. Thats how it's done. Excellent video.
Thanks for the lovely explanation, Andy!
Best explanation I've ever seen... Awesome !!
Great video. Got everything I needed. I like your accent and clear delivery apart from the 'aitch' / 'haitch' thing but I can understand I might just be stuck in the past.
Great explanation!
Hayche Two Six Fooah
just highlighting... *hay* che ... omg...
Thank you.. blood heathens AITCH, not H'Aitch
You are a genius!! Thanks for the best explanation ever. Now I finally get it
thank you for explaining,
i hope your chanel gets big
Nicely explained Andy. Thank you.
#HandyAndy is, "wait for it", the smartest guy on U-Tube.
Great video, Andy!
Thanks *Andy* for clearing that up!
Thanks for the information my guy :D
I seriously hope youtube will allow it soon.
RUclips might accept H265 files, but they will re encode it to something else. you will never actually be streaming H265 video on RUclips. Google has their own next gen codec called "AV1" that will be the next codec used for playback on RUclips.
My ryzen CPU is equipped with a graphics unit, so I can record videos in H.265 with Bandicam, I'm going to use this now over H.264 to reduce file sizes. Also Vegas Pro will automatically convert the fi ished project back, so this will save my file space for all my raw content. Thanks for the awesome video!
Loving the content , Keep up the good work!
That was very helpful. Thank you Andy! You are awesome
great video, thanks Andy, very informative
Very well explained, thanks so much and very best to you!
Cheers, Pete
Thanks Andy! Great explanation! Finally I get the difference :)
Wonderfully spoken. Thank you for the clarification.
*my brain try to processing too many information*
*my brain can't take it*
You did good explaining, it's just me
Amazing. Thank you. I actually followed along.
Very clear understading.
Wow, very well explained.. your articulation is amazing..
Straight to point, thank you for making this.
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.
This is really helpful !! Thank you! Best explanation on RUclips.
Outstanding explanation.
HandyAndy thanx a loooooot for this helpful information... keep the good work :)
Omg literally so nerdy, but helpful, thanks
Awesome explanation bro🔥
Great Explanations! Crystal Clear! Thank you
A very informative and succinct video. Thank you!
Thanks a lot. Very simple but very informative.
That was a great explanation!!
very nice video, well done, i learned alot
Nice video dude. I would like to understand both of them even further. I find it that if I export h.265 in 480p it looks just as good as 4k. Except for a little lost in of quality in the shadows. It's amazing how small the h.265 files are.
eh, no?