Results 1 to 4 of 4

Thread: Phonon VideoWidget does not show video on Vista SP2

  1. #1
    Join Date
    Jun 2011
    Posts
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Phonon VideoWidget does not show video on Vista SP2

    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?
    Last edited by maxchan; 22nd June 2011 at 17:32.

  2. #2
    Join Date
    Jun 2011
    Posts
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Phonon VideoWidget does not show video on Vista SP2

    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

  3. #3
    Join Date
    Jun 2009
    Posts
    1
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Phonon VideoWidget does not show video on Vista SP2

    Same problem here, but with Python's PySide. Anyone know what's going on?

  4. #4
    Join Date
    Apr 2006
    Location
    Denmark / Norway
    Posts
    67
    Thanks
    3
    Thanked 12 Times in 8 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: Phonon VideoWidget does not show video on Vista SP2

    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?

Similar Threads

  1. Replies: 0
    Last Post: 22nd August 2010, 14:44
  2. Play video file with Phonon and GStreamer show black screen
    By SimbadSubZero in forum Qt Programming
    Replies: 2
    Last Post: 6th May 2010, 11:47
  3. QPixmap::grabWidget on a scaled Phonon::VideoWidget?
    By linus in forum Qt Programming
    Replies: 0
    Last Post: 6th April 2010, 13:19
  4. Zoom in a Phonon::VideoWidget
    By linus in forum Qt Programming
    Replies: 1
    Last Post: 26th March 2010, 21:13
  5. Phonon::VideoWidget Problem with AspectRatio
    By tituslup in forum Qt Programming
    Replies: 1
    Last Post: 27th July 2008, 17:04

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.