problem about nvjpegdec and nvvidconv : nvbuf_utils: nvbuffer Payload Type not supported

This is work but fps is low (~ 3 fps) and one cpu load is full
gst-launch-1.0 v4l2src device=/dev/video1 io-mode=2 ! image/jpeg,width=3264,height=2448,framerate=15/1 ! nvjpegdec ! video/x-raw,format=I420 ! fpsdisplaysink

This is work and Decode time is about 13ms, is very fast
gst-launch-1.0 v4l2src device=/dev/video1 io-mode=2 ! image/jpeg,width=3264,height=2448,framerate=15/1 ! nvjpegdec Enableperf=True ! fakesink

My aim is using nvvidconv to generate RGB image with high speed for post processing. But I failed.

This is not work:
gst-launch-1.0 v4l2src device=/dev/video1 io-mode=2 ! image/jpeg,width=3264,height=2448,framerate=15/1 ! nvjpegdec ! video/x-raw,format=I420 ! nvvidconv ! video/x-raw,width=640,height=480,format=I420 ! fpsdisplaysink

ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error.

This is not work:
gst-launch-1.0 v4l2src device=/dev/video1 io-mode=2 ! image/jpeg,width=3264,height=2448,framerate=15/1 ! nvjpegdec ! video/x-raw(memory:NVMM),format=I420 ! nvvidconv ! video/x-raw,width=640,height=480,format=I420 ! fpsdisplaysink

nvbuf_utils: nvbuffer Payload Type not supported
gst_nvvconv_transform: NvBufferGetParams Failed
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error.

This is work, but fps is also low ( ~4fps) and all cpu load is low
gst-launch-1.0 v4l2src device=/dev/video1 io-mode=2 ! image/jpeg,width=3264,height=2448,framerate=15/1 ! nvjpegdec ! video/x-raw,format=I420 ! nvvidconv ! video/x-raw(memory:NVMM),format=I420 ! nvvidconv ! video/x-raw,width=640,height=480,format=I420 ! fpsdisplaysink

How to solve this problem?

Note:
libnvjpeg.so is patched. (https://elinux.org/L4T_Jetson/r32.2.1_patch)
L4T version 32.2.3
uvcdynctrl -d video1 -f
Listing available frame formats for device video1:
Pixel format: MJPG (Motion-JPEG; MIME type: image/jpeg)
Frame size: 3264x2448
Frame rates: 15
Frame size: 2592x1944
Frame rates: 20
Frame size: 2048x1536
Frame rates: 20
Frame size: 1920x1080
Frame rates: 30
Frame size: 1600x1200
Frame rates: 30
Frame size: 1080x1920
Frame rates: 30
Frame size: 1280x720
Frame rates: 30
Frame size: 720x1280
Frame rates: 30
Frame size: 800x600
Frame rates: 30
Frame size: 640x480
Frame rates: 30
Pixel format: YUYV (YUYV 4:2:2; MIME type: video/x-raw-yuv)
Frame size: 640x480
Frame rates: 30
Frame size: 800x600
Frame rates: 20
Frame size: 720x1280
Frame rates: 10
Frame size: 1280x720
Frame rates: 10
Frame size: 1080x1920
Frame rates: 5
Frame size: 1600x1200
Frame rates: 5
Frame size: 1920x1080
Frame rates: 5
Frame size: 2048x1536
Frame rates: 2
Frame size: 2592x1944
Frame rates: 2
Frame size: 3264x2448
Frame rates: 2

Hi,
Please apply the patch and rebuild libgstnvjpeg.so:
https://devtalk.nvidia.com/default/topic/1049311/jetson-agx-xavier/nvjpegdec-slower-then-jpegdec-in-gstreamer/post/5348034/#5348034

With the patch you should be able to run

gst-launch-1.0 v4l2src device=/dev/video1 io-mode=2 ! image/jpeg,width=3264,height=2448,framerate=15/1 ! nvjpegdec ! video/x-raw\(memory:NVMM\),format=I420 ! nvvidconv ! video/x-raw,width=640,height=480,format=I420 ! fpsdisplaysink

nvjpegdec is now working properly. CPU & GPU load are both low and FPS is about 5.2, not fast as I exptected.
https://pan.baidu.com/s/13-6PB-1_wZ-cHaeBVV092w is linked to libgstjpeg.so I build and anyone can use it freely.