Skip to content

[ERROR] [nvjpeg_cuda_encoder] Could not encode jpeg code stream - nvjpeg error #8 #30

@lantudou

Description

@lantudou

Describe the question.

When using the JPEG encoder, the following error message appears when processing smaller-sized images:
[ERROR] [nvjpeg_cuda_encoder] Could not encode jpeg code stream - nvjpeg error #8 (internal error) when running nvjpegEncodeYUV(handle_, state, encode_params.get(), &input_image, input_chroma_subsampling, image_info.plane_info[0].width, image_info.plane_info[0].height, image_info.cuda_stream) at /home/jenkins/agent/workspace/nvimagecodec/helpers/release_v0.4.0/Release_12/build/extensions/nvjpeg/cuda_encoder.cpp:420.
However, the saved image looks like correct. I would like to confirm whether, in this case, the encoding falls back from GPU nvjpeg to CPU. Additionally, is there a way to suppress this error message or change it to a warning?

Check for duplicates

  • I have searched the open bugs/issues and have found no duplicates for this bug report

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions