Questions tagged [qtmultimedia]
QtMultimedia module from the Qt Toolkit that provides a rich feature set to easily take advantage of a platform's multimedia capabilites and hardware.
qtmultimedia
242
questions
0
votes
1
answer
414
views
PyQt6 6.7.0 - How to fix error: No QtMultimedia backends found
Problem on Windows 10 and Windows 11 using Anaconda.
Here is the full error message for PyQt6=6.7.0:
No QtMultimedia backends found. Only QMediaDevices, QAudioDevice, QSoundEffect, QAudioSink, and ...
0
votes
1
answer
41
views
Saving a QImage sequence as video in QT C++
Is there a way to save a sequence of QImages as video in QT C++?
In fact I am trying to grab frames from camera, add some overlay and then save as video. The tricky part is that QMediaRecorder does ...
1
vote
1
answer
192
views
How to receive frame from QCamera directly in Qt6?
I am trying to capture image without QVideoWidget. But it seems does not work.
When I call capture() after camera->start() , it gives me an error: Camera is not ready.
// Search camera and display ...
1
vote
1
answer
91
views
QMediaPlayer freezes when changing source a second time
The first time I call setSource() everything goes smoothly. However if I try to call setSource() after media has started playing, even when calling stop() beforehand, the program freezes.
The specific ...
0
votes
0
answers
142
views
QT5 QMediaPlayer not displaying video in qt based C++ code built using visual Studio 2017
I have a C++ on windows GUI project which we build using visual studio 2017. The GUI is written using QT 5. We dont use qt creator.
In one of the widget I have to play a video using QT for which I am ...
1
vote
1
answer
401
views
How to stream video from an IP camera using PyQt5 QtMultimedia?
The task is to stream an image from 5 IP cameras using QtMultimedia from the PyQt5 framework. Initially I tried to use OpenCV, but the parallel broadcast of 5 video streams reduced fps. We decided to ...
0
votes
0
answers
71
views
C++ Developing a Scrolling Audio Timeline
I am developing a QT multimedia audio application that needs to have an audio monitor feature. The application currently has regular callback (Signals/Slots) with PCM data samples (44.1khz, Stereo). ...
0
votes
0
answers
68
views
Unable to play audio (.mid) files
I need the program to play audio .mid files.
I'm using code from Audio Overview from the Qt Documentation:
QMediaPlayer *player = new QMediaPlayer;
QAudioOutput *audioOutput = new QAudioOutput;
...
1
vote
0
answers
34
views
How to further debug QAudioDecoder when it claims it has QAudioDecoder::NoError
I am trying to make a small piece of code work.
It should open an mp3 file and read PCM samples from it (while converting the mp3 format to the PCM with requested parameters).
Looks like this:
QFile ...
0
votes
0
answers
64
views
Qt Multimedia Audio Float sample format
I am trying to convert captured audio samples from a USB microphone QAudioDevice. The USB microphone reports that it supports 3 audio formats (QAudioFormat::SampleType::Uint8, QAudioFormat::...
1
vote
2
answers
136
views
What exactly is the presentation time returned by QVideoFrame::startTime() when acquiring from a webcam?
I was able to acquire a QVideoFrame through a QVideoSink from a webcam, but I cannot understand (after a bit of googling) what exactly QVideoFrame::startTime() is returning to me. According to the doc:...
0
votes
0
answers
62
views
Converting QAudioFormat::SampleFormat::FLoat to QAudioFormat::SampleFormat::Int32
I am writing a QT multimedia audio test application. As part of the application, I need to process each audio sample from the microphone directly. The audio source device signals QAudioBuffer's at ...
0
votes
0
answers
56
views
Qt v6.5.2 QtMultimedia Low Bitrate Audio Distortion
I have audio files with .wav extension in version 6.5.2. I create the MediaPlayer component and define AudioOutput in it. I put my file with .wav extension as the source. When I start it up, there is ...
2
votes
1
answer
381
views
Qt 6.4.3 QMediaPlayer::Resource Error "Could not open file"
My organisation is using Qt 6.4.3 and using the Qt Multimedia(Widgets) module. Currently, I am unable to play any non-local files (http/https/rtsp/...) using the FFmpeg backend.
I have verified that ...
0
votes
1
answer
174
views
Qt/QML Android: Camera was detected but ImageCapture send "Camera is not ready." error
I have bellow codes, the Camera in Qt/QML android app detected correctly but ImageCapture send "Camera is not ready." error.
import QtQuick
import QtQuick.Controls
import QtMultimedia
/*! **...