[oe] qtmultimedia + qt5.3.2 + yocto dizzy

Stefano Gurrieri gurrieristefano at gmail.com
Fri Oct 23 08:52:28 UTC 2015


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


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
>



More information about the Openembedded-devel mailing list