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

QMediaPlayer audio with UNC URL: Cannot open file or crash

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P4: Low
    • None
    • 5.6.0, 5.6.2
    • Multimedia
    • W11x64, Qt 5.6.2 MSVC2019
    • Windows

    Description

      I was trying to get the QMediaPlayer with audio output only to play some files attached on the network storage. It simply didn't work - either I got the "Could not open file" media player error or sometimes it resulted in an exception somewhere in QFFMpeg.

      Tested on QT 5.6.0 and 5.6.2. I've found a workaround where I made things work by using QFile and QMediaPlayer::setSourceDevice instead of QMediaPlayer::setSource and QUrl::fromLocalFile.

      Attachments

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

        Activity

          People

            qtmultimediateam Qt Multimedia Team
            danol Daniel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes