AnsweredAssumed Answered

gst-launch-1.0 cannot work with imxv4l2src.

Question asked by Lei Ma on Mar 2, 2017
Latest reply on Mar 7, 2017 by Lei Ma

I have an imx6q based board and connect with tw6865 video decoders board, with 4 cameras:


4 cameras ---> tw6865 board ----pcie---> im6q board


The kernel and rootfs are built by fsl-yocto-L4.1.15_2.0.0-ga, I use gst-launch to get videos, it works fine with "v4l2src":

gst-launch-1.0 v4l2src device=/dev/video2 ! imxv4l2sink overlay-width=512 overlay-height=300 overlay-top=300 overlay-left=0


If I replace v4l2src with imxv4l2src, it's going wrong with message:
===== IMXV4L2SINK: 4.1.4 build on Jan 31 2017 20:15:40. ======
WARNING: erroneous pipeline: could not link imxv4l2src0 to imxv4l2sink0


and dmesg outputs:

ERROR: v4l2 capture: slave not found!


gst-launch version:

gst-launch-1.0 version 1.8.1
GStreamer 1.8.1