H.264 Is Magic (2016)
- ID
- 41053
- Status
- summarized
- Published
- 29 Oct 2026, 11:53 PM
- Fetched
- 30 Oct 2026, 1:06 PM
- Provider
- Hacker News
- Category
- dev-community
- Original URL
- https://sidbala.com/h-264-is-magic/
- Source URL
- https://hnrss.org/best
Summary
- Score
- 6.0
- Created
- 30 Oct 2026, 1:07 PM
- Tags
- Audience
- developersvibe_coders
What happened
H.264 Is Magic is a 2016 technical explainer on how H.264 compresses video, using concrete examples: raw 1080p at 60 Hz is about 370 MB/sec, and a 5-second 60fps H.264 capture of the Apple homepage is 175KB versus 1015KB for a single PNG screenshot. It frames H.264 as lossy compression that discards less important bits, and notes the concepts apply to video compression generally.
Why it matters
If you build anything that stores or ships screen/video content, the 175KB-for-300-frames versus 1015KB-per-PNG example is a reminder that H.264's advantage is motion plus lossy encoding, not a universal 1500x win; test your own content and keep lossless masters when exact pixels matter.
Discussion angle
When is H.264's lossy 175KB versus PNG's 1015KB a fair trade for your product, and which workflows still need exact-pixel lossless captures?