Gstreamer Source Code

HI Team,
Can any one help to show some working Yocto Source code for Gstreamer application with built in all required libraries ?

Thanks and Regards

Hi

gstreamer layer is available which can be included in your yocto build. OpenEmbedded Layer Index - meta-gstreamer10.

You could also build the gstreamer libraries by cross compiling them using the toolchain provided in https://source.sierrawireless.com/resources/airprime/software/wp76xx/wp76xx-firmware-latest-release-components/. Please note that tool chains are FW release dependent. Latest FW version is Release 9.

Once the libraries are built, they can be included in your Legato application.

Hi Sreejith,

Gstreamer is already included in the yocto source code from SWI. The version 1.8. You can add the gstreamer and its packages by adding the below lines to the the file meta-swi/meta-swi-mdm9x28/recipes-core/images/mdm9x28-image.inc

IMAGE_INSTALL += “gstreamer1.0”
IMAGE_INSTALL += “gstreamer1.0-plugins-base”
IMAGE_INSTALL += “gstreamer1.0-plugins-good”
IMAGE_INSTALL += “gstreamer1.0-plugins-bad”

Ensure that you change the rootfss size limitation in the file meta-swi/meta-swi-mdm9x28/conf/machine swi-mdm9x28.conf. The default rootfs size is 32MiB which is set with UBI_ROOTFS_SIZE, gstreamer and its plugins will require more size around 42MB so you will need to change it to 48MiB.

Finally using the make from the yocto directory you should be able to build the gstreamer packages.

Note: the final image cannot be directly installed on the target , you will need to change the rootfs partition size on the target using the command AT!APPPARTCHG command.

Please refer to mangOH - WebCam Demo.pdf (1.0 MB)