The jetson multimedia api sample 06 for jpeg decoding does not work for multiple input jpeg files. The first jpeg gets decoded and saved correctly, but the remaining jpeg files are ignored and the first is duplicated instead. All input JPEGs are of the same size, which as tested is 2064x2056. Tried both decode-fd and decode-buffer options, neither of them works. The only workaround I have found is to create and destroy the decompress struct for each file separately, which I am going to avoid as the library generates info messages to stdout for each create/destroy call.
Hi,
This is known and we are checking it. As a quick solution, please use software decoder such as:
Different outputs from decodeToFd when decoding JPEG image using JetPack 5.1.2 vs 5.0.1 - #6 by DaneLLL
Or run gstreamer command and use nvv4l2decoder like:
... ! nvv4l2decoder mjpeg=1 ! ...
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.