This command will actually give you video with undefined format.
gst-launch-1.0 v4l2src device=/dev/video3 ! video/x-raw,width=3840,height=2160,framerate=15/1,pixelformat=RG10 ! waylandsink window-width=800 window-height=450
The proof (in gst format list, there is no RG10):
gst-device-monitor-1.0 Video/Source
Probing devices...
...
Device found:
name : VIV
class : Video/Source
caps : video/x-raw, format=(string)YUY2, width=(int)[ 176, 3840, 16 ], height=(int)[ 144, 2160, 8 ], pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 29/1, 28/1, 27/1, 26/1, 25/1, 24/1, 23/1, 22/1, 21/1, 20/1, 19/1, 18/1, 17/1, 16/1, 15/1, 14/1, 13/1, 12/1, 11/1, 10/1, 9/1, 8/1, 7/1, 6/1, 5/1, 4/1, 3/1, 2/1, 1/1 };
video/x-raw, format=(string)NV16, width=(int)[ 176, 3840, 16 ], height=(int)[ 144, 2160, 8 ], pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 29/1, 28/1, 27/1, 26/1, 25/1, 24/1, 23/1, 22/1, 21/1, 20/1, 19/1, 18/1, 17/1, 16/1, 15/1, 14/1, 13/1, 12/1, 11/1, 10/1, 9/1, 8/1, 7/1, 6/1, 5/1, 4/1, 3/1, 2/1, 1/1 };
video/x-raw, format=(string)NV12, width=(int)[ 176, 3840, 16 ], height=(int)[ 144, 2160, 8 ], pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 29/1, 28/1, 27/1, 26/1, 25/1, 24/1, 23/1, 22/1, 21/1, 20/1, 19/1, 18/1, 17/1, 16/1, 15/1, 14/1, 13/1, 12/1, 11/1, 10/1, 9/1, 8/1, 7/1, 6/1, 5/1, 4/1, 3/1, 2/1, 1/1 };
properties:
udev-probed = true
device.bus_path = platform-vvcam-video.0
sysfs.path = /sys/devices/platform/vvcam-video.0/video4linux/video0
device.subsystem = video4linux
device.product.name = VIV
device.capabilities = :capture:
device.api = v4l2
device.path = /dev/video0
v4l2.device.driver = viv_v4l2_device
v4l2.device.card = VIV
v4l2.device.bus_info = platform:viv0
v4l2.device.version = 328774 (0x00050446)
v4l2.device.capabilities = 2216689665 (0x84200001)
v4l2.device.device_caps = 69206017 (0x04200001)
gst-launch-1.0 v4l2src ! ...
Also in your GST command line, there is no debayering. This means you cannot see nice picture on screen. You need to apply demosaicing to RAW images.