Alkl58 / MegaPixel

GUI for avif, webp, jpegxl, mozjpg and ect
25 stars 2 forks source link

avifenc does not encode large 108 megapixel images #2

Open AlFmla opened 4 years ago

AlFmla commented 4 years ago

avifenc does not encode large 108 megapixel images

Alkl58 commented 4 years ago

Please elaborate what this issue has to do with this GUI? For me it sounds more like a technical limitation of the encoder itself.

AlFmla commented 4 years ago

Yes, I'm sorry, I don't know where to report this issue. Only encoding in qavif-viewer does not have this problem. What is the difference between avif encoders here and in qavif-viewer?

Alkl58 commented 4 years ago

I successfully encoded a 100 megapixel image. May I ask you witch codec/extension your picture has?

AlFmla commented 4 years ago

I understand the reason! avifenc requires a lot of RAM for large files, especially with Color Format 444. I have 16GB of RAM, not enough even with Color Format 400 to encode 108 megapixel images! You need to set Color Format to 420 by default so that people can encode large files with little RAM. Can you report this issue to the avifenc developers? qavif-viewer only uses 2.5GB of memory to encode 108 megapixel images, how?

AlFmla commented 4 years ago

avifenc uses only AOM codec. Can you, or anyone else, Building avifenc with AVIF_CODEC_RAV1E? I don't know how. It would be very interesting to compare codecs. And perhaps the problem with large files would have been solved.