Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with QMediaMetaData and media format #658

Open
pamputt opened this issue Mar 20, 2023 · 5 comments
Open

Issue with QMediaMetaData and media format #658

pamputt opened this issue Mar 20, 2023 · 5 comments
Labels
bug Something isn't working Qt/Upstream

Comments

@pamputt
Copy link

pamputt commented Mar 20, 2023

Describe the bug
I have install Qt 6.4.2 using aqt and I have the same issue that the one described in QTBUG-110883.

It seems that some media format (at least FLAC) are not supported by Qt when installed with aqt.

To reproduce

  1. Install aqt using aqt install-qt linux desktop 6.4.3 -m all
  2. Download https://bugreports.qt.io/secure/attachment/136780/QMediaMetaData_flac.zip
  3. Unzip QMediaMetaData_flac.zip
  4. cd QMediaMetaData_flac
  5. mkdir build
  6. cd build
  7. cmake ..
  8. make -j4
  9. ./QMediaMetaData_flac

It prints

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

Expected behavior

It should prints some usefull information related to test.flac

Desktop (please complete the following information):

  • OS: Ubuntu 22.04 LTS 64-bits
  • aqtinstall(aqt) v3.1.3 on Python 3.10.6 [CPython GCC 11.3.0]
@pamputt pamputt added the bug Something isn't working label Mar 20, 2023
@ddalcino
Copy link
Contributor

There's a lot of context missing here.

Please fill out the following:

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. install aqt using this command
  2. run aqt with this command
  3. See error

Expected behavior
A clear and concise description of what you expected to happen.

aqt output
Add program output to help explain your problem.

paste program output here

Desktop (please complete the following information):

  • OS: [e.g. windows]
  • aqt version [paste the output from the command aqt version or python -m aqt version]

Additional context
Add any other context about the problem here.

@pamputt
Copy link
Author

pamputt commented Mar 21, 2023

I have added some information. I think it is enough to reproduce

@ddalcino
Copy link
Contributor

The response to the issue you linked suggested running lddtree against libQt6Multimedia.so.6. Can you show us the output of that command please? You should be able to find this file at INSTALL_DIR/QT_VERSION/gcc_64/lib/libQt6Multimedia.so.6.

@ddalcino
Copy link
Contributor

ddalcino commented Mar 27, 2023

I attempted to build your QMediaMetaData_flac project, on a fresh VM of Ubuntu 22.04, and I can reproduce the problem with Qt installed via aqtinstall. I also tried to build the project using Qt installed with the official GUI Qt installer, and that causes the problem as well.

I don't know what is causing this, but I am certain that this issue has nothing to do with aqtinstall because Qt 6.4.3 installed with the official installer has the same issue.

FYI, I tried lddtree libQt6Multimedia.so.6, and it doesn't show any broken links. If I were you, I'd go back to the Qt bug tracker and tell them to try using their own installer on Ubuntu 22 instead of Arch; that should reproduce the problem.

@pamputt
Copy link
Author

pamputt commented Apr 4, 2023

I have installed Qt 6.5.0 with aqt and the problem disappeared. Yet, it is still present for older Qt version (6.4.*).
This problem has been reported upstream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Qt/Upstream
Projects
None yet
Development

No branches or pull requests

3 participants