Results 1 to 5 of 5

Thread: Qt 5.4.2 cannot play videos on xp?

  1. #1
    Join Date
    Mar 2015
    Posts
    4
    Qt products
    Qt5
    Platforms
    Windows

    Unhappy Qt 5.4.2 cannot play videos on xp?

    My project works well on win7/8, but plays nothing on xp.
    I search it on google and find that almost everyone is saying that i should compile the qmultimediawidget or just the directshow part. But, qt 5.4.2 dev-kit contains dsengine.dll, isn't it enough?

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Qt 5.4.2 cannot play videos on xp?

    Perhaps you simply do not have a suitable codec by default. Can you play the same video on Windows XP with Windows media player?

  3. #3
    Join Date
    Mar 2015
    Posts
    4
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Qt 5.4.2 cannot play videos on xp?

    Yes, there is no problem when playing with media player. Btw, it's an avi.

  4. #4
    Join Date
    Mar 2006
    Posts
    46
    Thanks
    8
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt 5.4.2 cannot play videos on xp?

    Quote Originally Posted by Nya View Post
    Yes, there is no problem when playing with media player. Btw, it's an avi.
    Just an FYI if you are not aware, but an AVI file is just a container format - AVIs can contain a variety of audio and video codecs, which may or may not be playable on a given system.

  5. #5
    Join Date
    Mar 2015
    Posts
    4
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Qt 5.4.2 cannot play videos on xp?

    Thanks. I added a console window to get the debug messages on xp. Yeah, It was something like directishow service not found.
    According to https://forum.qt.io/topic/28620/solv...-mediaplayer/9 , I rebuild the qmultimedia pro and install. But now, it even crash on my win10!
    When I debug, I find it failed to call DirectShowPlayerService::doSetStreamSource. Why does it call directshow service?(there is an debug message:'Qt: Untested Windows version 10.0 detected!') When does it decide to use directshow or wmf, at compile time or at runtime? Of course, it crashed on xp with an message 'instruction 0x referenced memory 0x memory could not read'.

Similar Threads

  1. Cannot play .mp4 videos on IMX6 linux_bsp image
    By marky in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 5th May 2015, 02:33
  2. QWebView won't play YouTube videos?
    By Zingam in forum Qt Programming
    Replies: 1
    Last Post: 10th July 2014, 12:26
  3. Replies: 6
    Last Post: 5th February 2014, 13:19
  4. [Tab play list]Load play lists on start
    By petrusPL in forum Qt Programming
    Replies: 0
    Last Post: 18th March 2011, 18:12
  5. How to play youtube videos in Symbian device
    By prajnaranjan.das in forum Qt for Embedded and Mobile
    Replies: 2
    Last Post: 2nd February 2011, 12:45

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.