Got different i.mx Gstreamer plugins after a local build of Yocto L5.4.70_2.3.0

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

Got different i.mx Gstreamer plugins after a local build of Yocto L5.4.70_2.3.0

1,072 Views
weidongzhou
Contributor I

Hello, All

I made a local build of NXP Yocto L5.4.70_2.3.0 and I found there were some different i.mx GST plugins installed on my rootfs, comparing with NXP official rootfs binaries. 

From NXP official rootfs:

root@imx6ul7d:~# gst-inspect-1.0 | grep imx
imxvideoconvert:  imxvideoconvert_pxp: IMX pxp Video Converter
imxv4l2:  imxv4l2src: IMX Video (video4linux2) Source
imxv4l2:  imxv4l2sink: IMX Video (video4linux2) Sink
imxcompositor:  imxcompositor_pxp: IMX pxp Video Compositor
imxmp3enc:  imxmp3enc: imx mp3 audio encoder

From my local build:

root@imx6ull14x14evk:~# gst-inspect-1.0 | grep imx
imxpxp:  imxpxpvideotransform: Freescale PxP video transform
imxpxp:  imxpxpvideosink: Freescale PxP video sink
imxv4l2video:  imxv4l2videosink: V4L2 CSI Video Sink
imxv4l2video:  imxv4l2videosrc: V4L2 CSI Video Source
imxaudio:  imxmp3audioenc: Freescale i.MX MP3 encoder
imxaudio:  imxuniaudiodec: Freescale i.MX uniaudio decoder

 

Could you please tell me what's probably wrong with my build configurations may lead to this difference with i.mx GST plugins?

My build configurations:

MACHINE=imx6ull14x14evk

DISTRO=fsl-imx-fb

image=imx-image-multimedia

I did follow i.MX Yocto Project User's Guide to do the builld, with exception of two lines added to my conf/local.conf

IMAGE_INSTALL_append = " gstreamer1.0-libav"
LICENSE_FLAGS_WHITELIST = "commercial"

 

Thanks in advance for any clues.

 

0 Kudos
7 Replies

1,058 Views
joanxie
NXP TechSupport
NXP TechSupport

the demo images should be built by wayland as backend, and didn't include gstreamer1.0-libav in the local.conf,  since you already built successfully, you can use current gstreamer too, if you have any issue when you using current gstreamer you built, pls tell me

 

Tags (1)
0 Kudos

1,054 Views
weidongzhou
Contributor I

Yes. I am willing to use my current gstreamer build.

But looks like my current gstreamer equipments with a different i.mx GST plugins against NXP demo image. NXP demo image uses imx-gst1.0-plugin and my current gstreamer uses gstreamer-imx which was from a community repository. What are the major differences between those two repositories?  I am using i.mx6ull platform and want to use pxp for video format converting and compositing.

Thanks

0 Kudos

1,037 Views
joanxie
NXP TechSupport
NXP TechSupport

the different between them, you can refer to the link as below:

"http://trac.gateworks.com/wiki/Yocto/gstreamer#no1"

if you want to use nxp gstreamer packages, you can refer to the release note, which includes the gstreamer source code, you can download it and try to build it, maybe you can try to use wayland as backend, I think the demo images are built by this backend

 

 

0 Kudos

1,016 Views
weidongzhou
Contributor I

Today I had a clean rebuild of my Yocto L5.4.70_2.3.0 with DISTRO=fsl-imx-wayland. Weird, I still got community GST plugins in my final rootfs. Should this be caused by additional changes I made to conf/local.conf file?

IMAGE_INSTALL_append = " gstreamer1.0-libav"
LICENSE_FLAGS_WHITELIST = "commercial"

Thanks again for your support on that issue.

0 Kudos

998 Views
joanxie
NXP TechSupport
NXP TechSupport

I'm not sure of this, how about delete these settings in the local.conf and build again? any difference?

0 Kudos

989 Views
weidongzhou
Contributor I

After some experiments, finally I got an imx-gst1.0-plugin image along with gstreamer1.0-libav. Below are my configurations:

 

MACHINE=imx6ul7d
DISTRO=fsl-imx-fb
image=imx-image-multimedia

 

 

Looks like imx-gst-plugin can only be built out when machine type is imx6ul7d.

0 Kudos

981 Views
joanxie
NXP TechSupport
NXP TechSupport

thanks for letting us know this, it seems 5.4.79 is different a lot

 

0 Kudos