Introduction to H.264 Advanced Video Compression

16,475 views

Published on

Learn about the popular H.264 / MPEG-4 Advanced Video Compression standard.

2 Comments
21 Likes
Statistics
Notes
  • I'll be at the Consumer Electronics Show, Las Vegas, on 6th and 7th January 2011, with a demonstration of our new OneCodec video technology. Get in touch if you want to find out more.
    http://onecodec.com/
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Sign up for my next webinar, 'getting the best out of H.264', a one-hour presentation on 17th Nov 2010 at 4.30pm GMT (that's 8.30am Pacific time and 11.30am East Coast time in the US). It's free to attend and you get the chance to ask questions during the talk.

    Register here:
    http://www.brighttalk.com/webcast/23533
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total views
16,475
On SlideShare
0
From Embeds
0
Number of Embeds
46
Actions
Shares
0
Downloads
1,457
Comments
2
Likes
21
Embeds 0
No embeds

No notes for slide

Introduction to H.264 Advanced Video Compression

  1. 1. An introduction to H.264 Advanced Video Compression Iain Richardson 22 nd March 2010 V CODEX
  2. 2. Agenda <ul><li>1. What is H.264 Advanced Video Compression? </li></ul><ul><li>2. How H.264 works </li></ul><ul><ul><li>- prediction </li></ul></ul><ul><ul><li>- transform + quantization </li></ul></ul><ul><ul><li>- coding </li></ul></ul><ul><li>3. The H.264 syntax </li></ul><ul><li>4. Examples </li></ul><ul><li>5. Going deeper </li></ul>
  3. 3. Agenda <ul><li>1. What is H.264 Advanced Video Compression? </li></ul><ul><li>2. How H.264 works </li></ul><ul><ul><li>- prediction </li></ul></ul><ul><ul><li>- transform + quantization </li></ul></ul><ul><ul><li>- coding </li></ul></ul><ul><li>3. The H.264 syntax </li></ul><ul><li>4. Examples </li></ul><ul><li>5. Going deeper </li></ul>
  4. 4. Video compression H.264 MPEG-4 MPEG-2 Broadcast Digital TV DVD / Blu-Ray IPTV Web Video Mobile Video …… ……
  5. 8. Agenda <ul><li>1. What is H.264 Advanced Video Compression? </li></ul><ul><li>2. How H.264 works </li></ul><ul><ul><li>- prediction </li></ul></ul><ul><ul><li>- transform + quantization </li></ul></ul><ul><ul><li>- coding </li></ul></ul><ul><li>3. The H.264 syntax </li></ul><ul><li>4. Examples </li></ul><ul><li>5. Going deeper </li></ul>
  6. 9. Digital video Displayed frame Luma (Y) Chroma (Cb) Chroma (Cr)
  7. 10. Macroblock
  8. 11. H.264 Encoder
  9. 12. H.264 decoder
  10. 13. Prediction
  11. 14. Intra prediction
  12. 16. Inter prediction
  13. 18. H.264 Encoder
  14. 19. Inverse Transform
  15. 20. Forward Transform
  16. 21. Forward Quantize
  17. 22. Forward Transform + Quantize Block of samples Integer transform Quantized, QP=18 961 -41 15 -48 -34 72 -30 -104 -15 3 15 24 13 81 -5 8 58 64 51 58 52 64 56 66 62 63 61 64 59 51 63 69 48 -1 0 -1 -1 1 -1 -2 0 0 0 0 0 1 0 0
  18. 23. Inverse Quantize
  19. 24. Inverse Transform
  20. 25. Block of samples Quantized, QP=18 Rescaled + inverse transformed 58 64 51 58 52 64 56 66 62 63 61 64 59 51 63 69 48 -1 0 -1 -1 1 -1 -2 0 0 0 0 0 1 0 0 55 66 54 58 54 62 58 63 61 59 61 62 60 55 65 67
  21. 26. H.264 Encoder
  22. 27. Entropy coding Headers Prediction parameters Quantized coefficients Fixed length codes Exp-Golomb codes Context Adaptive Variable Length Codes Context Adaptive Binary Arithmetic Codes
  23. 28. Agenda <ul><li>1. What is H.264 Advanced Video Compression? </li></ul><ul><li>2. How H.264 works </li></ul><ul><ul><li>- prediction </li></ul></ul><ul><ul><li>- transform + quantization </li></ul></ul><ul><ul><li>- coding </li></ul></ul><ul><li>3. The H.264 syntax </li></ul><ul><li>4. Examples </li></ul><ul><li>5. Going deeper </li></ul>
  24. 32. …… etc
  25. 33. Agenda <ul><li>1. What is H.264 Advanced Video Compression? </li></ul><ul><li>2. How H.264 works </li></ul><ul><ul><li>- prediction </li></ul></ul><ul><ul><li>- transform + quantization </li></ul></ul><ul><ul><li>- coding </li></ul></ul><ul><li>3. The H.264 syntax </li></ul><ul><li>4. Examples </li></ul><ul><li>5. Going deeper </li></ul>
  26. 38. Agenda <ul><li>1. What is H.264 Advanced Video Compression? </li></ul><ul><li>2. How H.264 works </li></ul><ul><ul><li>- prediction </li></ul></ul><ul><ul><li>- transform + quantization </li></ul></ul><ul><ul><li>- coding </li></ul></ul><ul><li>3. The H.264 syntax </li></ul><ul><li>4. Examples </li></ul><ul><li>5. Going deeper </li></ul>
  27. 39. Going deeper… <ul><li>Prediction, transform, coding in detail </li></ul><ul><li>Parameters, profiles, levels </li></ul><ul><li>Optimizing H.264 </li></ul><ul><li>Implementing H.264 </li></ul><ul><li>Extensions – Scalable Video Coding, Multiview Video Coding </li></ul><ul><li>Configurable Video Coding </li></ul>
  28. 40. To find out more <ul><li>http://www.itu.int - Download the H.264 standard </li></ul><ul><li>http://www.vcodex.com - Free tutorials </li></ul><ul><li>http://www.dc ktn .org.uk - Digital Communications Knowledge Transfer Network </li></ul><ul><li>http://tinyurl.com/h264book2 - My new book </li></ul><ul><li>Follow me on Twitter: @ onecodec </li></ul>

×