Hi Julien,
sorry, my fault, it's indeed a i.MX 8M Mini EVK (8MMINILPD4-EVK). I'm working with Mini only at this time and mixed it up.
gst-launch-1.0 v4l2src device=/dev/video1 ! "video/x-raw,format=UYVY,width=640,height=480" ! waylandsink
does not work. With export GST_DEBUG=waylandsink:5 I get
0:00:00.127933874 4027 0x209d58a0 DEBUG waylandsink gstwaylandsink.c:569:gst_wayland_sink_get_caps:<waylandsink0> display caps: video/x-raw, format=(string){ BGRA, BGRx, RGB16, I420, NV12, YUY2 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw(memory:DMABuf), format=(string){ BGRA, BGRx, RGB16, YUY2, NV12, I420 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error.
gst-launch-1.0 -v v4l2src device=/dev/video1 ! "video/x-raw,format=UYVY,width=640,height=480" ! videoconvert ! waylandsink
works as expected
gst-launch-1.0 -v v4l2src device=/dev/video1 ! "video/x-raw,format=UYVY,width=640,height=480" ! imxvideoconvert_g2d ! waylandsink
shows those artefacts
Frank