[oe] qtmultimedia + qt5.3.2 + yocto dizzy

Stefano Gurrieri gurrieristefano at gmail.com
Tue Oct 27 09:48:33 UTC 2015


I also think that maybe some Gstreamer plugin missing.
But, having a look at my image recipe everything seems installed.
In attach, you can find my image recipe.
According to you, what missing?

Thanks a lot for your help.
Kind regards,
Stefano

2015-10-26 17:32 GMT+01:00 Stephano Cetola <stephanoc at gmail.com>:

> On 10/23, Stefano Gurrieri wrote:
> > Hi Stephano,
> > thanks for your fast reply.
> >
> > I tried to follow this link, but without success.
> > Specifically, I tried to add:
> >
> > PACKAGECONFIG_append_pn-qtmultimedia= " gstreamer010" in my local.conf
> >
> > and I've added this part of code in qtmultimedia.inc recipe:
> >
> > do_configure_prepend() { # disable openal test if it isn't enabled by
> > PACKAGECONFIG sed -i 's/^qtCompileTest(openal)/OE_OPENAL_ENABLED:
> > qtCompileTest(openal)/g' ${S}/qtmultimedia.pro # disable gstreamer-0.10
> > test if it isn't enabled by PACKAGECONFIG sed -i 's/^\( *\)qtCompileTest(
> > gstreamer)/\1OE_GSTREAMER010_ENABLED:qtCompileTest(gstreamer) {/g' ${S}
> > /qtmultimedia.pro}
> > and removed patches:
> >
> > SRC_URI += "\
> >     file://0001-Initial-porting-effort-to-GStreamer-1.0.patch \
> >
>  file://0002-qtmultimedia.pro-Respect-OE_GSTREAMER_ENABLED-OE_GST.patch \
> > "
> >
> > present in my original qtmultimedia.inc file.
> >
> > Then I bake my qt5-custom-image successfully. Now, on my target, in
> > /usr/lib/qt5/plugins/mediaservice, I see:
> > libgstaudiodecoder.so  libgstcamerabin.so  libgstmediacapture.so
> > libgstmediaplayer.so
> >
> > but when I try to run (for example) videowidget application or player
> > application, I see these error:
> >
> > GStreamer-CRITICAL **: gst_object_ref_sink: assertion 'G_IS_OBJECT
> > (object)' failed
>
> Hmmm, I have never seen this error. Sounds like some Gstreamer plugins
> may be missing.
>
> Have a look at this custom image:
>
> http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on_Wandboard
>
> I have used that in the past to successfully test video. Perhaps there
> are some packages in that image that you are missing. Hope this helps.
>
>
> >
> >
> > Could you help me?
> > Thanks a lot.
> > Stefano
> >
> > 2015-10-22 22:47 GMT+02:00 Stephano Cetola <stephanoc at gmail.com>:
> >
> > > Ciao Stefano,
> > >
> > > Take a look at this thread:
> > >
> > > https://community.freescale.com/message/391750#391750
> > >
> > > You are missing libgstmediaplayer.so. That link should help get you
> > > the right packages installed.
> > >
> > >
> > >
> > > On Thu, Oct 22, 2015 at 7:23 AM, Stefano Gurrieri
> > > <gurrieristefano at gmail.com> wrote:
> > > > Goodmorning,
> > > > I tried to compile Qt5.3.2 in my Yocto dizzy successfully etc…
> > > > … but when I try to run (on my target based on iMX6) a videowidget
> > > > application or player application… I always have the same error:
> > > > defaultServiceProvider::requestService(): no service found for -
> > > > "org.qt-project.qt.mediaplayer"
> > > > and I can’t to see a video. In /usr/lib/qt5/plugins/mediaservice I’ve
> > > only
> > > > libqtmedia_audioengine.so library. Missing gstreamer multimedia
> service
> > > > plugins?
> > > >
> > > > Could you please help me?
> > > >
> > > > Thanks a lot.
> > > > --
> > > > _______________________________________________
> > > > Openembedded-devel mailing list
> > > > Openembedded-devel at lists.openembedded.org
> > > > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> > > --
> > > _______________________________________________
> > > Openembedded-devel mailing list
> > > Openembedded-devel at lists.openembedded.org
> > > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> > >
> > --
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel at lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
-------------- next part --------------
SYSTEMD_INSTALL = " \
    systemd \
    systemd-compat-units \
    systemd-speed-hacks \
    udev-systemd \
    rsyslog-systemd \
"

SYSV_INSTALL = " \
    udev \
    sysvinit \
    initscripts \
"

COMMON_INSTALL = " \
    base-files \
    base-passwd \
    busybox \
    ${@base_contains("MACHINE_FEATURES", "systemd", "${SYSTEMD_INSTALL}", "${SYSV_INSTALL}", d)} \
    packagegroup-fsl-gstreamer \
    packagegroup-base \
"

IMAGE_FEATURES += "ssh-server-openssh splash "

do_rootfs[depends] += "virtual/kernel:do_populate_sysroot"

inherit core-image
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qt5-custom-image.bb
Type: application/octet-stream
Size: 1949 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20151027/da099f49/attachment-0002.obj>


More information about the Openembedded-devel mailing list