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

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

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 KZbin. But the format was given a big boost recently, as it's been adopted as a default codec on 4K Blu-Ray.

Пікірлер: 576
@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
@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
@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!
@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.
@dannii_L
@dannii_L 7 жыл бұрын
Thanks for a very clear and concise explanation of a complex idea. Perfectly paced and delivered.
@spencerpatton9671
@spencerpatton9671 3 жыл бұрын
Honestly one of the most in depth. From the research to the explanation, I appreciate the hard work thank you.
@hdrgaming4962
@hdrgaming4962 3 жыл бұрын
It's been 4 years since your video and now a LOT of videos uploaded to KZbin is actually encoded in H.265. KZbin 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.
@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!
@peternorthall
@peternorthall 3 жыл бұрын
The clarity of your explanation is great! Subscribed.
@brimleyBK
@brimleyBK 2 жыл бұрын
Top tier quality content, haven't seen such an detailed yet easy to understand explaination on youtube for decades. Instantly subscribed.
@Decco6306
@Decco6306 4 жыл бұрын
thank you for actually explaining this and not just shoving a chart in our faces with some comparisons. appreciate this.
@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!
@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!
@gordobonnett1153
@gordobonnett1153 4 жыл бұрын
And that’s how you train people. Excellent video mate, you made a difference in my understanding.
@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!
@gryjffrs
@gryjffrs 6 жыл бұрын
An actual explanation! What a concept! Although my brain did kind of fuzz out for about 30 seconds or so. Thanks.
@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 :-)
@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!!
@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!
@vrguest251
@vrguest251 6 жыл бұрын
Very informative. This is becoming even more necessary with 8k immersive video. Thanks Andy.
@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.
@anthonyguada
@anthonyguada 5 жыл бұрын
I am 60 years old, and I understand everything this man is talking about, Andy.. Thanks please make more vids.
@btstudios1
@btstudios1 6 жыл бұрын
very detailed and one of the best sources in this topic. INSANE!
@28-daynutritionalcleansing70
@28-daynutritionalcleansing70 4 жыл бұрын
You are an extraordinarily clear teacher. Inspiring. Thank you for these videos.
@audryste
@audryste 6 жыл бұрын
A very clear explanation, as the animations really helps to understand everything easily.
@golferchin76
@golferchin76 6 жыл бұрын
Very good, short and clear explanation of the difference between H.264 and H.265
@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!
@farscape2129
@farscape2129 7 жыл бұрын
Thank you so much for explaining. I really didn't understand any of it until I watched your video. Excellent stuff.
@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
@BrianCarey
@BrianCarey 6 жыл бұрын
Never thought I could ever understand this but I think I got it. Thanks!
@atom_zero5413
@atom_zero5413 7 жыл бұрын
Actually well explained. Great job! :D Thank you!
@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
@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 KZbin. 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.
@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.
@jippalippa
@jippalippa 7 жыл бұрын
Very informative, i loved it! Subscribed.
@WorldSurvivalist
@WorldSurvivalist 6 жыл бұрын
That was, wait for it, the best explication I've seen so far. Top video man
@SeeHearBeSilent
@SeeHearBeSilent 5 жыл бұрын
I keep returning to your videos! Great content
@shuhari3840
@shuhari3840 4 жыл бұрын
never have i ever subbed that fast after watching just one video great work m8
@D45Z
@D45Z 6 жыл бұрын
Dude, that was such an highly informative video! Subbed.
@gabzpot
@gabzpot 3 жыл бұрын
Best explanation EVER about the subject. Thanks.
@EliteGamerpk
@EliteGamerpk 3 жыл бұрын
The exact explanation I was looking for.
@iso6460
@iso6460 7 жыл бұрын
Thanks for the lovely explanation, Andy!
@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.
@RagnarRipper
@RagnarRipper 3 жыл бұрын
Best explainer I've come across so far. Thank you :)
@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?
@geraldjonothanwolfe5519
@geraldjonothanwolfe5519 6 жыл бұрын
He defines what a Nerd is in the whole sense of the word... Keep Making Videos!!! You're Awesome
@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!
@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?
@JeffWelcherMedia
@JeffWelcherMedia 5 жыл бұрын
I never knew there was an alternative pronunciation of the letter h. Appreciate the video.
@jimdandy1010
@jimdandy1010 6 жыл бұрын
That was very helpful. Thank you Andy! You are awesome
@WorldTravelVignettes
@WorldTravelVignettes 7 жыл бұрын
Wonderfully spoken. Thank you for the clarification.
@Solidlife1337
@Solidlife1337 5 жыл бұрын
Loving the content , Keep up the good work!
@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
@D_SOPHEIA
@D_SOPHEIA 3 жыл бұрын
choose to self holding mic and ignoring boom arm at his back... Such A Legendary Sannin
@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.
@squeakal3393
@squeakal3393 3 жыл бұрын
Nicely explained Andy. Thank you.
@geoffreymee7671
@geoffreymee7671 6 жыл бұрын
The for the chunky gulp of info HandyAndy. Now I get it...somewhat. A question- if I bdhoot 4,k in h265 for better image quality, edit in such is it then appropriate to down convert to h264 for delivery...and if do, what quality loss can I expect. Thx
@PeteWoronowski
@PeteWoronowski 6 жыл бұрын
Very well explained, thanks so much and very best to you! Cheers, Pete
@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.
@scyreption4156
@scyreption4156 7 жыл бұрын
so what is better for recording with encodingntype hevc vs avc?
@BestPlayedLoudLtd
@BestPlayedLoudLtd 2 жыл бұрын
great video, thanks Andy, very informative
@InFrontTechnologies
@InFrontTechnologies 7 жыл бұрын
Wow, very well explained.. your articulation is amazing..
@zapillofilms
@zapillofilms 6 жыл бұрын
Thanks Andy! Great explanation! Finally I get the difference :)
@Cruis3zFPV
@Cruis3zFPV 4 жыл бұрын
Thanks *Andy* for clearing that up!
@kunal-ko
@kunal-ko 7 жыл бұрын
thank you for explaining, i hope your chanel gets big
@wadehendrix9297
@wadehendrix9297 3 жыл бұрын
What kind of software decoding is best and does it retain the same quality of video? Would you be better shooting in 264 or use 265 and Handbrake to covert it to 264?
@DanielSRosehill
@DanielSRosehill 2 жыл бұрын
Great stuff. Crystal clear explanation!
@numbereightyseven
@numbereightyseven 2 жыл бұрын
Amazing. Thank you. I actually followed along.
@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.
@carloscasmore6603
@carloscasmore6603 4 жыл бұрын
I can download and save .265 to a flashdrive but can't play it on any BluRay Player, or plug into a 4K TV. Is there any player that will allow me to play with my TV? I have no problems with .264 but I would like to know if there is an updated BluRay Player that will deal with this format?
@Red0Ray
@Red0Ray 4 жыл бұрын
HandyAndy thanx a loooooot for this helpful information... keep the good work :)
@jakehop-
@jakehop- 4 жыл бұрын
Great video, Andy!
@Brad-k
@Brad-k 7 жыл бұрын
Thank you for this video, it explained a lot to me!
@kawashida
@kawashida 7 жыл бұрын
Is it possible to install H.265 on a NVR that only has h.264 and mpeg
@jupiter909
@jupiter909 7 жыл бұрын
A very informative and succinct video. Thank you!
@milanjani
@milanjani Ай бұрын
Great info. Thank you. I wonder if my canon camera records for ex canon R8 records 4k 24 fps 10 bit 422 clog video in h.265 format, and if i want to convert to h.264, what should be target bitrate? Should it be 1.5 times or 2 times or more? And when I do this conversation, would I loose quality?
@numspacsym
@numspacsym 7 жыл бұрын
Great video. Very well explained. Thank you!
@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.
@Our_World455
@Our_World455 5 жыл бұрын
If we use 10mb file what is the output for h.264encoder
@jonathanbrazeau970
@jonathanbrazeau970 3 жыл бұрын
nice run down my friend. Thanks for sharing....
@vanshrana9508
@vanshrana9508 3 жыл бұрын
Awesome explanation bro🔥
@Mauser_.
@Mauser_. 4 жыл бұрын
You are a genius!! Thanks for the best explanation ever. Now I finally get it
@josbremer8705
@josbremer8705 2 ай бұрын
Do you know why davinci cant edit those video's? Or videos in d log m?
@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 :)
@michaellin4553
@michaellin4553 6 жыл бұрын
How different are these technologies compared to something like VP9, which KZbin uses?
@nemindakarunaratne2291
@nemindakarunaratne2291 3 жыл бұрын
Hi Thanks for that. How can I play my H265 files on a normal Samsung Smart TV? What type of Player should I buy ?ty in advance.
@alxndrassies
@alxndrassies 6 жыл бұрын
thanks dude, perfectly clear and short explanation! But.... Can we expect an update regarding the new Av1 (the reason I was looking up compression to start with)?
@eyeTelevision
@eyeTelevision 3 жыл бұрын
I love the way you talk dude, never change
@issacdhan
@issacdhan 7 жыл бұрын
Thanks a lot. Very simple but very informative.
@juandumas1
@juandumas1 4 жыл бұрын
This is really helpful !! Thank you! Best explanation on KZbin.
@mtippett80
@mtippett80 2 жыл бұрын
does this setting just affect videos on smartphones or also photos?
@froglife5564
@froglife5564 7 жыл бұрын
Very good, informative tutorial. Thank you.
@michaelchen4752
@michaelchen4752 7 жыл бұрын
Thanks for the explanation; subscribed!
@turbo2025
@turbo2025 3 жыл бұрын
Straight to point, thank you for making this.
@ljose007
@ljose007 6 жыл бұрын
Thanks for this brilliant presentation!
@hugueninflorian
@hugueninflorian 4 жыл бұрын
Great Explanations! Crystal Clear! Thank you
@EminoMeneko
@EminoMeneko 7 жыл бұрын
Very informative. Thanks for that. :)
@TheGmr140
@TheGmr140 2 жыл бұрын
very nice video, well done, i learned alot
H264 Vs H265 - Which Should You Use?
11:26
Digi Pro Tips
Рет қаралды 55 М.
Video Frame Rate, Bitrate, & Resolution MADE SIMPLE
11:05
James Archer
Рет қаралды 382 М.
Became invisible for one day!  #funny #wednesday #memes
00:25
Watch Me
Рет қаралды 59 МЛН
마시멜로우로 체감되는 요즘 물가
00:20
진영민yeongmin
Рет қаралды 31 МЛН
孩子多的烦恼?#火影忍者 #家庭 #佐助
00:31
火影忍者一家
Рет қаралды 52 МЛН
Video Compression Is Magical
29:55
Theo - t3․gg
Рет қаралды 87 М.
Why Modern Movies Look So CLEAN and How To Fix Them
13:39
Tomorrows Filmmakers
Рет қаралды 2,8 МЛН
Video Compression as Fast As Possible
6:10
Techquickie
Рет қаралды 647 М.
H264 vs H265 | Explained
9:27
SABRENT USA Official
Рет қаралды 150 М.
8-bit vs. 10-bit Video | What's the Difference?
5:30
B&H Photo Video Pro Audio
Рет қаралды 576 М.
Explaining Digital Video: Formats, Codecs & Containers
14:43
ExplainingComputers
Рет қаралды 275 М.
Why Some Films Can Never Be Remastered - Video Tech Explained
15:06
Video Tech Explained
Рет қаралды 456 М.
How Cell Service Actually Works
18:56
Wendover Productions
Рет қаралды 2,8 МЛН
H.266 Explained | Next Gen But....
9:07
SABRENT USA Official
Рет қаралды 5 М.
Easy Art with AR Drawing App - Step by step for Beginners
0:27
Melli Art School
Рет қаралды 15 МЛН
Самые крутые школьные гаджеты
0:49
Samsung Galaxy 🔥 #shorts  #trending #youtubeshorts  #shortvideo ujjawal4u
0:10
Ujjawal4u. 120k Views . 4 hours ago
Рет қаралды 8 МЛН
Что делать если в телефон попала вода?
0:17
Лена Тропоцел
Рет қаралды 851 М.
Cheapest gaming phone? 🤭 #miniphone #smartphone #iphone #fy
0:19
Pockify™
Рет қаралды 4,1 МЛН
Отдых для геймера? 😮‍💨 Hiper Engine B50
1:00
Вэйми
Рет қаралды 1,2 МЛН