Qt multimedia warnings Qt 6.6.0
-
@respect88 also make sure video drivers are installed. Install VLC and see if vlc works correctly.
-
@JoeCFD Installing the program 'cheese' in Ubuntu works to display the webcam. I am going to try upgrading to Ubuntu 23 and install this package gstreamer1.0-qt6, which isn't available for Ubuntu 22
@respect88 I do not think upgrade will help. But it is nice to use Ubuntu 23. Try to find FFmpeg debug tool to check what is wrong. For example, in gstreamer you can set GST_DEBUG env variable to find out gstreamer related errors. FFmpeg must have something similar.
Qt Multimedia is a black box and it is hard to find where the problem is.While ffmpeg doesn't have a dedicated environment variable like GST_DEBUG in GStreamer, you can achieve a similar debugging effect using the AV_LOG environment variable. ffmpeg uses the libavutil library for logging, and AV_LOG is the environment variable that controls the logging level.
Possible values for AV_LOG include:quiet: Show no messages. panic: Only show fatal errors. fatal: Only show fatal errors and errors. error: Only show errors. warning: Show errors and warnings. info: Show errors, warnings, and informational messages. verbose: Show all the above, plus more verbose output. debug: Show all messages, including debugging information.
-
@respect88 I do not think upgrade will help. But it is nice to use Ubuntu 23. Try to find FFmpeg debug tool to check what is wrong. For example, in gstreamer you can set GST_DEBUG env variable to find out gstreamer related errors. FFmpeg must have something similar.
Qt Multimedia is a black box and it is hard to find where the problem is.While ffmpeg doesn't have a dedicated environment variable like GST_DEBUG in GStreamer, you can achieve a similar debugging effect using the AV_LOG environment variable. ffmpeg uses the libavutil library for logging, and AV_LOG is the environment variable that controls the logging level.
Possible values for AV_LOG include:quiet: Show no messages. panic: Only show fatal errors. fatal: Only show fatal errors and errors. error: Only show errors. warning: Show errors and warnings. info: Show errors, warnings, and informational messages. verbose: Show all the above, plus more verbose output. debug: Show all messages, including debugging information.
@JoeCFD Having trouble finding a ffmpeg tool that can debug my app.
I did create a bug report a few months ago. I feel like this whole switch to ffmpeg is still kinda new and all the issues aren't ironed out.
-
@JoeCFD Having trouble finding a ffmpeg tool that can debug my app.
I did create a bug report a few months ago. I feel like this whole switch to ffmpeg is still kinda new and all the issues aren't ironed out.
@respect88 Not sure how big your multimedia app is. It may not be that hard to code raw FFmpeg pipeline in your qt code. I use gstreamer for streaming in my Qt app.
Any of them will be good. Then, you will have more control over what you want to do. -
Just downloaded Qt 6.6.0 on Ubuntu 22.04 and I started getting these errors when running the app:
qt.multimedia.ffmpeg.libsymbolsresolver: Couldn't load OpenSsl library qt.multimedia.ffmpeg.libsymbolsresolver: Couldn't load VAAPI library
I have OpenSSL -
openssl
andlibssl-dev
. Not sure whatVAAPI
.Any idea what else I would need?
@AkshayFP reported this today, https://bugreports.qt.io/browse/QTBUG-110805
Basically the ffmpeg backend is looking for OpenSSL 1.1 libraries. -
@AkshayFP reported this today, https://bugreports.qt.io/browse/QTBUG-110805
Basically the ffmpeg backend is looking for OpenSSL 1.1 libraries.Oops, wrong url, I mean this one https://bugreports.qt.io/browse/QTBUG-118178
-
https://bugreports.qt.io/browse/QTBUG-110805
This ticket has resolved in Qt 6.5.5 but I cannot find this version in my Qt installation.
Anyone know how to install this?
PS: I have done with Qt 6.6.1 but I want to do with Qt 6.5.5 -
https://bugreports.qt.io/browse/QTBUG-110805
This ticket has resolved in Qt 6.5.5 but I cannot find this version in my Qt installation.
Anyone know how to install this?
PS: I have done with Qt 6.6.1 but I want to do with Qt 6.5.5@Trung-Ngo said in Qt multimedia warnings Qt 6.6.0:
Anyone know how to install this?
How did you install Qt?
If using online installer you can use Qt Maintenance Tool to install another Qt version (you probably will have to enable Archive to install older versions). -
@Trung-Ngo said in Qt multimedia warnings Qt 6.6.0:
Anyone know how to install this?
How did you install Qt?
If using online installer you can use Qt Maintenance Tool to install another Qt version (you probably will have to enable Archive to install older versions). -
@jsulm I use either a clean installation or Maintenance. All of them do not include Qt 6.5.5
Only Qt 6.5.3 and up to 6.6.0. It does not have Qt 6.5.4 and Qt 6.5.5@Trung-Ngo said in Qt multimedia warnings Qt 6.6.0:
It does not have Qt 6.5.4 and Qt 6.5.5
It could be that these versions are not provided via installer for OSS users (only for commercial users). You would need to build that Qt version from source. But why don't you want to use Qt 6.6.x?