Nvjpeg decoder can not work well when decode multiple images

Hi, nvidia teams:
we found a question when use “nvdecoder” in jetpack 5.1.3, if we use it to decode
multiple images, some picture will display the “Green screen”, for debug, I just modify the “jetson_multimedia_api/samples/06_jpeg_decode” code to decode 40 pictures, the patch is in the attachments,put 40 1920*1080 jpg pictures in the folder, and run “. /jpeg_decode num_files 2 test.jpg 1. yuv tes.jpg 2. yuv” ,it will generate 40 yuv pictures named "maintestx.yuv ", the 4th ,8th,12th,16th… , pictures are all “Green screen”,
there md5sum value are all “327aa874c4f4100b5e8483b2d2aa6820”, the result is also in
the attachments, so how to solve this problem?


0001-for-debug-mjpeg-decoder.patch.txt (2.7 KB)

Hi,
Please apply the prebuilt lib and check again:

Jetson/L4T/r35.5.x patches - eLinux.org
[MMAPI/gstramer] NvJpegDecoder/nvjpegdec does not work properly

Hi, DaneLLL:
Thanks very much for your help, I update the nvjpeg.so , the md5sum is “fff1701242bf2bfd66613f3f17f43d2d”, and it can work well. So we can use this new “nvjpeg.so” for our board and product?

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