How to use phonon-vlc-backend in PyQt4 for Windows

I help develop a PyQt4.8 application that, among other things, plays video and audio. We use Phonon for this, part of the fact that we also QtWebkit video in a QtWebkit page that uses the same thing.

On Windows 7, the default phonon backend ( phonon_ds94.dll ) seems to work with some media formats (refusal to play), so we are trying to use the phonon_vlc backend.

This page turned out to be the most useful, but I still have not succeeded. I extracted phonon_vlc.dll and copied it to C:\Python26\Lib\site-packages\PyQt4\plugins\phonon_backend\ . I installed VLC 1.1.7. I deleted phonon_ds94 .

But when I run my application, I just get the error message:

 WARNING: bool __thiscall Phonon::FactoryPrivate::createBackend(void) phonon backend plugin could not be loaded 

I also tried adding C:\Program Files\VideoLAN\VLC to %PATH% , but still not fun.

Can anyone suggest any suggestions?

+7
source share

All Articles