News for hackers. Stuff that matters.
Re:How does a video codec work? by EvanAnderson on Saturday November 23, 2019 @04:19PM (#21616626)
You're mixing Si units and IEC units[1]. The article's measurement of 278 GB (sic) is really 278 GiB.

1280 horizontal resolution x 720 vertical resolution x 3 8-bit bytes per pixel x 30 frames per second x 3600 seconds per hour is 298,598,400,000 bytes per hour. 1GiB (1,024 bytes x 1,024 KiB x 1,024 MiB) is 1,073,741,824 bytes. Dividing that out gives ~278.09 GiB.

[1] https://en.wikipedia.org/wiki/Binary_prefix

Re:How does a video codec work? by lightedman on Sunday November 24, 2019 @12:24PM (#21621829)
I'm responding directly to the GB claim. I'm very well-aware of binary prefix (in fact several of my other online names are those very words) and the general industry-wide mix-up that is used on the common consumer is to start with KiB and then just run that in plain units of 1,000 for MB and GB, which is what I went with.