logoalt Hacker News

fwlr • today at 5:09 AM • 3 replies • view on HN

Potentially, although raw pixel data presents its own challenges - one 1080p60 camera will fill a terabyte of storage in less than an hour.

A better mitigation might be to take a leaf from cryptography and develop a constant-time codec.


Replies

akoboldfrying • today at 8:26 AM

Makes sense. It might be possible to develop a codec that, in addition to being constant-time, has the property that every prefix of the bits encoding a unit (e.g., a frame or block within a frame) encodes an approximate version of that unit, where the longer the prefix the more faithful the approximation is. Then each unit could be output in full to storage, and the "output file pointer" could then be wound back to a point dependent on how many bits are actually required to represent it accurately -- so keeping the full amount for a full scene change, or just a few bits for the "same as last time" common case.

hanibrel • today at 7:01 AM

Non-branching memory accesses?

Melatonic • today at 6:44 AM

Like all I frames in H264 ?

➕ show 1 reply