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

QMediaPlayer audio with UNC URL: Cannot open file or crash

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes