The pipeline with nvjpegenc works abnormally on R32.2.1

The pipeline with nvjpegenc works abnormally on R32.2.1,the output picture is a green picture.
But it works well on R28.1
The pipeline and zhe output is:

nvidia@tegra-tx2:~$ gst-launch-1.0 filesrc location=1.jpg ! nvjpegdec ! video/x-raw,format=I420 ! nvjpegenc ! filesink location=B.jpg
nvbuf_utils: Could not get EGL display connection
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 0:00:00.000673344
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

What is the difference between the R32.2 and R28.1 on the usage of the nvjpegenc.

Please fetch the source of gstjpeg,
apply attached patch, rebuild/replace, and try again. (661 Bytes)

Hi DaneLLL

do you have a fixed available ?


For open source code, we give the patch and encourage users to apply it and rebuild the library. Please download the source code and check README. Thanks.