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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

532 Views
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 ! 

 

 

 

 

Labels (2)
0 Kudos
2 Replies

519 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

 

I guess the problem is bad connection of mipi lanes.

Regards

0 Kudos

510 Views
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 Kudos