Qt + Phonon: not playable on some computers

I had a problem with my application after deploying on a clean machine. These are the results of launching the application:

  • Win7 Home : after installing ffdshow, the program plays wmv, mp3.
  • Vista Home . With ffdshow installed, it plays mp3, but not wmv
  • WinXP (without service packs): wmv, mp3 does not play, even if ffdshow is installed. The program can find 38 backends, among which there are mp3 and wmv. It plays wav files.
  • Everything works fine on the computer on which the project is built, even if many formats are disabled in ffdshow.

The plugins folder is added in addition to the exe file and contains the phonon_backends folder with phonon_ds94.dll.

Can someone explain to me how to make program files on computers where Qt is not installed?

+4
source share
3 answers

I'm not sure MP3 files cannot play, but do you remember deploying QtOpenGL4.dll on machines that won't play videos? On Windows, the phonon backend relies on this DLL and will just sit there and do nothing when it is not present.

Sjwarner's suggestion to try Dependency Walker is good, especially in cases where the plugin DLL is dynamically loaded.

+2
source

This is the first thing I would like to do is give Dependency Walker . I would run it with all the deployed states that you described in detail above, and see if there are differences between the DLLs used by the application in each case.

+1
source

I had this exact problem and fixed it by installing a codec pack. This is the one I used: K-Lite Mega Codec pack (don't forget to install two browser extensions at the end)

0
source

Source: https://habr.com/ru/post/1385046/


All Articles