Openembedded Devel Discussions
 help / color / mirror / Atom feed
* qtmultimedia + qt5.3.2 + yocto dizzy
@ 2015-10-22 14:23 Stefano Gurrieri
  2015-10-22 20:47 ` Stephano Cetola
  0 siblings, 1 reply; 5+ messages in thread
From: Stefano Gurrieri @ 2015-10-22 14:23 UTC (permalink / raw)
  To: openembedded-devel

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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: qtmultimedia + qt5.3.2 + yocto dizzy
  2015-10-22 14:23 qtmultimedia + qt5.3.2 + yocto dizzy Stefano Gurrieri
@ 2015-10-22 20:47 ` Stephano Cetola
  2015-10-23  8:52   ` Stefano Gurrieri
  0 siblings, 1 reply; 5+ messages in thread
From: Stephano Cetola @ 2015-10-22 20:47 UTC (permalink / raw)
  To: openembedded-devel

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@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@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: qtmultimedia + qt5.3.2 + yocto dizzy
  2015-10-22 20:47 ` Stephano Cetola
@ 2015-10-23  8:52   ` Stefano Gurrieri
  2015-10-26 16:32     ` Stephano Cetola
  0 siblings, 1 reply; 5+ messages in thread
From: Stefano Gurrieri @ 2015-10-23  8:52 UTC (permalink / raw)
  To: openembedded-devel

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@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@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@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: qtmultimedia + qt5.3.2 + yocto dizzy
  2015-10-23  8:52   ` Stefano Gurrieri
@ 2015-10-26 16:32     ` Stephano Cetola
  2015-10-27  9:48       ` Stefano Gurrieri
  0 siblings, 1 reply; 5+ messages in thread
From: Stephano Cetola @ 2015-10-26 16:32 UTC (permalink / raw)
  To: openembedded-devel

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@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@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@lists.openembedded.org
> > > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> > --
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> >
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: qtmultimedia + qt5.3.2 + yocto dizzy
  2015-10-26 16:32     ` Stephano Cetola
@ 2015-10-27  9:48       ` Stefano Gurrieri
  0 siblings, 0 replies; 5+ messages in thread
From: Stefano Gurrieri @ 2015-10-27  9:48 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 4190 bytes --]

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@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@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@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@lists.openembedded.org
> > > > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> > > --
> > > _______________________________________________
> > > Openembedded-devel mailing list
> > > Openembedded-devel@lists.openembedded.org
> > > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> > >
> > --
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>

[-- Attachment #2: qt5-custom-common.inc --]
[-- Type: text/plain, Size: 555 bytes --]

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

[-- Attachment #3: qt5-custom-image.bb --]
[-- Type: application/octet-stream, Size: 1950 bytes --]

# ROJ

require qt5-custom-common.inc

TOUCH = ' ${@base_contains("MACHINE_FEATURES", "touchscreen", "tslib tslib-calibrate tslib-tests", "",d)}'

IMAGE_INSTALL = " \
    ${COMMON_INSTALL} \
    \
    ${TOUCH} \
    \
	gcc g++ binutils libgcc libgcc-dev libstdc++ libstdc++-dev libstdc++-staticdev \
	autoconf automake ccache chkconfig glib-networking glibmm \
	packagegroup-core-buildessential pkgconfig \
	boost cmake zlib glib-2.0 packagegroup-fsl-tools-testapps \
    gstreamer \
    gst-meta-video \
    gst-fsl-plugin \
    gst-plugins-base-app \
    gst-plugins-base \
    gst-plugins-good \
    gst-plugins-good-rtsp \
    gst-plugins-good-udp \
    gst-plugins-good-rtpmanager \
    gst-plugins-good-rtp \
    gst-plugins-good-video4linux2 \
    ruby \
    cpufrequtils \
    nano \
    gdb \
    openssh-sftp-server \
    packagegroup-fsl-tools-testapps \
    packagegroup-fsl-tools-benchmark \
    imx-vpu \
    imx-test \
	qtbase \
	qtbase-dev \    	
    qtbase-fonts \
	qtbase-mkspecs \
    qtbase-plugins \
    qtbase-tools \
    qtbase-examples \ 
    qtdeclarative \
    qtdeclarative-plugins \
    qtdeclarative-tools \
    qtdeclarative-examples \
    qtdeclarative-qmlplugins \
    qtmultimedia \
    qtmultimedia-plugins \
    qtmultimedia-examples \
    qtmultimedia-qmlplugins \
    qtsvg \
    qtsvg-plugins \
    qtsensors \
    qtimageformats-plugins \
    qtsystems \
    qtsystems-tools \
    qtsystems-examples \
    qtsystems-qmlplugins \
    qtscript \
    qt3d \
    qt3d-examples \
    qt3d-qmlplugins \
    qt3d-tools \
    qtwebkit \
    qtwebkit-examples-examples \
    qtwebkit-qmlplugins \
    qtgraphicaleffects-qmlplugins \
    qtconnectivity-qmlplugins \
    qtlocation-plugins \
    qtlocation-qmlplugins \
    cinematicexperience \
    cairo pango fontconfig freetype pulseaudio dbus \
    alsa-lib alsa-tools alsa-state alsa-utils-alsaconf fsl-alsa-plugins \
    i2c-tools \
	canutils \
	strace \
	ldd \
"



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-10-27  9:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-22 14:23 qtmultimedia + qt5.3.2 + yocto dizzy Stefano Gurrieri
2015-10-22 20:47 ` Stephano Cetola
2015-10-23  8:52   ` Stefano Gurrieri
2015-10-26 16:32     ` Stephano Cetola
2015-10-27  9:48       ` Stefano Gurrieri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox