plugin Gstreamer pour IMX 95

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

plugin Gstreamer pour IMX 95

1,877 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

1,694 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

1,648 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

1,630 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

1,622 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,593 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,491 Views
OlivierG
Contributor III

Hi 

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

 

Olivier

0 Kudos
Reply

1,586 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,531 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

1,869 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
%3CLINGO-SUB%20id%3D%22lingo-sub-2136558%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Eplugin%20Gstreamer%20pour%20IMX%2095%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2136558%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%20class%3D%22%22%3E%3CSPAN%20class%3D%22%22%3EHi%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22%22%3E%3CSPAN%20class%3D%22%22%3EI'm%20trying%20to%20get%20gstreamer%20on%20Yocto%20on%20an%20IMX%2095%20verdin%20card%20with%20a%20minimal%20image.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22%22%3E%3CSPAN%20class%3D%22%22%3EI%20have%20the%20gstreamer%20executable%20but%20without%20any%20plugins.%20%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22%22%3E%3CSPAN%20class%3D%22%22%3EWhat%20line%20should%20I%20put%20in%20local.conf%20for%20the%20Bitbake%20recipe%3F%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22%22%3E%3CSPAN%20class%3D%22%22%3EI%20need%20the%20plugin%20for%20H264%20compression%2C%20in%20particular.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22%22%3E%3CSPAN%20class%3D%22%22%3EGreetings%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22%22%3E%3CSPAN%20class%3D%22%22%3EOlivier%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2158960%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20plugin%20Gstreamer%20pour%20IMX%2095%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2158960%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3C%2FP%3E%3CP%3EFinally%20the%20problem%20is%20due%20to%20a%20download%20problem%20du%20to%20the%20firewall%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EOlivier%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2157374%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20plugin%20Gstreamer%20pour%20IMX%2095%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2157374%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%3C%2FP%3E%3CP%3EI%20started%20from%20a%20blank%20directory%3C%2FP%3E%3CP%3Ethe%20error%20is%20due%20to%20a%20download%20problem%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fgitlab.arm.com%2Fkleidi%2Fkleidiai%2F-%2Farchive%2Fcddf991af5de49fd34949fa39690e4e906e04074%2Fkleidiai-cddf991af5de49fd34949fa39690e4e906e04074.zip%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgitlab.arm.com%2Fkleidi%2Fkleidiai%2F-%2Farchive%2Fcddf991af5de49fd34949fa39690e4e906e04074%2Fkleidiai-cddf991af5de49fd34949fa39690e4e906e04074.zip%3C%2FA%3E%3CBR%20%2F%3Eis%20not%20available%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FARM-software%2Fkleidiai%2Farchive%2Fcddf991af5de49fd34949fa39690e4e906e04074.zip%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2FARM-software%2Fkleidiai%2Farchive%2Fcddf991af5de49fd34949fa39690e4e906e04074.zip%3C%2FA%3E%20is%20available%3C%2FP%3E%3CP%3Ei%20would%20like%20to%20modify%20the%20recipe%20to%20download%20this%20link%20instead%3C%2FP%3E%3CP%3EAttached%20the%20entire%20error%20log%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EGreetings%3C%2FP%3E%3CP%3EOlivier%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2156830%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20plugin%20Gstreamer%20pour%20IMX%2095%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2156830%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%0A%3CP%3EThe%20error%20is%20different%20to%20the%20first%20thread%20please%20Create%20a%20new%20one%20for%20this%2C%20but%20erase%20everything%20and%20reintalls%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3ERegards%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2156674%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20plugin%20Gstreamer%20pour%20IMX%2095%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2156674%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%3C%2FP%3E%3CP%3Ei%20upgrade%20to%20the%20latest%20version%3C%2FP%3E%3CP%3EI%20get%3A%3C%2FP%3E%3CP%3EERROR%3A%20tensorflow-lite-2.18.0-r0%20do_configure%3A%20Execution%20of%20'%2Fhome%2Folivier%2FDev%2FYocto2%2FbuildImx95%2Ftmp%2Fwork%2Farmv8a-mx95-poky-linux%2Ftensorflow-lite%2F2.18.0%2Ftemp%2Frun.do_configure.1782864'%20failed%20with%20exit%20code%201%3CBR%20%2F%3EERROR%3A%20Logfile%20of%20failure%20stored%20in%3A%20%2Fhome%2Folivier%2FDev%2FYocto2%2FbuildImx95%2Ftmp%2Fwork%2Farmv8a-mx95-poky-linux%2Ftensorflow-lite%2F2.18.0%2Ftemp%2Flog.do_configure.1782864%3CBR%20%2F%3EERROR%3A%20Task%20(%2Fhome%2Folivier%2FDev%2FYocto2%2Fsources%2Fmeta-imx%2Fmeta-imx-ml%2Frecipes-libraries%2Ftensorflow-lite%2Ftensorflow-lite_2.18.0.bb%3Ado_configure)%20failed%20with%20exit%20code%20'1'%3C%2FP%3E%3CP%3EI%20precise%20that%20i%20need%26nbsp%3Btensorflow%3C%2FP%3E%3CP%3EGreetings%3C%2FP%3E%3CP%3EOlivier%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2155408%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20plugin%20Gstreamer%20pour%20IMX%2095%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2155408%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EPlease%20download%20the%206.6.52%20BSP%20that%20has%20better%20performance%20with%20the%20MX95%3A%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdesign%2Fdesign-center%2Fsoftware%2Fembedded-software%2Fi-mx-software%2Fembedded-linux-for-i-mx-applications-processors%3AIMXLINUX%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.nxp.com%2Fdesign%2Fdesign-center%2Fsoftware%2Fembedded-software%2Fi-mx-software%2Fembedded-linux-for-i-mx-applications-processors%3AIMXLINUX%3C%2FA%3E%3C%2FP%3E%0A%3CP%3Eand%20erase%20and%20restart%20for%20scratch%20yocto.%3C%2FP%3E%0A%3CP%3ERegards%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2155010%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20plugin%20Gstreamer%20pour%20IMX%2095%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2155010%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%3C%2FP%3E%3CP%3EI%20build%20the%20imx-image-full%20and%20i%20get%20the%20followings%20errors%3C%2FP%3E%3CP%3EERROR%3A%20onnxruntime-1.17.1-r0%20do_configure%3A%20ExecutionError('%2Fhome%2Folivier%2FDev%2Fyocto%2FbuildImx95Full%2Ftmp%2Fwork%2Farmv8a-poky-linux%2Fonnxruntime%2F1.17.1%2Ftemp%2Frun.do_configure.553602'%2C%201%2C%20None%2C%20None)%3CBR%20%2F%3EERROR%3A%20Logfile%20of%20failure%20stored%20in%3A%20%2Fhome%2Folivier%2FDev%2Fyocto%2FbuildImx95Full%2Ftmp%2Fwork%2Farmv8a-poky-linux%2Fonnxruntime%2F1.17.1%2Ftemp%2Flog.do_configure.553602%3C%2FP%3E%3CP%3EERROR%3A%20Task%20(%2Fhome%2Folivier%2FDev%2Fyocto%2Fsources%2Fmeta-imx%2Fmeta-imx-ml%2Frecipes-libraries%2Fonnxruntime%2Fonnxruntime_1.17.1.bb%3Ado_configure)%20failed%20with%20exit%20code%20'1'%3C%2FP%3E%3CP%3EGreetings%3C%2FP%3E%3CP%3EOlivier%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2154420%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20plugin%20Gstreamer%20pour%20IMX%2095%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2154420%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CP%3EYes%2C%20you%20build%20the%26nbsp%3Bbitbake%20imx-image-full%2C%20now%20the%20iMX95%20still%20on%20beta%20phase%20where%20it%20can%20not%20be%20possible%20to%20obtain%20the%20fill%20gstreamer%20functionality.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3ERegards%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2153431%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20plugin%20Gstreamer%20pour%20IMX%2095%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2153431%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%3C%2FP%3E%3CP%3EThe%20problem%20is%20not%20the%20command%20line%3C%2FP%3E%3CP%3EThe%20Yocto%20build%20doest%20not%20provide%20any%20gstreamer%20plugin.%3C%2FP%3E%3CP%3EWhatever%20the%20command%2C%20I%20get%3CBR%20%2F%3EERROR%3A%20pipeline%20could%20not%20be%20constructed%3A%20no%20element%20%3CPLUGIN%20name%3D%22%22%3E%3C%2FPLUGIN%3E%3C%2FP%3E%3CP%3EWhat%20line%20should%20i%20put%20in%20local.conf%20for%20the%20Bitbake%20recipe%3F%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EGreetings%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EOlivier%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2136601%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20plugin%20Gstreamer%20pour%20IMX%2095%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2136601%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-huuid%3D%2217349224196443715229%22%3EThe%20i.MX95%20utilizes%20GStreamer%20as%20its%20multimedia%20framework.%20%3C%2FSPAN%3E%3CSPAN%20data-huuid%3D%2217349224196443716500%22%3ESpecifically%2C%20the%20gstreamer-imx%20plugins%2C%20which%20leverage%20the%20i.MX%20multimedia%20capabilities%2C%20are%20used%20on%20this%20platform.%20%3C%2FSPAN%3E%3CSPAN%20data-huuid%3D%2217349224196443713675%22%3EYocto%20Linux%2C%20a%20common%20embedded%20Linux%20distribution%2C%20also%20uses%20GStreamer%20as%20its%20default%20multimedia%20framework%2C%20you%20need%20to%20build%20the%20imx-image-multimedia%20or%20the%20imx-image-full%20to%20have%20it.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EThe%20i.MX95%20SoC%20features%204K%4060fps%20H.264%2FH.265%20VPU%20decoder.%3C%2FP%3E%0A%3CP%3EBefore%20starting%20video%20playback%2C%20please%2C%20ensure%20that%20the%20display%20is%20connected%20to%20the%20board.%3C%2FP%3E%0A%3CP%3EThe%20following%20commands%20can%20be%20used%20to%20start%20video%20playback%20(%3CSTRONG%3E1.mov%3C%2FSTRONG%3E%20is%20a%20media%20file)%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3Egst-play%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CPRE%3Egst-play%20%2Fpath%2Fto%2F1.mov%0A%3C%2FPRE%3E%0A%3CUL%3E%0A%3CLI%3Egplay-1.0%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CPRE%3Egplay-1.0%20%2Fpath%2Fto%2F1.mov%0A%3C%2FPRE%3E%0A%3CUL%3E%0A%3CLI%3Egst-launch%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EThis%20method%20is%20for%20advanced%20users.%20Please%20study%20this%20document%20before%20the%20start%3A%20%3CA%20class%3D%22external%20text%22%20href%3D%22https%3A%2F%2Fraw.githubusercontent.com%2Fcompulab-yokneam%2FDocumentation%2Fmaster%2Fpdfs%2Fi.MX8GStreamerUserGuide.pdf%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ei.MX8GStreamerUserGuide.pdf%3C%2FA%3E%3C%2FP%3E%0A%3CPRE%3Egst-launch-1.0%20-v%20filesrc%20location%3D%2Fpath%2Fto%2F1.mov%26nbsp%3B!%20qtdemux%20name%3Dd.video_0%26nbsp%3B!%20h264parse%26nbsp%3B!%20avdec_h264%26nbsp%3B!%20autovideosink%3C%2FPRE%3E%0A%3CP%3ERegards%3C%2FP%3E%3C%2FLINGO-BODY%3E