Bad and Ugly gstreamer plugins has their own special licensing, so it cannot be released formally inside any tarball. (I do not understand it deeply, if you want more info, please go to GStreamer: Licensing advice)
But you can add it on your own image, and you only need to change the local.conf
Please, add the following code to your local.conf:
LICENSE_FLAGS_WHITELIST = "commercial"
COMMERCIAL_AUDIO_PLUGINS ?= " \
gst-plugins-ugly-mad \
gst-plugins-ugly-mpegaudioparse \
"
COMMERCIAL_VIDEO_PLUGINS ?= " \
gst-plugins-ugly-mpeg2dec \
gst-plugins-ugly-mpegstream \
gst-plugins-bad-mpegvideoparse \
"
CORE_IMAGE_EXTRA_INSTALL += " \
packagegroup-fsl-gstreamer \
gst-plugins-base-videotestsrc \
gst-plugins-bad-fbdevsink \
gst-ffmpeg alsa-utils \
gst-plugins-good-isomp4 \
"
Please, note that this will not install *every* plugin from ugly or bad. It will only install the plugins from the list.
Go to Yocto Training - HOME
Go to Task #8 - Build kernel manually using created toolchain
I try to follow your instructions but I keep getting this error:
| Note: configuring RPM platform settings
| Note: configuring RPM system provides
| Note: configuring RPM DB settings
| Note: configuring Smart settings
|
|
|
|
|
|
| Note: adding Smart channel nitrogen6x (80)
|
|
| Note: adding Smart channel armv7a_vfp_neon (75)
|
|
| Note: adding Smart channel all (10)
|
|
| Note: configuring RPM cross-install scriptlet_wrapper
|
| Updating cache... ######################################## [100%]
|
| Saving cache...
|
| Note: adding Smart RPM DB channel
|
| Note: to be installed: libsoup-2.4@armv7a_vfp_neon firmware-imx-vpu-imx6q@nitrogen6x libgtop-2.0-7@armv7a_vfp_neon rpm-postinsts@all packagegroup-core-nfs-server@all python-subprocess@armv7a_vfp_neon vbmediaserver@armv7a_vfp_neon gst-plugins-base-tcp@nitrogen6x packagegroup-fsl-gstreamer@nitrogen6x python-datetime@armv7a_vfp_neon python-json@armv7a_vfp_neon packagegroup-core-boot@nitrogen6x
| Loading cache...
| Updating cache... ######################################## [100%]
|
| Computing transaction...error: Can't install libglib-2.0-utils-1:2.34.3-r2@armv7a_vfp_neon: no package provides /usr/local/bin/python
|
| Saving cache...
|
| ERROR: Function failed: do_rootfs (see /home/tim/imx/yocto/fsl-community-bsp/build/tmp/work/nitrogen6x-poky-linux-gnueabi/n6x-min/1.0-r0/temp/log.do_rootfs.18452 for further information)
ERROR: Task 7 (/home/tim/imx/yocto/fsl-community-bsp/sources/meta-n6x-min/recipes-fsl/images/n6x-min.bb, do_rootfs) failed with exit code '1'
Thanks
Tim