gst-launch-1.0 v4l2src get colored picture/video ( Varicite Dart Imx8mQ)

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

gst-launch-1.0 v4l2src get colored picture/video ( Varicite Dart Imx8mQ)

572 次查看
jawad_emb
Contributor I

Hi,

 

I'm using e-con Systems Camera ar1335_af with DART-MX8MQ via MIPI !

I'm using Yocto dunfell, and i apply this patch varigit/meta-econ-imx  to my wayland yocto image due to the fact Varicite and NXP maintened the variwiki just for sumo fsl 4.14.98 yocto.

I sucess to compile the driver and apply all necessary patch for yocto dunfell ! 

But when i try to get picture or video from camera with :

gst-launch-1.0 v4l2src

the colorimetry of source are really weird, like you can see below :

img7.jpg

 

to get picture i use the commande : 

 

gst-launch-1.0 -e v4l2src device=/dev/video0 num-buffers=1 ! video/x-raw,width=1920,height=1080 ! jpegenc ! filesink location=/tmp/img7.jpg

 

to get videoi use the commande : 

gst-launch-1.0 v4l2src device=/dev/video0 num-buffers=100 ! video/x-raw,width=1920,height=1080 ! jpegenc ! avimux ! filesink location=./test0.avi

 

I don't know where the problem could come from, linux command problem? clock frequency? mipi lanes?

 

Thanks for help ! 

 

 

 

 

标签 (2)
标记 (3)
0 项奖励
2 回复数

559 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

 

I guess the problem is bad connection of mipi lanes.

Regards

0 项奖励

550 次查看
jawad_emb
Contributor I

@Bio_TICFSL ,

The connection of mipi lanes seem working !

The e-con Systems Camera ar1335_af  support juste the YUYV video format, isn't that the reason the output id like that ! ?

0 项奖励