Camera don't work

i use debian 10 on the rock pi n10

and when i use this command: gst-launch-1.0 rkv4l2src device=/dev/video0 ! video/x-raw,format=NV12,width=800,height=480, framerate=30/1 ! videoconvert ! autovideosink"
i have a perfect preview of the camera

when i use this command gst-launch-1.0 -e v4l2src device=/dev/video0 ! video/x-raw, width =1920, height = 1080 ! jpegenc ! filesink location = img.jpg
i have a picture but it has a green filter

and open cv doesn’t work at all with the camera

Do you see any issues

and i use a imx 219

@ken please help to check this issue