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
I have installed PyQt, why QAudioFormat's attribute is not recognized?
I want the run the code below and I get this Attribute Error:
Traceback (most recent call last):
File "C:\sss.py", line 97, in
window = Window()
File "C:\sss.py", line 16, in __init__
format.setChannels(1)
…

Elham Khan
- 71
- 8
0
votes
0 answers
Convert QVideoFrame::Format_YUYV to OpenCV
I want to convert a QVideoFrame in an OpenCV Mat. The frame is mapped in read-only mode.
I wrote the following code:
cv::Mat openCVBGRMatFrom(const QVideoFrame& frame)
{
auto width = frame.width();
auto height = frame.height();
auto*…

Elvis Dukaj
- 7,142
- 12
- 43
- 85
0
votes
1 answer
Video play on arm-Preemption disabled at <>
I am currently using an ARM Freescale processor board to perform video playback:
When I use the Qt Multimedia libraries over the application I get a Preemption before the video playback freezes:
root@sanuser:~# /home/app.sh start
====== AIUR: 4.1.4…

Sangram Jadhav
- 1
- 1
0
votes
0 answers
PyQt5: QtMultimediea wmfengine.dll not loading - no audio, no video
UPDATE:
It turns out that QLibraryPrivate::loadPlugin() calls QLibraryPrivate::load(), which in turn calls QLibraryPrivate::load_sys(). I have looked into the underlying process and found this snippet of the QLibraryPrivate::load_sys() function:
…

James Lemieux
- 720
- 1
- 9
- 26
0
votes
1 answer
QVideoWidget doesn't resize well
I have a Qt application which simply captures from the default webcam and shows it on a QVideoWidget. In the ui, I have a simple MainWindow with a QGraphicsView inside a VerticalLayout:
ui design
My…

mahesh
- 1,028
- 10
- 24
0
votes
1 answer
How to use gstreamer1.0 instead of 0.10 with Qt5.5?
I have a laptop and a computer and I want to test the Media Player example of Qt.
On my laptop, everything is working, but on my computer I have this message:
no service found for - "org.qt-project.qt.mediaplayer"
I have installed the Multimedia…

thibsc
- 3,747
- 2
- 18
- 38
0
votes
0 answers
How to use QtMultimedia/QCamera?
I am creating in C++ one program, where you can create Userprofiles.
The User should have the option to take one photo with for example the notebook camera.
I already read a lot about QCamera und try to use this. I already imported QtMultimedia in…

Jackylinelein
- 1
- 1
0
votes
0 answers
How to run Camera on Linux using Qt?
I am running camera on Linux and getting an error that
defaultServiceProvider::requestService(): no service found for -
"org.qt-project.qt.camera"
this is my code
Camera::Camera(QWidget *parent) :
QMainWindow(parent),
ui(new…

Ramiz
- 11
- 4
0
votes
0 answers
Python3 PyQt5 play mp4 compiled module
I'm building a desktop GUI app which includes MP4 (audio/visual) files. I have compiled them using pyrcc5 however the way the app is coded so far, using PyVLC, it can't play the videos as compiled modules - I don't want users to copy or replace the…

hsc1000
- 63
- 1
- 8
0
votes
0 answers
PyQT Multimedia Issue
So, I am having quite a time getting the video player in QT 5.5.1 created in QML to work with PyQt5 installed from Ubuntu. In fact, everything is installed from Ubuntu so I am fairly certain the Qt versions are correct. The QML will not load but get…

Andrew Scott Evans
- 1,003
- 12
- 26
0
votes
1 answer
Modifing and displaying QVideoFrames obtained in QAbstractVideoSurface
I have very a simply application written in QT in which I want to display a movie by using QMediaPlayer, but before I will display any frame I would like to detect on it some objects and mark them by drawing a rectangle over it.
I've read in…

notfound404
- 53
- 9
0
votes
0 answers
Qt: How to create a .mp4 from a collection of QOpenGLFramebufferObjects or QImages or Glunit textures
I am developing a Qt app for iOS, Android & OSX.
Situation:
I have an std::vector of QOpenGLFramebufferObjects. Each QOpenGLFramebufferObject can of course provide its own QImage or a GLunit texture by doing a takeTexture. So you can also say that…

TheWaterProgrammer
- 7,055
- 12
- 70
- 159
0
votes
1 answer
QMediaPlayer - modify audio on the fly
I'm researching options for creating a simple video player. What I'd like to do, is to apply some audio processing (e.g. low pass filter for simplicity) while playing back the video. I've looked at Qt multimedia API, so here's my main question:
How…

eko
- 369
- 4
- 15
0
votes
1 answer
Qt: QCamera + FaceRig (virtual camera). Is it possible?
Is it possible to use QCamera class with physical/virtual camera which is used by another program?
I know that FaceRig is creates with possibility to be used at such programs like Skype, but when I've trying to catch it by QCamera (I use default…

Maks Borisenko
- 1
- 4
0
votes
1 answer
"QWidget::paintEngine: Should no longer be called" appears when using QMediaPlayer
I implemented widget for playing media files like this:
.h file
.cpp file
If you want to compile it in your environment, you should copy also this files: mediaslider.h mediaslider.cpp and add multimedia and multimediawidgets on your .pro file
It…

devalone
- 535
- 6
- 21