Jpeg encoder failed with Tegra Acceleration failed

We are using

R32 (release), REVISION: 5.0, GCID: 25531747, BOARD: t186ref, EABI: aarch64, DATE: Fri Jan 15 23:21:05 UTC 2021

And we run JpegEncoder with 2400x2000 for a long time and everything is fine.
Recently we decide to run it with a cropped size, and it has been fine for a few days with thousands of images written out correctly, but it crashed almost randomly today with

Tegra Acceleration failed

The only thing i can find is that the image is 1605 x 1448, with quality 95.

Any idea what can be the reason? how should we even debug this?

Could you try with even-value width? We have seen an issue about odd-value width. Please check:
Saving image to a file using NvJPEGEncoder - #4 by DaneLLL

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.