gstreamer1.0-plugins-imx and i.MX 6SoloX

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

gstreamer1.0-plugins-imx and i.MX 6SoloX

Jump to solution
3,853 Views
mirkoardinghi1
Contributor IV

Hi,

I tried to add the gstreamer1.0-plugins-imx to my local.conf:

IMAGE_INSTALL_append = " gstreamer1.0-plugins-imx "

but after the command 'bitbake core-image-image' I have the following error:

ERROR: Nothing PROVIDES 'libimxvpuapi' (but /home/user/yocto/fido/sources/meta-fsl-arm/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.12.0.bb DEPENDS on or otherwise requires it)

ERROR: libimxvpuapi was skipped: incompatible with machine imx6solox (not in COMPATIBLE_MACHINE)

NOTE: Runtime target 'gstreamer1.0-plugins-imx' is unbuildable, removing...

Missing or unbuildable dependency chain was: ['gstreamer1.0-plugins-imx', 'libimxvpuapi']

ERROR: Required build target 'core-image-minimal' has no buildable providers.

Missing or unbuildable dependency chain was: ['core-image-minimal', 'gstreamer1.0-plugins-imx', 'libimxvpuapi']

Is not possibile use the gstreamer1.0-plugins-imx with a solox?

Thanks!

Labels (3)
0 Kudos
1 Solution
2,275 Views
LuisCasado
NXP Employee
NXP Employee

Hello Mirko Ardinghi ,

You can use gplay-1.0 video_name.mp4

Luis

View solution in original post

11 Replies
2,275 Views
LuisCasado
NXP Employee
NXP Employee

Hello,

Are you using the NXP BSP?

i.MX 6 Series Software and Development Tool|NXP

That has been tested in NXP BSP.

If you are using community BSP, you should ask in the conmunity list

https://lists.yoctoproject.org/listinfo/meta-freescale

Luis

0 Kudos
2,275 Views
mirkoardinghi1
Contributor IV

Hi, I'm looking for a pipeline to show an MPEG4 video in the frame buffer with a SoloX and gstreamer 1.0.

Anyone can help me?

0 Kudos
2,275 Views
mtx512
Contributor V

Since there is no h/w mpeg decoder on the imx6sx, your pipeline would need to decode the mpeg stream and convert it to a format that the pxp or 2d plugins can understand. Not the easiest feat to achieve because you will rely on software decoding for most of the pipeline.

0 Kudos
2,276 Views
LuisCasado
NXP Employee
NXP Employee

Hello Mirko Ardinghi ,

You can use gplay-1.0 video_name.mp4

Luis

2,275 Views
mirkoardinghi1
Contributor IV

Thanks, it works

0 Kudos
2,275 Views
mirkoardinghi1
Contributor IV

So the best solution is to use another program like mplayer that uses only the CPU?

0 Kudos
2,275 Views
mirkoardinghi1
Contributor IV

Ok thanks. I'll ask to the community

0 Kudos
2,275 Views
LuisCasado
NXP Employee
NXP Employee

Hello,

Try this one : gst1.0-fsl-plugin

6SX doesn't have VPU.

Luis,

0 Kudos
2,275 Views
mirkoardinghi1
Contributor IV

I know, but in Yocto/gstreamer – Gateworks  in the plugin list I read:

Video Render (sink)imxg2d; imxpxp; imxeglvivsink; imxipuimxg2dvideosink; imxpxpvideosink; imxeglvivsink; imxipuvideosinkg2d1, ipu1, pxp2, and egl (overlay) video sinks

2. Note that the PXP sinks are only applicable to the i.mx6solo and i.mx6dl processors.

It seems that I could use the plugin with the solox too

0 Kudos
2,275 Views
LuisCasado
NXP Employee
NXP Employee

Hello,

gst1.0-fsl-plugin includes for the 6SX: aiurdemux, imxmp3enc, overlaysink, beepdec, imxv4l2sink, imxv4l2src, imxvideoconvert_g2d, imxvideoconvert_pxp

6SX doesn't have IPU.

Luis

2,275 Views
mirkoardinghi1
Contributor IV

I added the gst1.0-fsl-plugin  in the local.conf but I have the following error:

| /home/user/yocto/fido/imx6sx/tmp/work/icorem6solox-poky-linux-gnueabi/gst1.0-fsl-plugin/4.0.7-r0/gst1.0-fsl-plugins-4.0.7/plugins/compositor/gstimxcompositorpad.c:25:42: fatal error: gst/video/gstvideoaggregator.h: No such file or directory

|  #include <gst/video/gstvideoaggregator.h>

|                                           ^

| compilation terminated.

| make[1]: *** [libgstimxcompositor_la-gstimxcompositorpad.lo] Error 1

| make[1]: *** Waiting for unfinished jobs....

| In file included from /home/user/yocto/fido/imx6sx/tmp/work/icorem6solox-poky-linux-gnueabi/gst1.0-fsl-plugin/4.0.7-r0/gst1.0-fsl-plugins-4.0.7/plugins/compositor/gstimxcompositor.c:119:0:

| /home/user/yocto/fido/imx6sx/tmp/work/icorem6solox-poky-linux-gnueabi/gst1.0-fsl-plugin/4.0.7-r0/gst1.0-fsl-plugins-4.0.7/plugins/compositor/gstimxcompositor.h:27:42: fatal error: gst/video/gstvideoaggregator.h: No such file or directory

|  #include <gst/video/gstvideoaggregator.h>

|                                           ^

| compilation terminated.

| make[1]: *** [libgstimxcompositor_la-gstimxcompositor.lo] Error 1

| make[1]: Leaving directory `/home/user/yocto/fido/imx6sx/tmp/work/icorem6solox-poky-linux-gnueabi/gst1.0-fsl-plugin/4.0.7-r0/build/plugins/compositor'

| make: *** [all-recursive] Error 1

| ERROR: oe_runmake failed

| WARNING: exit code 1 from a shell command.

| ERROR: Function failed: do_compile (log file is located at /home/user/yocto/fido/imx6sx/tmp/work/icorem6solox-poky-linux-gnueabi/gst1.0-fsl-plugin/4.0.7-r0/temp/log.do_compile.19996)

ERROR: Task 6 (/home/user/yocto/fido/sources/meta-fsl-arm/recipes-multimedia/gstreamer/gst1.0-fsl-plugin_4.0.7.bb, do_compile) failed with exit code '1'

0 Kudos