Live data from Hacker News

Is JPEG 2000 a preservation risk? (2013)

blogs.loc.gov

61–70 of 87 posts

Re: Is JPEG 2000 a preservation risk? (2013)

#61

Earlier quoted context omitted.

As the thread says - it’s compressed. I’m giving uncompressed sizes as an upper bound.

The GP is pointing out that storing an uncompressed film isn't useful if it can't be played back. Playing back an uncompressed 4K film is nearly 600M B ps. That's a data rate you're not going to get out of any consumer HDDs.

But they're not uncompressed. They're compressed. You don't need to play them back uncompressed. You can even compress them losslessly.

Re: Is JPEG 2000 a preservation risk? (2013)

#62

Earlier quoted context omitted.

I think people mis-estimate file sizes these days - two hours of completely uncompressed 4K video is under 5 TB. Fits on a basic consumer external hard drive no problem. Send it by mail. https://toolstud.io/video/filesize.php?width=3840&height=216...

How common is 4K at 24fps though? I'd expect 4K to usually use higher framerates than that.

> I'd expect 4K to usually use higher framerates than that.

They tried higher frame rates with for example the Hobbit, remember, and lots of people didn't like it for some silly reason.

Re: Is JPEG 2000 a preservation risk? (2013)

#63

There is no such thing as preservation risk for digital formats. This has been studied. Do whatever. The only thing that matters is publishing it in the first place and backing up on hardware that's not at preservation risk. This is great example of fake science (Is it just "science" now?) keep the underclass constantly anxious about things that don't exist so they keep paying academics wages to do nothing but supply…

Did you even read the article? What's the point of perfectly backing up a file on whatever hardware, if the format of that file becomes obsolete and hard to read in the future?

Re: Is JPEG 2000 a preservation risk? (2013)

#64
post #59
post #57

Earlier quoted context omitted.

Convert them to JPEG XL instead. It seems to be the future widely supported format, and it can loselessly convert back and forth with regular JPEG.

I don't think you can ever convert to a regular JPEG and the outcome will be lossless. Like Webp ,JPEG XL has a lossless setting but it has to remain there.

I tried it on my computer. Converting from JPEG to JPEG XL and then back to JPEG gets you a bit-wise identical JPEG file.

Re: Is JPEG 2000 a preservation risk? (2013)

#65
post #23

Earlier quoted context omitted.

This benchmark is showing 4k decoding on commodity hardware from 2018 fast enough for movie theaters. https://www.fastcompression.com/benchmarks/decoder-benchmark... So, presumably they could have swapped to commodity hardware a while ago.

The fastest decoder there uses the GPU, not the CPU. The fastest one that runs on a CPU, Kakadu (proprietary), is far behind.

> The fastest decoder there uses the GPU, not the CPU.

How does that matter? It was a reply to your incorrect claim:

> it's decoded by (no doubt extremely expensive) hardware

Re: Is JPEG 2000 a preservation risk? (2013)

#66
post #43
post #22

Earlier quoted context omitted.

ImageMagick and GNU parallel happily max-out all cores on my machine and convert a few hundred images per second: find -type f -name '*.jp2' | parallel --xargs --max-args=1 convert {} {.}.jpg

Would be yet another lossy transcode, though.

Use JPEG XR, that has a lossless mode and better compression than you would get with .png. Though of course that puts you at risk of using yet another unproven format. Though it seems to be on track to become the JPEG successor from what I understand.

Re: Is JPEG 2000 a preservation risk? (2013)

#67
post #64
post #59

Earlier quoted context omitted.

I don't think you can ever convert to a regular JPEG and the outcome will be lossless. Like Webp ,JPEG XL has a lossless setting but it has to remain there.

I tried it on my computer. Converting from JPEG to JPEG XL and then back to JPEG gets you a bit-wise identical JPEG file.

I'm guessing the opposite (XL -> JPEG -> XL) does not work, i.e., "losslessly convert back and forth with regular JPEG".

Re: Is JPEG 2000 a preservation risk? (2013)

#68

Earlier quoted context omitted.

Fun fact, whenever you go to the movies, films (that are projected digitally) are encoding in JPEG2000 (wrapped in a MXF in XYZ Colourspace). We also use it for our 3D renders for archviz, and is supported in our editing applications aswell... lower filesize compared to PNG, and better quality compared to JPG, and also supports alphas.

In other words, motion JPEG2000, and it's decoded by (no doubt extremely expensive) hardware. There's no way a general-purpose CPU can decode in realtime otherwise.

The digital cinema projectors have hardware JPEG 2000 decoders. This IP is licensed from companies like IntoPIX:

https://www.intopix.com/JPEG2000

Most post-production software that reads/writes DCPs will be using a GPU JPEG2000 encoder & decoder, like this from Comprimato:

https://comprimato.com/products/comprimato-jpeg2000/

Re: Is JPEG 2000 a preservation risk? (2013)

#69
post #64

Earlier quoted context omitted.

I tried it on my computer. Converting from JPEG to JPEG XL and then back to JPEG gets you a bit-wise identical JPEG file.

I'm guessing the opposite (XL -> JPEG -> XL) does not work, i.e., "losslessly convert back and forth with regular JPEG".

Just tried it and JPEG -> XL -> JPEG -> XL is bit-wise identical between the two JPEGs and bit-wise identical between the two JPEG XLs.

Re: Is JPEG 2000 a preservation risk? (2013)

#70
post #24

Earlier quoted context omitted.

Fun fact, whenever you go to the movies, films (that are projected digitally) are encoding in JPEG2000 (wrapped in a MXF in XYZ Colourspace). We also use it for our 3D renders for archviz, and is supported in our editing applications aswell... lower filesize compared to PNG, and better quality compared to JPG, and also supports alphas.

JPEG2000 is big in medical imaging as well.

I'll mention libraries and museums as well. Instead of having a tiff available of high quality record images, some institutions use jpeg2000 and a zoomable js library like openseadragon.

In this case, the jpeg 2000 is probably considered a derivative and thus not a big issue for preservation.

Post reply on HN