plugin Gstreamer pour IMX 95

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

plugin Gstreamer pour IMX 95

2,258 Views
OlivierG
Contributor III

Hi

I'm trying to get gstreamer on Yocto on an IMX 95 verdin card with a minimal image.

I have the gstreamer executable but without any plugins.

What line should I put in local.conf for the Bitbake recipe?

I need the plugin for H264 compression, in particular.

Greetings

Olivier

0 Kudos
Reply
9 Replies

2,075 Views
OlivierG
Contributor III

Hi

The problem is not the command line

The Yocto build doest not provide any gstreamer plugin.

Whatever the command, I get
ERROR: pipeline could not be constructed: no element <plugin name>

What line should i put in local.conf for the Bitbake recipe?

 

Greetings

 

Olivier

0 Kudos
Reply

2,029 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

Yes, you build the bitbake imx-image-full, now the iMX95 still on beta phase where it can not be possible to obtain the fill gstreamer functionality.

 

Regards

0 Kudos
Reply

2,011 Views
OlivierG
Contributor III

Hi

I build the imx-image-full and i get the followings errors

ERROR: onnxruntime-1.17.1-r0 do_configure: ExecutionError('/home/olivier/Dev/yocto/buildImx95Full/tmp/work/armv8a-poky-linux/onnxruntime/1.17.1/temp/run.do_configure.553602', 1, None, None)
ERROR: Logfile of failure stored in: /home/olivier/Dev/yocto/buildImx95Full/tmp/work/armv8a-poky-linux/onnxruntime/1.17.1/temp/log.do_configure.553602

ERROR: Task (/home/olivier/Dev/yocto/sources/meta-imx/meta-imx-ml/recipes-libraries/onnxruntime/onnxruntime_1.17.1.bb:do_configure) failed with exit code '1'

Greetings

Olivier

0 Kudos
Reply

2,003 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Please download the 6.6.52 BSP that has better performance with the MX95:

https://www.nxp.com/design/design-center/software/embedded-software/i-mx-software/embedded-linux-for...

and erase and restart for scratch yocto.

Regards

 

0 Kudos
Reply

1,974 Views
OlivierG
Contributor III

Hi

i upgrade to the latest version

I get:

ERROR: tensorflow-lite-2.18.0-r0 do_configure: Execution of '/home/olivier/Dev/Yocto2/buildImx95/tmp/work/armv8a-mx95-poky-linux/tensorflow-lite/2.18.0/temp/run.do_configure.1782864' failed with exit code 1
ERROR: Logfile of failure stored in: /home/olivier/Dev/Yocto2/buildImx95/tmp/work/armv8a-mx95-poky-linux/tensorflow-lite/2.18.0/temp/log.do_configure.1782864
ERROR: Task (/home/olivier/Dev/Yocto2/sources/meta-imx/meta-imx-ml/recipes-libraries/tensorflow-lite/tensorflow-lite_2.18.0.bb:do_configure) failed with exit code '1'

I precise that i need tensorflow

Greetings

Olivier

0 Kudos
Reply

1,872 Views
OlivierG
Contributor III

Hi 

Finally the problem is due to a download problem du to the firewall

 

Olivier

0 Kudos
Reply

1,967 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi,

The error is different to the first thread please Create a new one for this, but erase everything and reintalls

 

Regards

0 Kudos
Reply

1,912 Views
OlivierG
Contributor III

Hi

I started from a blank directory

the error is due to a download problem
https://gitlab.arm.com/kleidi/kleidiai/-/archive/cddf991af5de49fd34949fa39690e4e906e04074/kleidiai-c...
is not available

https://github.com/ARM-software/kleidiai/archive/cddf991af5de49fd34949fa39690e4e906e04074.zip is available

i would like to modify the recipe to download this link instead

Attached the entire error log

 

Greetings

Olivier

0 Kudos
Reply

2,250 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

The i.MX95 utilizes GStreamer as its multimedia framework. Specifically, the gstreamer-imx plugins, which leverage the i.MX multimedia capabilities, are used on this platform. Yocto Linux, a common embedded Linux distribution, also uses GStreamer as its default multimedia framework, you need to build the imx-image-multimedia or the imx-image-full to have it.

The i.MX95 SoC features 4K@60fps H.264/H.265 VPU decoder.

Before starting video playback, please, ensure that the display is connected to the board.

The following commands can be used to start video playback (1.mov is a media file):

  • gst-play
gst-play /path/to/1.mov
  • gplay-1.0
gplay-1.0 /path/to/1.mov
  • gst-launch

This method is for advanced users. Please study this document before the start: i.MX8GStreamerUserGuide.pdf

gst-launch-1.0 -v filesrc location=/path/to/1.mov ! qtdemux name=d.video_0 ! h264parse ! avdec_h264 ! autovideosink

Regards

0 Kudos
Reply