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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Duplicate
    • Affects Version/s: 5.15.0
    • Fix Version/s: None
    • Component/s: Multimedia
    • Labels:
      None
    • Environment:
      $ sw_vers
      ProductName: Mac OS X
      ProductVersion: 10.15.4
      BuildVersion: 19E287
    • Platform/s:
      macOS

      Description

      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

        Attachments

          Issue Links

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

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes