Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-47355

QMediaPlayer not working on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.4.0 Alpha
    • Multimedia
    • None
    • Windows 7 Parallels VM

    Description

      QMediaPlayer doesn't play video. An easy way to reproduce this is by using the Qt example app "Video Widget Example" (http://doc.qt.io/qt-5/qtmultimediawidgets-videowidget-example.html, also attached to this ticket) to play attached video.

      I'm running Windows 7 on Parallels VM, using Qt5.4.1,

      STR:
      1) build and run example app
      2) press "Open" and select attached file
      3) now press on the "Play" button
      4) notice "Error: Media session serious error." is shown.

      This is printed out to the console:

      Debugging starts
      ShellStreams: Attach
      Trying to load localized resources for LANGID 1033 with Primary LANGID 9 code en name English (Universal)
      Resource DLL loaded at path C:\Program Files\Common Files\Apple\Internet Services\ShellStreams.resources\en.lproj\ShellStreamsLocalized.dll
      Setting C thread locale as English_United States.12525096 0000000000000000 ENTER: DllGetClassObject
      5096 0000000000000000 LEAVE: DllGetClassObject
      5096 0000000005AA9BE0 ENTER: ShellStreamsFolder::ShellStreamsFolder
      5096 0000000005AA9BE0 LEAVE: ShellStreamsFolder::ShellStreamsFolder
      5096 0000000005AA9BE0 ENTER: ShellStreamsFolder::Initialize
        
      pidl = 1f50e04fd020ea3a6910a2d8802b30309d140 -> 2e80853fd6f0ec379740b3d61b4a891711800 -> 
      5096 0000000005AA9BE0 LEAVE: ShellStreamsFolder::Initialize
      5096 0000000000000000 ENTER: DllGetClassObject
      5096 0000000000000000 LEAVE: DllGetClassObject
      5096 0000000005AA9BE0 ENTER: ShellStreamsFolder::ShellStreamsFolder
      5096 0000000005AA9BE0 LEAVE: ShellStreamsFolder::ShellStreamsFolder
      5096 0000000005AA9BE0 ENTER: ShellStreamsFolder::Initialize
        
      pidl = 1f50e04fd020ea3a6910a2d8802b30309d140 -> 2e80853fd6f0ec379740b3d61b4a891711800 -> 
      5096 0000000005AA9BE0 LEAVE: ShellStreamsFolder::Initialize
      
      Exception at 0x7fefd47aaad, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in EVR!VideoOTAContainer::UpdateOTA
      
      Exception at 0x7fefd47aaad, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in EVR!COPMMaster::OPMEnumerateDevices
      
      Exception at 0x7fefd47aaad, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in EVR!alloca_probe
      
      Exception at 0x7fefd47aaad, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in ntdll!RcConsolidateFrames
      handleSessionEvent: serious error =  -2147467262
      handleSessionEvent: serious error =  -2147467262
      handleSessionEvent: serious error =  -2147467262
      handleSessionEvent: serious error =  -2147467262
      5096 0000000000000000 ENTER: DllCanUnloadNow
      5096 0000000000000000 LEAVE: DllCanUnloadNow
      ShellStreams: Detach
      

      Expected result: Video should play.

      Attachments

        1. test_video.mp4
          3.97 MB
        2. videowidget.zip
          6 kB

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              ylopes Yoann Lopes
              mbusenitz Mark Busenitz
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes