←back to thread

230 points perryflynn | 1 comments | | HN request time: 0s | source
Show context
Animats ◴[] No.43748045[source]
JPEG 2000 for each frame? I wonder what they use for decompression. JPEG 2000 decompressors are really slow. Most couldn't keep up with frame rate without GPU support.
replies(2): >>43748484 #>>43750277 #
userbinator ◴[] No.43748484[source]
Dedicated hardware, not even regular GPUs. JPEG2000 decompression has a rather complex entropy decoding part which is not easily parallisable.
replies(2): >>43749538 #>>43751675 #
fulafel ◴[] No.43749538[source]
Only on the intraframe level - Frames are independent so overall it's "embarrassingly parallel".
replies(1): >>43753601 #
crazygringo ◴[] No.43753601{3}[source]
There's no point to decoding in parallel if you're watching in sequence.
replies(1): >>43753942 #
dsr_ ◴[] No.43753942{4}[source]
If your hardware can only manage 4 frames per second but you need 48, then decoding with 12 sets of hardware in parallel achieves your goal.
replies(2): >>43755040 #>>43758099 #
Animats ◴[] No.43758099{5}[source]
Although you still have four frames of latency if you do it that way. All the audio has to be delayed to match. Parallelized decode of JPEG 2000 frames is quite possible, though.

The choice of JPEG 2000 is unexpected. Most of the neat features of JPEG 2000 are useless for cinema. Being able to construct a low-rez version from a truncated file isn't useful. Nor is the ability to divide the image into tiles and decompress different tiles at different resolution. (That's used in JPEG 2000 medical and military imagery, where you want to zoom in on the interesting part and see it in lossless mode.) You can have more than RGB or RGBA layers, which the multispectral imagery and prepress people like. Maybe the advantage is that you can have more than 8 bits of color depth.

replies(2): >>43759117 #>>43760467 #
1. nehalem501 ◴[] No.43760467{6}[source]
The ability to read a lower rez version of the images is a feature that is actively used. That way you don’t need to have both a 2K and 4K DCP for movies that have a 4K version, 2K projectors can simply decode the 4K DCP at 2K resolution.