gst-launch-1.0 cannot work with imxv4l2src.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

gst-launch-1.0 cannot work with imxv4l2src.

跳至解决方案
2,337 次查看
leima
Contributor III

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

0 项奖励
回复
1 解答
1,583 次查看
joanxie
NXP TechSupport
NXP TechSupport

yes, the latest version uses v4l2src of opensrc to replace imxv4l2src.

在原帖中查看解决方案

3 回复数
1,583 次查看
leima
Contributor III

OK, so the document is out-of-date.

0 项奖励
回复
1,584 次查看
joanxie
NXP TechSupport
NXP TechSupport

yes, the latest version uses v4l2src of opensrc to replace imxv4l2src.

1,493 次查看
Liubin2
Contributor I

hi :

         Do you know how to use the gst-launch tool on imx8mm platform to set multiple videos to display on the LCD screen??I learned that IMX6 has the following operating methods:

 
 

Please tell me what plug-in I need to set up on the imx8mm platform,thanks。

 

 

0 项奖励
回复