Nvv4l2decoder jpeg color wrong

on jetson nano, we used following command to decode jepg files, but the output color is wrong, shifted.

gst-launch-1.0 multifilesrc location=mjpeg_%03d.jpg start-index=0 stop-index=0 loop=true caps=“image/jpeg” ! nvv4l2decoder mjpeg=true enable-max-performance=1 ! “video/x-raw(memory:NVMM),width=2048,height=1536,framerate=30/1” ! nvvideoconvert ! “video/x-raw(memory:NVMM),width=1024,height=768,format=RGBA,framerate=30/1” ! nvoverlaysink sync=false qos=false overlay-x=0 overlay-y=0 overlay-w=1024 overlay-h=768

please find in attached source jpeg “mjpeg_000.jpg” and the output screen shot “result.jpg”

Hi,
The mjpeg_%03d.jpg files should be compressed from YUV422. Please try the prebuilt lib in
https://elinux.org/Jetson/L4T/r32.4.x_patches
[GSTREAMER]Prebuilt lib for decoding YUV422 MJPEG through nvv4l2decoder