How to fix error while using nvimgcodecImageCreate() function in nvImageCodec?

Now I am testing Decoder feature of nvImageCodec.
I worked on Jetson AGX Orin 64GB with Jetpack 6.0 DP and JetPack 5.1.2. In addition, I tested also on Ubuntu 22.04 (x86_64 system) with CUDA 12.2.
nvImageCodec is installed following this guide in the link: Guide to install nvImageCodec lib on Jetson
After installing successfully, I tried to do a test on this library by this guide: C API Samples
For single image decode, I met an error in the Step 5, at this code line:

nvimgcodecImageCreate(instance, &image, &input_image_info);

This function calling returns a status of NVIMGCODEC_STATUS_INVALID_PARAMETER.
So I want to require any help for this issue from anyone.
Thanks in advance.

Hi,
For now this is not supported on Jetson platforms. Please use NvJpegDecoder class to use hardware JPEG codec.

Document
Jetson Linux API Reference: Main Page | NVIDIA Docs

Samples
/usr/src/jetson_multimedia_api

Thanks Dane.
However, I tested on Intel CPU x86_64 too, and I still faced the same issues with C API.

Hi,
For the issue on x86, please continue in
How to fix error while using nvimgcodecImageCreate() function in nvImageCodec?

This is not supported on Jetson platforms.

1 Like

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