MegaPixel icon indicating copy to clipboard operation
MegaPixel copied to clipboard

avifenc does not encode large 108 megapixel images

Open AlFmla opened this issue 5 years ago • 5 comments

avifenc does not encode large 108 megapixel images

AlFmla avatar Aug 13 '20 12:08 AlFmla

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

Alkl58 avatar Aug 13 '20 14:08 Alkl58

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?

AlFmla avatar Aug 13 '20 16:08 AlFmla

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

Alkl58 avatar Aug 13 '20 16:08 Alkl58

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 avatar Aug 13 '20 20:08 AlFmla

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.

AlFmla avatar Aug 15 '20 22:08 AlFmla