[meta-freescale] i.MX6 mfw_isink is not working with X11 "Nitrogen"

Tarek El-Sherbiny tarek.elsherbiny at gmail.com
Mon Dec 17 04:32:09 PST 2012


Hi,

I have compiled X11 image based on core-image-x11.bb for the Nitrogen6x
MACHINE. This is my image bb file:

-------------------------------------------------------------
include recipes-graphics/images/core-image-x11.bb


IMAGE_FEATURES += "debug-tweaks"
DISTRO_FEATURES += "pulseaudio"


SOC_EXTRA_IMAGE_FEATURES ?= "tools-testapps"
# mesa-demos is currently broken when building with other GL library
# so we avoid it by now and tools-testapps includes it.
SOC_EXTRA_IMAGE_FEATURES_mx6 = ""


# Add extra image features
EXTRA_IMAGE_FEATURES += " \
    ${SOC_EXTRA_IMAGE_FEATURES} \
    tools-debug \
    tools-profile \
"

SOC_IMAGE_INSTALL = ""

IMAGE_INSTALL += " \
    ${SOC_IMAGE_INSTALL} \
    cpufrequtils \
    packagegroup-fsl-gstreamer \
    packagegroup-fsl-tools-testapps \
    packagegroup-fsl-tools-benchmark \
    qt4-plugin-phonon-backend-gstreamer \
    fsl-gui-extrafiles \
    "

# Adh Console applications
IMAGE_INSTALL += " \
dropbear \
"


export IMAGE_BASENAME = "adh-image-x11"
-------------------------------------------------------------

The gstreamer runs perfectly well with mfw_v4lsink using this command:
gst-launch playbin2 uri=
file:///home/root/mmfiles/clipcanvas_14348_offline.mp4<file:///%5C%5Chome%5Croot%5Cmmfiles%5Cclipcanvas_14348_offline.mp4>

I need to use mfw_isink to scale and convert the output so I use the
following command which doesn't work:
gst-launch playbin2 uri=
file:///home/root/mmfiles/clipcanvas_14348_offline.mp4<file:///%5C%5Chome%5Croot%5Cmmfiles%5Cclipcanvas_14348_offline.mp4>video-sink="mfw_isink
axis-top=0 axis-left=0 disp-width=512 disp-height=384"

So I disabled the x11 flag for gst-fsl-plugin by
creating gst-fsl-plugin_3.0.1.bbappend:
PRINC := "${@int(PRINC) + 1}"

EXTRA_OECONF += "--enable-x11=no --disable-x11"


Now the mfw_isink is working!!!!???

Can someone please try the mfw_isink command on his target?

I would like to know if it is the Nitrogen board or something else that
makes gst-fsl-plugin not compatible with X11.

Thanks,
Tarek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20121217/16091f06/attachment.html>


More information about the meta-freescale mailing list