Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.4.3
-
None
-
Ubuntu 22.04
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:
- use Ubuntu 22.04 up to date
- download the Qt Online installer
- install it with default option (ensure QTMultimedia is installed)
- Try to play the example (QMediaMetaData_flac)
- You should get the same output as reported above.