imx8m-plus Basler daA4200-30mci camera not using Pylon software

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

imx8m-plus Basler daA4200-30mci camera not using Pylon software

1,814 Views
malik_cisse
Senior Contributor I

Hi,

Hi,
Is there a way to launch Basler daA4200-30mci camera module not using Pylon software.
 I was able to make the camera module work from within Basler's Pylon software UI interface.

However I would also like to use the camera using gst-launch-1.0 (gstreamer command line) directly since this would be the way the QT application will use the camera.
So far I am unable to see any video playing when using similar commands to:
gst-launch-1.0 v4l2src device=/dev/video1 ! waylandsink

also variants to this command will not give any error messages but no video is playing.
Any idea?
Thank you

 

Labels (1)
0 Kudos
Reply
7 Replies

1,808 Views
joanxie
NXP TechSupport
NXP TechSupport

did you use nxp imx8mp board and demo images? if yes, current bsp supports this with gstreamer as default, this is from my test

root@imx8mpevk:~# gst-launch-1.0 -v v4l2src ! "video/x-raw,width=3840,height=2160" ! waylandsink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
/GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = video/x-raw, width=(int)3840, height=(int)2160, format=(string)YUY2, framerate=(fraction)30/1, colorimetry=(string)2:6:5:1
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-raw, width=(int)3840, height=(int)2160, format=(string)YUY2, framerate=(fraction)30/1, colorimetry=(string)2:6:5:1
/GstPipeline:pipeline0/GstWaylandSink:waylandsink0.GstPad:sink: caps = video/x-raw, width=(int)3840, height=(int)2160, format=(string)YUY2, framerate=(fraction)30/1, colorimetry=(string)2:6:5:1
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-raw, width=(int)3840, height=(int)2160, format=(string)YUY2, framerate=(fraction)30/1, colo[ 91.271506] unsupported dwe command 259
rimetry=(string)2:6:5:1
[ 91.271513] unsupported dwe command 260
[ 91.371595] enter isp_mi_stop
[ 91.380610] Not supported 3dnr
[ 91.911276] unsupported function isp_disable_bls
[ 91.911287] unsupported function isp_s_bls
[ 91.915991] unsupported function isp_enable_bls
[ 91.920136] unsupported function isp_enable_bls
[ 91.924712] enter isp_s_comp
[ 91.932180] enter isp_s_comp
[ 91.935205] enter isp_s_comp
[ 91.950880] enter isp_s_comp
[ 91.953892] enter wdr3_hw_init
[ 91.957021] wdr3 res: 3840 2160
[ 91.960861] enter isp_mi_start
[ 97.118141] ###### 30.49 fps ######
^Chandling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 0:00:08.425076875
Setting pipeline to NULL ...
[ 99.652238] enter isp_mi_stop
Total showed frames (227), playing for (0:00:08.425097500), fps (26.943).

0 Kudos
Reply

1,805 Views
malik_cisse
Senior Contributor I

Hi Joanxie,

I am using DART-MX8M-PLUS Evaluation Kit from Variscite:

https://www.variscite.com/product/system-on-module-som/cortex-a53-krait/dart-mx8m-plus-nxp-i-mx-8m-p...

Are you sure you are Basler daA4200-30mc? From your debug log I can see that imx8mp embedded ISP is used however daA4200-30mci has its own independent inbuilt ISP and it does not use imx8mp-ISP. daA4200-30mci is rather based on ISI interface directly.

Therefore I am not sure if your example uses this particular camera module.
Please give me your thoughts on this,

BR, M.Cisse

0 Kudos
Reply

1,796 Views
dianapredescu
NXP Employee
NXP Employee

Hi @malik_cisse,

Did you check https://github.com/basler/meta-basler-imx8 ? I think it should be helpful. It's a yocto layer for Basler dart BCON MIPI cameras for i.MX8 platform. 

I've seen they list in the example:

  • daA2500-60mci connected on CSI1, no camera on CSI2: imx8mp-evk-basler-isi0.dtb

It's not the same camera as yours, but it still has in-built ISP. Unfortunately we don't have any other Basler camera to test except for daA3840-30mc. 

Let me know what you think.

Best regards,

Diana

 

 

0 Kudos
Reply

1,782 Views
malik_cisse
Senior Contributor I

Hi Diana

Thank you for your feedback which I often find very helpful.

The current statement from Basler is that basler-daa4200-30mci is only accessible via Basler Pylon software. Gstreamer support is provided via extra Pylon-plugin

https://www.baslerweb.com/en/company/news-press/news/pylon-gstreamer-plug-in-for-basler-cameras/8774...

I did not tested this yet but if it works fine, I don't mind using that.

0 Kudos
Reply

1,631 Views
dadi
Contributor I

How can I build the pluin with yocto?

0 Kudos
Reply

1,777 Views
dianapredescu
NXP Employee
NXP Employee

Dear @malik_cisse ,

Thanks for the information. Please let me know if you manage to build and try that pylonsrc plugin. I might be interested as well. I'll let you know if I'm going to try it on my side.

Best regards,

Diana

1,802 Views
joanxie
NXP TechSupport
NXP TechSupport

my module is DEV KIT DAA3840-30MC -IMXSAS, and which uses ISP, since you use the third party company board, I suggest that you can contact them to double confirm

0 Kudos
Reply