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

Media player remains in the "loading" state if the source path contains spaces

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.15.0
    • Multimedia
    • None
    • $ sw_vers
      ProductName: Mac OS X
      ProductVersion: 10.15.4
      BuildVersion: 19E287
    • macOS

      I installed Qt5.15 from the maintenance tool and tested new version of Qt Multimedia on Qt example named "Media Player Example". 

      1) In Qt.5.15 :

      If I open a video located in "/Users/chloe/Downloads/sample.mp4" it works but if I open a video located in "/Users/chloe/Downloads/sam ple.mp4", the media player seems to stays in "Loading" status. 

      I tested with others videos containing spaces in their filename, media player always stays in "Loading" status. 

      2) In Qt 5.14.2 : It worked

      If I open a video located in "/Users/chloe/Downloads/sample.mp4" it works and if I open a video located in "/Users/chloe/Downloads/sam ple.mp4", it works too.

      3) Try to use Video QML type in a simple project Qt5.15 : 

      I encountered same problem : if an url with spaces is set to source attribute, my Video Item status attribute stays in "MediaPlayer.Loading" value. There is no error detected in error or errorString attributes of my Video Item. So, this bug does not seem to concern only the example "Media Player Example".

      Regards

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

            valentyn.doroshchuk Valentyn Doroshchuk
            roumieu Chloé Roumieu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes