# Gstreamer Source Code

**URL:** <https://forum.legato.io/t/gstreamer-source-code/2614>\
**Category:** Legato Linux distribution (Yocto project)\
**Created:** [August 18, 2017, 12:09pm UTC](https://forum.legato.io/t/gstreamer-source-code/2614 "2017-08-18T12:09:26Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![psant](https://avatars.discourse-cdn.com/v4/letter/p/ecd19e/32.png) [@psant](https://forum.legato.io/u/psant)\
**Post date:** [June 13, 2018, 5:15am UTC](https://forum.legato.io/t/gstreamer-source-code/2614/3 "2018-06-13T05:15:06Z")

</div>

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.

---

_[View the full topic](https://forum.legato.io/t/gstreamer-source-code/2614)._
