QtMultimedia module from the Qt Toolkit that provides a rich feature set to easily take advantage of a platform's multimedia capabilites and hardware.
Questions tagged [qtmultimedia]
235 questions
0
votes
1 answer
QAudioInput: failed to open audio device
I'm try to use Qt Multimedia to open microphone and access data. I followed the official example Audio Input Example and get the following code(Just a test program, I will inject into my other project when it's okay).
Environment: Windows 10 20H2.…

AssassinMaster
- 3
- 1
0
votes
1 answer
Using non-qtcore libraries on Visual Studio using Qt VS Tools causes LNK2019
I am trying to use QSoundEffect from QtMultimedia. I have included the file like so:
#include
and used QSoundEffect in my project.
When I try to compile my project after this, I get LNK2019 errors:
1>chatwindow.obj :…

emredesu
- 179
- 1
- 5
- 11
0
votes
0 answers
Always empty metadata
I'm writing audio player using QtMutimedia, and need got audio file metadata.
I'm using this code, but always returns empty strings on every file. How fix this?
Qt 5.15.2 MinGw
QStringList meta = player->availableMetaData();
qDebug() << "File meta:…

ArnyFour
- 1
0
votes
1 answer
How to set windowsmediafoundation as preferred plugin?
I was playing around with QMediaplayer, trying to create a music player with PyQt (5.9.2) and noticed that the player duration is incorrect on files with "unusual" bitrates (e.g. 241 kbits/s).
I found a similar question here…

Mr Kartofel
- 15
- 4
0
votes
1 answer
How to send a parameter to QAbstractVideoFilter in qml?
I want to have multiple camera that processing by unique filter and all camera filter have to access to unique Array in memory(should not passing copy of Array to each filter).
Do you have any idea? my solution is to send the Array by parameter to…

Rashed DIP
- 57
- 8
0
votes
1 answer
libQt5MultimediaQuick.so.5: cannot open shared object file: No such file or directory
I was working on a project called RaspMedia(my project folder's name is also that). I combined QML and python together using PyQt5.
I've tried to import QtMultimedia using the import statement import QtMutimedia 5.14 in my main.qml file.
This is my…

Newtron Malayalam
- 297
- 2
- 12
0
votes
0 answers
Is it possible to capture audio sent to the audio interface using QAudioProbe?
For my application, I need to visualize the audio signal that's sent to an audio interface (core audio/hardware sound card), without needing to forward the signal (this is how soundflower or jack audio work).
One example is that QuickTime player…

Thinium
- 171
- 1
- 14
0
votes
1 answer
Audio keeps playing when app is in the background
I have a soundtrack to be played through the run time as the main theme:
App{
...............
Audio{
source: "../assets/Art Of Silence_V2.mp3"
autoPlay: true
loops : Audio.Infinite
}
.......
}
How do I…

Somayyah Mohammed
- 186
- 5
- 23
0
votes
1 answer
how do I autoplay music when my app reloads
I'm making a game and I want the theme soundtrack to be autoplayed and to keep on looping no matter what is the viewed page/stack status...etc how do I do this? I already have:
App {
onInitTheme: {
Theme.navigationBar.titleColor =…

Somayyah Mohammed
- 186
- 5
- 23
0
votes
1 answer
QMediaPlayer displays audio only for certain videos
I'm using QMediaPlayer according to the example in the docs.
Here's my code:
from PySide2 import QtWidgets
from PySide2 import QtCore
from PySide2.QtMultimedia import QMediaPlayer
from PySide2.QtMultimediaWidgets import QVideoWidget
class…

Blimmo
- 363
- 3
- 11
0
votes
1 answer
Which dlls are needed for Qt multimedia QCameraInfo::availableCameras(); to return the list of cameras?
On Windows 10 N, the windows media foundation and player are missing and QCameraInfo::availableCameras(); returns empty list. The mediaservice plugins are copied correctly both dsengine.dll and wmfengine.dll. The app works on other windows machines.…

Andrej Fogelton
- 123
- 11
0
votes
0 answers
Cant load music file with QMediaPlayer
I am creating media player with qt5. Code below works fine ( it open file dialog, load one song and play it after loading) but it can't play some MP3 files. These files are not damaged or something like this, I can open them with other media…

Dushess
- 1
- 1
0
votes
0 answers
QAudioDecoder returns invalid QAudioFormat on Xubuntu 18.04
I am not able to make QAudioDecoder (Qt 5.9.5) work on Xubuntu 18.04. Specifically, I always get that the audio format returned by QAudioDecoder::audioFormat() is not valid, no matter which file I try.
For instance, the following trivial program…

JtTest
- 47
- 9
0
votes
0 answers
Video QML type crashes (0xC0000005: Access violation) when loading .avi file
I am experiencing app crashes due to a Access violation when trying to load a file with the Video QML Type. I am running a C++/Qt 11.1 application on Windows, using msvc2017 compiler.
I am currently trying to render a simple video in a loop within…

Jacob
- 1
0
votes
0 answers
How to solve "QML module not found (QtMultimedia)"
I'm importing QtMultimedia 5.4 to use a Camera but its raising this error QML module not found (QtMultimedia).
I've tried to echo the $QML_IMPORT_PATH as well as the $QML2_IMPORT_PATH which gave nothing.
Thank you for you help.

imad kimouche
- 133
- 1
- 1
- 10