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.
Thanks!


Hi,
Please fetch the source of gstjpeg,
https://developer.nvidia.com/embedded/dlc/r32-2-1_Release_v1.0/TX2-AGX/sources/public_sources.tbz2
apply attached patch, rebuild/replace ligstnvjpeg.so, and try again.

r32_21_TEST_0001-gst-jpeg-Check-IsVendorbuf-flag-for-H-W-decoding.zip (661 Bytes)

Hi DaneLLL

do you have a fixed ligstnvjpeg.so available ?

TIA

Hi,
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.