Playing a video in FW4SPL

21 views
Skip to first unread message

Philippe Muller

unread,
Jun 23, 2011, 6:02:06 AM6/23/11
to fw4spl-discuss
Hello,

I'm currently facing a problem while trying to include a video in an
FW4SPL application. I've searched in the Qt documentation, and it
appears that Phonon can do it in a very simple way. (-> using
Phonon::VideoPlayer and Phonon::MediaObject)
The problem is that it doesn't seem to work in FW4SPL (works fine on a
simple Qt App, though). So my question is : have you ever try to play
a video in a FW4SPL app ? If so, how did you manage to do it ? I've
experimented many things, but nothing works.

Thanks for help !

Philippe

Nicolas P

unread,
Jun 23, 2011, 11:19:27 AM6/23/11
to fw4spl-...@googlegroups.com
Hello,

I need more information to be able to give you a more precise answer about your issue, but i may have a pointers that could help you to investigate : 

I don't know which binary packages you are using, especially which version of Qt, but you may need to manually install qt plugins. A way to do that is to copy the content of the plugins directory located in qt's binary package into your Install/bin directory ( do not mix qt-debug with qt-plugins-release or vice-versa)

--
Nicolas

Philippe Muller

unread,
Jun 24, 2011, 4:05:50 AM6/24/11
to fw4spl-discuss
Hello,

First of all, thanks for the reply !

What kind of information do you need ? I'm currently using Qt 4.6.3
and trying to get Phonon work.
I've also tried to install the Qt plugins manually, by putting the
phonon4.dll (from BinPkgs directory) in the Install/bin directory.
It doesn't seem to help much.

Do you have any more clue ?

Nicolas P

unread,
Jun 24, 2011, 5:25:22 AM6/24/11
to fw4spl-...@googlegroups.com
I was talkin about the qt plugins, located in your qt_*_4-6*/plugins binary package directory. The content of this directory should be copied into the Install/bin directory, in respect with the qt_*_4-6*/plugins directory tree. That mean that you should have a "phonon_backend" directory in your Install/bin directory, and maybe some other plugin directories.

Philippe Muller

unread,
Jun 24, 2011, 7:35:59 AM6/24/11
to fw4spl-discuss
I don't understand very well.
In the "BinPkgs/Debug/qt_4-6-3_win_32_cl9-0_D" directory, I don't have
any "plugins" subdirectory. Everything I have is a "bin", "include",
and "lib" folder...
- "bin" contains a bunch of dll's
- "include" has some .h files
- "lib" got some .lib files
Or maybe I'm misunderstanding what you mean with "binary package" ?
I've also searched for a "plugins" or a "phonon_backend" directory in
a different location within FW4SPL, but I ended with no results.

On the other hand, I have installed Qt 4.7 in "C:\QtSDK", which has a
"plugin/phonon_backend" folder. I've tried to copy it in the Install/
bin directory (with path : Install/bin/phonon_backend), but it doesn't
work either.

Nicolas P

unread,
Jun 24, 2011, 9:40:08 AM6/24/11
to fw4spl-...@googlegroups.com
Ok, i forgot that previous windows binpkgs was not packaged with the qt plugins dir. And Qt 4.7 plugins can not be loaded by Qt 4.6.  I can't actually provide these plugins, but a new release of binpkgs containing Qt 4.7 will soon be available.

Nicolas P

unread,
Jun 28, 2011, 10:07:10 AM6/28/11
to fw4spl-...@googlegroups.com
Hello,

Julien W. Made available a release of windonws binary packages, you can find them here : http://fw4spl.org/binpkgs/windows/cl9.0/

Philippe Muller

unread,
Jun 29, 2011, 5:35:24 AM6/29/11
to fw4spl-discuss
Thank you very much !
Now it works fine :)
Reply all
Reply to author
Forward
0 new messages