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

QMediaMetaData does not know FLAC file on Ubuntu 22.04

    XMLWordPrintable

Details

    • Linux/Wayland

    Description

      In the code attached, Qt does not recognize that the audio file is a FLAC file. Here is the output of the code:

       

      QMediaMetaData::Duration QVariant(qlonglong, 0)
      QMediaMetaData::FileFormat QVariant(QMediaFormat::FileFormat, QMediaFormat::UnspecifiedFormat)
      QMediaMetaData::Url QVariant(QUrl, QUrl("qrc:/test.flac"))

      Note that file, mediainfo, etc. recognizes the correct file format.

       

      I use Qt 6.4.2 installed with aqtinstall.

       

      REOPEN: the problem is confirmed by another user that has installed Qt 6.4.3 from the official installer on a fresh Ubuntu 22.04.

       

      Step to reproduce:

      1. use Ubuntu 22.04 up to date
      2. download the Qt Online installer
      3. install it with default option (ensure QTMultimedia is installed)
      4. Try to play the example (QMediaMetaData_flac)
      5. You should get the same output as reported above.

      Attachments

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

        Activity

          People

            laknoll Lars Knoll
            delaune Olivier Delaune
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes