Hi Sir,
I am using iMX8M Mini and Yocto imx-linux-hardknott imx-5.10.52 version.
But default GStreamer provided in iMX yocto does not support the GStreamer C application it only supports the command line.
Hence I need to install and compile GStreamer using iMX yocto.
To do that I did the following steps -
1) I added the following code to local.conf file ->
IMAGE_INSTALL_append += "gstreamer1.0-rtsp-server gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav"
LICENSE_FLAGS_WHITELIST = "commercial"
2) After that I compiled and build the SDK and flashed it to iMX board.
but when I try to compile a simple GStreamer hello world application on my imx8 Mini board then
It gives me an error saying -
fatal error: gst/gst.h: No such file or directory
#include <gst/gst.h>
It seems like even GStreamer is compiled successfully but the header files are missing on SDK.
please suggest to me what I am missing and how can I cross-compile the GStreamer with iMX yocto
NOTE:->
I am doing the following steps to compile the iMX yocto ->
DISTRO=fsl-imx-xwayland MACHINE=imx8mm-lpddr4-evk source imx-setup-release.sh -b build-xwayland
bitbake imx-image-full
Thanks
Hi Maneesh
one can look at gstreamer tutorial from Gateworks:
http://trac.gateworks.com/wiki/Yocto/gstreamer
Best regards
igor
Hi @igorpadykov,
Any suggestions on how can I cross-compile GStreamer for iMX8 Mini yocto ?
The default GStreamer provided in iMX yocto BSP only supports the command line it does not support GStreamer C code hence I need to cross-compile the gstremer for iMX8M Mini Yocto.
I tried adding the following lines in iMX yocto local.conf file ->
IMAGE_INSTALL_append += "gstreamer1.0-rtsp-server gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav"
LICENSE_FLAGS_WHITELIST = "commercial"
But seems like GStreamer cross-compilation is not working because when I try to compile a simple GStreamer hello world application on my imx8 Mini board then
It gives me an error saying -
fatal error: gst/gst.h: No such file or directory
#include <gst/gst.h>
So any suggestion or step on how I can cross-compile the GStreamer for iMX Yocto?
Thanks
may be suggested to post it on meta-fsl-arm mailing list, as this is general yocto issue
https://lists.yoctoproject.org/g/meta-freescale
Best regards
igor
Hi @igorpadykov ,
As suggested by you I posted my query on meta-freescale@lists.yoctoproject.org
group, unfortunately, I didn't receive any response from there.
Can you help me with how can I cross-compile the gstremer library for iMX8M Mini EVK.
Thanks
Hi @igorpadykov
Thanks for your reply.
I will post it on https://lists.yoctoproject.org/g/meta-freescale
But can you tell me if I am doing the right changes or not?
To build GStreamer I am adding the following lines in iMX yocto local.conf file ->
IMAGE_INSTALL_append += "gstreamer1.0-rtsp-server gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav"
Am I doing correctly? or do I need to do changes in any other files also?
Thanks
one can look at nxp imx-gst1.0-plugins
https://source.codeaurora.org/external/imx/imx-gst1.0-plugin/tree/?h=MM_04.06.03_2110_L5.10.y
Best regards
igor
Hi @igorpadykov
Thanks for your reply.
I am able to test and run GStreamer plugging from the command line but I want to use GStreamer C code and Default GStreamer provided by iMX BSP doesn't support GStreamer C code
Hence I need to cross-compile the GStreamer library for iMX BSP using Yocto.
I am using -
EVK :- iMX8M Mini EVK
Yocto version :- imx-linux-hardknott
Version :- imx-5.10.52 version
To cross-compile GStreamer I am adding the following lines in local.conf file ->
IMAGE_INSTALL_append += "gstreamer1.0-rtsp-server gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav"
LICENSE_FLAGS_WHITELIST = "commercial"
But seems like GStreamer cross-compilation is not working because when I try to compile a simple GStreamer hello world application on my imx8 Mini board then
It gives me an error saying -
fatal error: gst/gst.h: No such file or directory
#include <gst/gst.h>
Can you suggest to me the steps to cross-compile the GStreamer for iMX Yocto ???
Thanks,
Maneesh