Unsolved QMediaPlayer defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer" in Windows
-
Hello,
Trying to play video in Windows Server 2012 R2 but
i get this error: defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"
I tried to install K-Lite_Codec_Pack_1516_Mega but it did not help. -
Hi
It needs to be DirectShow codecs.
Not sure server 2012 has any directx.
At least not the core version.So first check it it has directx.
This also might add some
https://www.mediaplayercodecpack.com/lite/
However, I have not tried that on a server version so please be carefull.
(oh a virtual machine. Then just take snapshot and try :) -
@mrjj still there is problem. Directx 11 installed and this codec did not help.
-
@Emrecp
Ok. it was worth a shot.
what codec is the video encoded with?
MKV will not work as far as i know. -
@mrjj said in QMediaPlayer defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer" in Windows:
Ok. it was worth a shot.
what codec is the video encoded with?They are youtube videos. Link creating with pafy.
https://pypi.org/project/pafy/ -
@Emrecp
So is that using the RMTP streaming protocol or do you download an actual file ? -
@mrjj no downloading.
Here is the code: self.mediaPlayer.setMedia(QMediaContent(QUrl(URL))) -
Problem NOT solved. Help pls.
-
Hi
I dont think its able to play the format using streaming or whatever the pafy does/produces.
Maybe you can use qt-VLC instead. if bindings for python exists. -
@mrjj said in QMediaPlayer defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer" in Windows:
qt-VLC
This is sad. Thanks for everything :)