mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] Does QtMultimedia work for anyone?


From: Nikos Chantziaras
Subject: Re: [Mingw-cross-env-list] Does QtMultimedia work for anyone?
Date: Mon, 03 Jun 2013 20:23:42 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6

On 03/06/13 10:14, Mark Brand wrote:
On Monday 03 June 2013 04:21:02 Nikos Chantziaras wrote:
Since I'm not able to figure out how to get gstreamer to work with MXE,
I'm now trying Qt5 and its multimedia module.  So I've build that and
then compile the two example programs that play video.  Neither one
works.  The error message says:

    The QMediaPlayer object does not have a valid service.
    Please check the media service plugins are installed.

What is missing? [...]

There's a good chance you're pioneering if you are using static QtMultimedia.
I haven't tried multimedia support since phonon first appeared in Qt 4 several
years ago. You probably have to link explicitly to the DirectShow plugin by
adding QTPLUGINS to your .pro file [1]. (In Qt 5, qmake should take care of the
Q_IMPORT_PLUGIN() macro.) Even then I don't know if it will work. Please let
us know how it works out.

Ah yes. Qt plugins. They're in usr/i686-pc-mingw32/qt5/plugins/mediaservice:

  dsengine.prl
  libdsengine.a
  libqtmedia_audioengine.a
  qtmedia_audioengine.prl

So I've added them:

  QTPLUGIN += dsengine qtmedia_audioengine

That fixed it. Though it doesn't play any videos when running it in Wine or in XP and 7 in VMWare. It only works when running in a native Windows environment. But this is not an MXE issue. Same thing happens with the 5.1.0 beta Windows release.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]