PDA

View Full Version : Phonon VideoWidget does not show video on Vista SP2



maxchan
22nd June 2011, 17:14
Hi all,

I use Qt 4.7.3 to write an Video player based on Phonon::VideoWidget to play AVI files (with Motion JPEG codec). The player works fine in XP SP3 and Win7. However, in Vista, only sound is played and no video shows (only freeze picture of previous screen).

I tried both mingw and vs2008 version.

I also tried to recompile phonen and phonon_backend with DirectX 2010 June. The DLLs are successfully built but the player still can't play video in Vista.

Can anyone show me how to fix this?

maxchan
23rd June 2011, 02:12
I tried the demo program qmediaplayer and got the same result. The aspect ratio is not correct and the windows is froze after selecting an AVI file. Phonon::VideoWidget just does not work in Vista

dune2
28th June 2011, 16:31
Same problem here, but with Python's PySide. Anyone know what's going on?

luf
16th December 2011, 19:49
It's a Qt issue, but I suspect they won't fix it:
https://bugreports.qt.nokia.com/browse/QTBUG-20068

What's interesting is that the phonon module works in 4.6.4 on vista sp2, and after briefly looking at the source, there isn't much difference between the phonon src in 4.6.4 and 4.7.x

Anyone figured out a solution?