How Video Compression Works

Поділитися
Вставка
  • Опубліковано 22 січ 2025
  • Have you ever wondered how video streaming is possible? Let's think about how big a typical 1080p video is: 1920x1080 pixels, 24-bits each, 30 frames per second... That's almost 1.5 gigabits per second. How can you transmit that much data, over the air, in real time? The answer is video compression.
    Related Videos:
    How Image Compression Works
    • How Image Compression ...
    How Digital Cameras Process Images
    • How Digital Cameras Pr...
    Video Highlights:
    1. Codecs
    2. Intra-frame (spatial) coding
    3. Inter-frame (temporal) coding
    4. Block motion estimation
    5. Motion compensation
    6. Residual frames

КОМЕНТАРІ • 299

  • @leoisikdogan
    @leoisikdogan  5 років тому +2882

    It was such a nice surprise to see that my video was recommended by Marques Brownlee on my wedding day. Thank you Marques and everyone who came here from his channel! This has been a great wedding gift.

    • @michaelbaldwin99
      @michaelbaldwin99 5 років тому +96

      Congratulations on the wedding!

    • @snowmyr
      @snowmyr 5 років тому +62

      Happy 0th anniversary. This was a very informative video and I hope this exposure gives your channel a boost.

    • @eepysnek
      @eepysnek 5 років тому +14

      Congratulations on your wedding! Cant wait to learn all the machine learning stuff on your channel. Keep up the good work!

    • @codedfotography
      @codedfotography 5 років тому +3

      You welcome
      . Congratulations 🎊

    • @sree6969
      @sree6969 5 років тому +3

      congrats bro

  • @SeanfromSydney
    @SeanfromSydney 5 років тому +1125

    He is sitting in a room - different to the one i'm in now...

    • @uBreeze
      @uBreeze 5 років тому +4

      SeanfromSydney Oh lord.

    • @braakwame_
      @braakwame_ 5 років тому +4

      😂😂😂

    • @aerofxunme
      @aerofxunme 4 роки тому +3

      Who's to blame that you're in a different room than him. 😂

    • @unixtreme
      @unixtreme 4 роки тому

      PTSD

    • @MemesAndvids
      @MemesAndvids 4 роки тому

      lol

  • @bobcoco6047
    @bobcoco6047 5 років тому +192

    Us: Why are we here?
    MKBHD : *Ok so I'm sitting in a Room*

  • @abhinavbodas
    @abhinavbodas 5 років тому +746

    This guy's gonna have the surprise of his life when he sees his video suddenly hit 100k views... Kudos on a nice video though!

  • @nickbu
    @nickbu 5 років тому +145

    came from MKBHD to say Hi
    I've heard you did a gread job
    Gonna watch this after the MKBHD one!

    • @ceptemzorpus
      @ceptemzorpus 8 місяців тому

      did they do a great job?

  • @stephen2282
    @stephen2282 5 років тому +241

    No one: ....
    Literally Nobody:
    MKBHD: *ight imma start this man’s whole career!!!*
    no really dude that was a great video and that's coming from someone that religiously watches techquicke videos.
    all I can say is keep up the good work man, best wishes... btw *subbed*

    • @gp3874
      @gp3874 5 років тому +2

      not funny

    • @feuerfawkes
      @feuerfawkes 5 років тому +5

      This guy is an engineer and a researcher at Intel, has a PhD from UT Austin, and has written some awesome research papers on surface water mapping using satellite imagery and deep learning. UA-cam is more like his hobby.

  • @tigerroar6071
    @tigerroar6071 5 років тому +38

    Thank God, MKBHD referred you. You are a very good teacher, thank you for your service!

  • @hanielbaez5723
    @hanielbaez5723 5 років тому +102

    This video shoud have more likes, great job man.

  • @JustNatanel
    @JustNatanel 5 років тому +28

    MKBHD gang but more importantly you killed it nice video

  • @mattiasu96
    @mattiasu96 6 років тому +94

    Simple, clear and on point. Good job, really!

  • @snowy3896
    @snowy3896 5 років тому +1174

    Who else came here from MKBHD?

  • @alexplus3
    @alexplus3 5 років тому +51

    Not sure what he's saying, but I trust him since Marques sent me🤓

  • @luisfuentes3012
    @luisfuentes3012 Рік тому +2

    I was totally lost on this and came out a pro, awesome video!

  • @SkidooPro1
    @SkidooPro1 5 років тому +13

    Came from MKBHD...stayed for the amazing content. Keep it up! ✌️

  • @ananthakrishnank3208
    @ananthakrishnank3208 Рік тому +1

    Thanks, Leo, for compressing it all within 5 minutes. :)

  • @nirshadnijam2291
    @nirshadnijam2291 Рік тому +1

    Massive respect to the pioneers behind this technology. It is insane how humans are capable of thinking like and implementing it on a computer. Crazy!

  • @paulkibedy5460
    @paulkibedy5460 2 роки тому +2

    Hello; I still cannot understand how video compression works,.................your videos are great to watch..

  • @bjoujak
    @bjoujak 5 років тому +16

    Bro you're about to get some legit viewsssss

  • @theghostmachine
    @theghostmachine 5 років тому +1

    As someone who is very interested in machine learning finding your channel was a gift. Glad MKBHD sent me here.

  • @Danielle-ew1el
    @Danielle-ew1el 5 місяців тому

    every video you upload is a gem, filled with wisdom and fun!

  • @codedfotography
    @codedfotography 5 років тому +5

    Mkbhd fans here.?
    This guy did a great job being able to get a recommendation from mkbhd

  • @NovemberBegin
    @NovemberBegin 5 років тому +1

    Tbh Marques was right--this is a very clear and concise explanation of video compression. It even introduces technical features like I-frames

  • @Aanandkrs
    @Aanandkrs 5 років тому +3

    Your videos have remarkable quality. I especially love the ones on AI. Was looking for a good channel to learn about AI as well. I'm glad Marquess brought me here... You definitely earned my sub...

  • @ling6701
    @ling6701 3 роки тому +2

    Thanks for the explanations. At 1:22 though, I believe it should be saying "temporal (inter-frame)", and not "temporal (intra-frame)".

  • @gz9975
    @gz9975 5 років тому +39

    In b4 MKBHD puts this video at 2 million views.

    • @Lyf4rMusic
      @Lyf4rMusic 5 років тому

      nah, still 28k itself :/

  • @ryanedwardofficial
    @ryanedwardofficial 5 років тому +4

    Congrats on the shoutout man!

  • @shubham_srt
    @shubham_srt 5 років тому +3

    Congratulations brother your channel is about to BOOST! Thanks to MKBHD for putting your link in his video. As this channel is really good and educational you will definately gain more subs!

  • @imvinayak32
    @imvinayak32 Рік тому +1

    I can't imagine how you explained this so easily.
    You made it so easy and understandable that i can't believe... 😊 Thanks for making.
    Please explain more concepts of AI like this.

  • @bobbanana13
    @bobbanana13 5 років тому +2

    Came from mkbhd. Subscribing for support. Good luck!

  • @KaneSanMiguel
    @KaneSanMiguel 5 років тому +17

    MKBHD sent me. Views about to skyrocket lol

  • @saivishwanath958
    @saivishwanath958 6 років тому +2

    I love your videos. You are my spirit animal in computer vision.

  • @xugefu
    @xugefu 2 роки тому

    Thanks!

  • @wolfsch
    @wolfsch Рік тому +1

    Hi, I think I spotted an inconsistency.
    At 01:06 and 01:21 both say “intra-fame”.
    Later at 03:15 you speak of “intra-frame” and “inter-frame” compression.
    Does that mean the slide at 01:21 should've said “inter-frame”?

  • @WonderWhy66
    @WonderWhy66 5 років тому +1

    All the best for 100k views buddy!

  • @choshi007
    @choshi007 2 роки тому

    This is one of the best videos I've ever seen summarizing video coding. Very succinct and informative!!

  • @Nicklefritz
    @Nicklefritz 5 років тому +1

    This is an incredibly helpful video; well-put together, clean, and concise. Thank you for what you do!

  • @rithwikreddyd
    @rithwikreddyd 5 років тому +1

    MKBHD finally referred to a very good teacher. Very good decode man.
    Gotta be tryin' for a Great encoder.
    I'm ready for you in 10 years'.

  • @a-domain8509
    @a-domain8509 5 років тому

    Great video man! You deserve much much more views and like. Keep up your good work. Also congratulations for your wedding :)

  • @omaraniym
    @omaraniym 5 років тому +24

    MKBHD gang taking over

  • @19ozzie83
    @19ozzie83 5 років тому +1

    Congrats on the wedding! Great video!

  • @johneygd
    @johneygd 3 роки тому +1

    It’s just sooo mind blowing how all those video compression formats works,it just blows my mind how the decoder reconstructs and approximates the original frames back,so what we are seeing on tv is not the original footage but an approximated version of it,heck our tv’s can even add extra new frames between wxisting frames to averagely more close approximates mother nature in terms of motion, so what if the footage was only recorded at 12 frames per second,then your 100hz tv can add 8 new frames between 2 existing frames to smooth up the motion,it’s just mind blowing what can be done with less,😁

  • @YanLuo
    @YanLuo 5 років тому +8

    This, will soon be your first 1M view video 😉

  • @CassidyJames
    @CassidyJames 5 років тому

    Awesome explainer. I knew some of how this worked in theory but had never seen such a straightforward explanation. Cheers!

  • @Louukang
    @Louukang Рік тому +1

    anyway you can somehow implement this into obs studio for streaming or give tips on how to get good quality on it?

  • @arpitkumarmishra6220
    @arpitkumarmishra6220 4 роки тому

    Watching your video, after the marques mentioned about block motion estimation, and on searching the same on yt, ur video came first

  • @rajkanjan4792
    @rajkanjan4792 5 років тому +2

    MKBHD bumped this up! Congratulations!!

  • @RamPrakash-bw1hp
    @RamPrakash-bw1hp 5 років тому +1

    Clear and on point, thank you and Congrats Leo

  • @abdielmendez3412
    @abdielmendez3412 5 років тому +1

    Excelent explanation!! subscribing...
    P.S.
    Nice glasses :D

  • @shawn22459
    @shawn22459 9 місяців тому +2

    Actually, 1920x1080i (interlaced) is 1.5Gb/s an 1920x1080p (progressive scan) is 3Gb/s. This is raw uncompressed video.

  • @DevilNeverKnows
    @DevilNeverKnows 10 місяців тому +1

    I'm debating burning 200GB of footage to a 100GB disc by compressing it all but I don't know if 50% is too low

  • @boonschwintrangadisaikul2884
    @boonschwintrangadisaikul2884 4 роки тому

    you are way better than my university lecturer

  • @fritzeyok
    @fritzeyok 2 роки тому

    Very well explained. Many thanks from cameroon.

  • @JonRawlinson
    @JonRawlinson 5 років тому

    great video dude! congrats on the plug from mkbhd!

  • @rajivjoshi1392
    @rajivjoshi1392 5 років тому +6

    We are here to take you to 1m views. Courtesy of Markass Brownie

  • @wastinglifeonyoutube
    @wastinglifeonyoutube 5 років тому +68

    No one :
    Literally No one :
    People came from MKBHD : who's here from MKBHD.

  • @muquietto3764
    @muquietto3764 5 років тому

    this video's explanation is excellent, thank you

  • @NikiWinProd
    @NikiWinProd 2 роки тому +1

    crazy to think about, how a 1gbit connection wouldnt be enough for a 1080p stream.

  • @kingfred9
    @kingfred9 4 роки тому +1

    Great explanation! Thanks

  • @yacines3180
    @yacines3180 6 років тому +1

    How do you prepare your videos to explain fluidly? Do you learn a script by heart? Great video as always

    • @leoisikdogan
      @leoisikdogan  6 років тому +1

      Thanks! I take notes throughout the week. Also, I cut out the pauses and filler sounds in post processing. It's actually noticeable at 4:12.

    • @yacines3180
      @yacines3180 6 років тому +2

      @@leoisikdogan you are a skilled educator, keep doing what you do :)

    • @leoisikdogan
      @leoisikdogan  6 років тому +2

      Thanks for the positive feedback!

  • @SousTerre1
    @SousTerre1 5 років тому

    Marques knew this would happen. He chose a video with low views then referenced the amount of view. Genius.

  • @km-sc4kz
    @km-sc4kz 4 роки тому

    Thanks, i was looking for a good explanation of this stuff.

  • @BenStoneking
    @BenStoneking 5 місяців тому

    Excellent explanation! Thanks for uploading! :)

  • @tofu3317
    @tofu3317 5 років тому +8

    He's gonna be so happyyy

  • @aim__freakz8499
    @aim__freakz8499 4 роки тому

    this is amazing! so much information:) great video

  • @MrMxTech
    @MrMxTech 5 років тому +8

    Marquees Says hi ;)

  • @3DShe
    @3DShe 3 роки тому

    1:17 Temporal (inter*-frame) redundancy.
    Here it is INTER and not as seen in the video, wrongly writing INTRA.
    Am I correct?
    E everything else seems ok.

    • @leoisikdogan
      @leoisikdogan  3 роки тому +2

      Correct, I forgot to change the slide title.

  • @harsha.n9332
    @harsha.n9332 4 роки тому

    Why are you underrated !!!

  • @sametocsy
    @sametocsy 3 роки тому

    Hi, how to make image compression for live web camera ? Is there a resource for this ? github or videos ? can you help me ? please...

  • @jartistical1107
    @jartistical1107 4 роки тому

    You really did a good job! Great Video.

  • @alexijohansen
    @alexijohansen 3 роки тому

    How does the motion of blocks to motion vectors work?

  • @Reecepbcups
    @Reecepbcups 5 років тому

    Great video, really interesting and looking forward to looking more into this

  • @azimakhtarshenas2501
    @azimakhtarshenas2501 5 років тому

    Or any recommendation for starting??? thanks a lot man

  • @shahravi7390
    @shahravi7390 5 років тому

    guess who ? MKBHD linked this video ! Your channel is going to grow rapidly dude !!

  • @theevilapple_
    @theevilapple_ Рік тому

    3:50 what about AV1?

  • @cim4real
    @cim4real 5 років тому

    Great video. Informative and easy to understand. Thanks.

  • @OkiDingo
    @OkiDingo 5 років тому +1

    This dude "HAD" only 1,000 views yesterday, today 17,006......Lets get this dude 1 mil views!!!!

  • @avramukk
    @avramukk 8 місяців тому +1

    good job

  • @rishabhsingh7041
    @rishabhsingh7041 3 роки тому

    Would temporal compression be a lossy one or lossless ?

  • @bbcversus
    @bbcversus 4 роки тому

    Really useful stuff, thanks for sharing!

  • @hdmoviesource
    @hdmoviesource 2 роки тому

    Hi, is it possible to place more emphasis on predicted frames? In the case of movement for example? So smearing is less of an issue?

  • @Archer-hg9rw
    @Archer-hg9rw 4 роки тому

    I've been lately noticing a little bit of stuttering in movies on Netflix could the compression of the videos make them less smooth?

  • @aditya27_raj
    @aditya27_raj 5 років тому +5

    Mkbhd has shared this video, it’s pretty soon going to get over Million views 😂

  • @Bugside
    @Bugside 5 років тому +2

    You sound like a nice person, just saying
    (good video too)
    congrats on the wedding

  • @NoSeriousName42
    @NoSeriousName42 4 роки тому

    Good one. Thanks, now i can answer the question my students asked :)

  • @1-10-1-4
    @1-10-1-4 2 роки тому +1

    irrelevant but i really love ur voice

  • @amilcarchissola2262
    @amilcarchissola2262 2 роки тому

    Best video oabout compression of video.

  • @blipmachine
    @blipmachine 5 років тому +1

    *MKBHD:* It's only got a couple of thousand views.
    *Also MKBHD:* I'm gonna blow up this guy's whole career!

  • @spider853
    @spider853 3 роки тому

    Aren't motion vectors inverse? like the next frame takes data from previous frame so there might be a case where 2 regions take data from same region? The way it's shown here looks like the regions are scrambled by motion and you end witht a lot of empty spaces (like 100x100 regions will result in 1:1 100x100 regions which I guess it's not the case in real scenario)? correct me if I'm wrong

  • @wongsanggar
    @wongsanggar 5 років тому +1

    Great explanation! I come from MKBHD test.

  • @Weckmuller
    @Weckmuller 3 роки тому

    Very nice video! Thanks!

  • @dinhvanthanhk17hcm96
    @dinhvanthanhk17hcm96 2 роки тому

    such a great video !

  • @jake8217
    @jake8217 5 років тому +2

    Can't believe I got here before the expected explosion in views.

  • @aartisong7402
    @aartisong7402 4 роки тому

    Can you explain compression algorithm

  • @Kevinhanot
    @Kevinhanot 5 років тому

    Thanks, it helped me to understand how compression works :-)

  • @ShuZhang-tx3vb
    @ShuZhang-tx3vb Рік тому +1

    Good stuff!

  • @vivaseussonhos
    @vivaseussonhos 4 роки тому

    Question. how is it 1.5 gigabits per second if the video size isn't close to that? Sorry if this is a stupid question. in my age, technology did not exist.

  • @monky91
    @monky91 5 років тому

    Very nicely done video

  • @elementpenguin2111
    @elementpenguin2111 5 років тому

    Do you mean to put INTER frame at the 1:20 mark?

    • @leoisikdogan
      @leoisikdogan  5 років тому

      Correct, I forgot to update the slide title.

  • @kritsaphongphuthibpaphaisi1509
    @kritsaphongphuthibpaphaisi1509 4 роки тому

    Great explanation

  • @bigfactsbigstacks6261
    @bigfactsbigstacks6261 2 роки тому

    This video is so good!