Hello there,
to decode my ELP MJPEG camera to RGB I used the following pipeline and it works perfectly but It is not exactly what you are trying to do, I hope it can help you :
"input_images": {
"pipeline": {
"pipeline": "gst-launch-1.0 -v v4l2src device=/dev/video0 ! avdec_mjpeg ! videoconvert ! video/x-raw,format=RGB,height=960,wight=2560,framerate=30/1 ! appsink name = acquired_image "
}
},