Remove unwanted prints coming with NvJPEGDecoder

Hi,
I’m using NvJPEGDecoder and it’s function decodeToFd to decode JPEG images to RGBA format. During my transition to JetPack 5.1.2, I have encountered terminal output that wasn’t present in JetPack 5.0.1. The printed messages are as follows:

NvMMLiteBlockCreate : Block : BlockType = 256 
[JPEG Decode] BeginSequence Display WidthxHeight 3120x3120
Image Resolution - 3120 x 3120 //this one doesn't matter
Image Resolution - 3120 x 3120 //this one doesn't matter
Image Resolution - 3120 x 3120 //this one doesn't matter
[JPEG Decode] NvMMLiteJPEGDecBlockPrivateClose done
[JPEG Decode] NvMMLiteJPEGDecBlockClose done

Is there is a method to suppress or eliminate these prints from the terminal output?
Thanks in advance for your assistance!

Best regards,
Romil Aggarwal

Hi,
For confirmation, you are requesting remove the prints:

[JPEG Decode] BeginSequence Display WidthxHeight 3120x3120
[JPEG Decode] NvMMLiteJPEGDecBlockPrivateClose done
[JPEG Decode] NvMMLiteJPEGDecBlockClose done

Since these are not printed for decoding every frame, it looks fine to have the pirnts.

Along with the 3 you mentioned, I want to remove the first line as well. Yes, even tho they are appearing once, I still wish to remove them. Is it possible to do so?

@DaneLLL My apologies for tagging you once again, but some time has passed without a response. I’m still looking for a solution or workaround for this issue.
Additionally, there’s another open issue on the same API: Link. Would it be possible to provide a solution for this issue as well when the linked problem is solved? Thank you for your assistance.

Hi,
We think it is fine to have the prints since it it printed at head and tail. Not printed for each frame. It looks to be a good information to show decoder is initialized and running.

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