QT5 No video on QTMediaPlayer

Yocto related software discussions are here

QT5 No video on QTMediaPlayer

Postby Rysler » Thu Aug 20, 2015 4:31 am

Hello:

I have successfully deployed QT5 based on this tutorial: http://wiki.wandboard.org/index.php/Bui ... _Wandboard

Everything seems to work perfect except for QTMediaplayer.

I'm running the examples compiled with QT(example: player).

When I try to play a video I get this error: defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"

Has anybody had this issue in the past?

Maybe some plugins missing while compiling QT?

Any hint is really appreciated!

Regards!
Rysler
Rysler
 
Posts: 23
Joined: Mon Jun 29, 2015 11:48 am

Re: QT5 No video on QTMediaPlayer

Postby Richard » Tue Aug 25, 2015 2:09 am

Hello, Rysler:

I have run into this trouble before.
What I did is to use "strace" to see what's problem when executing "player".
Code: Select all
strace -o /log01 ./player


For this kind of error:"defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"".
It usually results from lacking of library, then the QT media service can't be activated normally.
you can check the library under /usr/local/Qt-5.1.1/plugins/mediaservice
Code: Select all
root@wandboard-quad:/usr/local/Qt-5.1.1/plugins/mediaservice# ls
libgstaudiodecoder.so  libgstmediacapture.so
libgstcamerabin.so     libgstmediaplayer.so

Last time I fix this issue is to add "gst-plugins-base" and "libgstapp" package into yocto.
I'm not sure if it also works for your case.

BR,

Richard
Richard
Site Admin
 
Posts: 137
Joined: Tue Dec 17, 2013 6:57 am

Re: QT5 No video on QTMediaPlayer

Postby Rysler » Wed Sep 02, 2015 11:35 am

Thanks Richard!

I will try, hopefully this solves my problems as well.

Regards!
Rysler
Rysler
 
Posts: 23
Joined: Mon Jun 29, 2015 11:48 am

Re: QT5 No video on QTMediaPlayer

Postby Corby » Sat Aug 20, 2016 7:08 am

Rysler wrote:Thanks Richard!

I will try, hopefully this solves my problems and I need https://skinnyexpress.com/phen375-review-and-results some phen375 as well.

Regards!
Rysler


Hi Rysler did it work for you? It didn't for me.

strace -o /log01 ./player

Doesn't show anything for me.
Last edited by Corby on Mon Feb 13, 2017 3:44 pm, edited 2 times in total.
Corby
 
Posts: 1
Joined: Fri Aug 19, 2016 8:11 am

Re: QT5 No video on QTMediaPlayer

Postby Rysler » Mon Aug 22, 2016 9:23 pm

Hi Corby:

Unfortunately not, I stopped to follow this approach; I was using Yocto Dizzy by that time. I decided to use gstreamer instead.

I'm not sure if this has been corrected/improved for further releases of Yocto, maybe you should give them a try.

Regards!
Rysler
Rysler
 
Posts: 23
Joined: Mon Jun 29, 2015 11:48 am

Re: QT5 No video on QTMediaPlayer

Postby Caroline12 » Sat Nov 04, 2017 5:01 am

Rysler wrote:Thanks Richard!

I will try, hopefully this solves my problems as well.

Regards!
Rysler

Hi Corby:

Unfortunately not, I stopped to follow this approach; I was using Yocto Dizzy by that time. I decided to use http://healthworldjournal.com/phen375-a ... ew-by-hwj/ phne375 for loosing weight gstreamer instead.

I'm not sure if this has been corrected/improved for further releases of Yocto, maybe you should give them a try.
Caroline12
 
Posts: 1
Joined: Sat Nov 04, 2017 4:58 am


Return to Software - Yocto

Who is online

Users browsing this forum: No registered users and 7 guests