AnsweredAssumed Answered

Video playback using qt4-embedded on Yocto

Question asked by Vincent Chou on Jun 16, 2016
Latest reply on Jun 16, 2016 by Vincent Chou

Dear support,

We came across a dragging issue which we could not solve for weeks.  Currently we built core-image-base and qt4-embedded based on Yocto 3.14.26 for Sabresd board with necessary components listed as the following.

local.conf

===============

MACHINE ??= 'imx6solosabresd'

DISTRO ?= 'poky'

PACKAGE_CLASSES ?= "package_rpm"

EXTRA_IMAGE_FEATURES = "debug-tweaks"

USER_CLASSES ?= "buildstats image-mklibs image-prelink"

PATCHRESOLVE = "noop"

BB_DISKMON_DIRS = "\

    STOPTASKS,${TMPDIR},1G,100K \

    STOPTASKS,${DL_DIR},1G,100K \

    STOPTASKS,${SSTATE_DIR},1G,100K \

    ABORT,${TMPDIR},100M,1K \

    ABORT,${DL_DIR},100M,1K \

    ABORT,${SSTATE_DIR},100M,1K"

PACKAGECONFIG_append_pn-qemu-native = " sdl"

PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"

ASSUME_PROVIDED += "libsdl-native"

CONF_VERSION = "1"

 

 

IMAGE_INSTALL_append = " \

  freetype jpeg libpng zlib dbus openssl glib-2.0 gstreamer gst-plugins-base sqlite3 tiff icu \

  pulseaudio \

  qt4-embedded \

  libqt-embedded3support4 \

  libqt-embeddedclucene4 \

  libqt-embeddedcore4 \

  libqt-embeddeddbus4 \

  libqt-embeddedgui4 \

  libqt-embeddedhelp4 \

  libqt-embeddedmultimedia4 \

  libqt-embeddednetwork4 \

  libqt-embeddedscript4 \

  libqt-embeddedscripttools4 \

  libqt-embeddedsql4 \

  libqt-embeddedsvg4 \

  libqt-embeddedtest4 \

  libqt-embeddedxml4 \

  qt4-embedded-fonts-ttf-dejavu \

  qt4-embedded-fonts-ttf-vera \

  qt4-embedded-plugin-iconengine-svgicon \

  qt4-embedded-plugin-imageformat-gif \

  qt4-embedded-plugin-imageformat-ico \

  qt4-embedded-plugin-imageformat-jpeg \

  qt4-embedded-plugin-imageformat-mng \

  qt4-embedded-plugin-imageformat-svg \

  qt4-embedded-plugin-imageformat-tiff \

  qt4-embedded-plugin-phonon-backend-gstreamer \

  qt4-embedded-plugin-script-dbus \

  qt4-embedded-plugin-sqldriver-sqlite \

  gst-plugins-good \

  gst-plugins-bad \

  gst-fsl-plugin \

  gst-meta-base \

  libxml2 libcheck liboil libpng \

  "

 

 

BB_NUMBER_THREADS = '4'

PARALLEL_MAKE = '-j 4'

 

 

DL_DIR ?= "${BSPDIR}/downloads/"

ACCEPT_FSL_EULA = ""

PREFERRED_PROVIDER_virtual/mesa = ""

 

 

DISTRO_FEATURES_remove = " wayland directfb "

===============

Unfortunately we found we could not show any video based on the gstreamer0.1 inside qt4-embedded.  However, gstreamer0.1 could work independently.  Interestingly the audio playback is find inside qt4-embedded.  The error we got when decoding video is missing gstreamer0.1-plugins-good but gst-plugins-good has been installed in the image.  The display is a standard LCD display.  Could anyone share his/her experience to tell us how to configure qt4-embedded to make it support mp4 video playback?

Vincent

@

Outcomes