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
2
votes
1 answer
QMediaPlayer. How to play video with multiple audio?
There is a video file with two audio tracks:
Duration: 01:05:09.12, start: 0.000000, bitrate: 2781 kb/s
Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 720x400 [SAR 1:1 DAR 9:5], 1998 kb/s, 25 fps, 25 tbr, 25…

voron.run
- 47
- 7
2
votes
2 answers
module "QtMultimedia" is not installed
I've installed Qt and Qtcreator on a Raspberry Pi 3 using the normal apt-get install method. Everything seems to work fine except when I try to build the declarative-camera example or other multimedia examples I get an error saying module…

doelldd
- 71
- 1
- 1
- 7
2
votes
1 answer
PyQt QMediaPlayer setPosition rounds the position value
I have an app that's designed to help synchronise an experiment video and data signals. The App has a video widget and a slider that can set the temporal position of the video. However, QMediaPlayer will only set the position at 500mSec/1000mSec…

YuvGM
- 414
- 2
- 6
2
votes
0 answers
How to cross compile Qt with gstreamer
I want cross compiled qt5.12.3 with gstreamer for my arm board,
I have cross compiled gstreamer-1.0 and gst-plugin-base-1.0 ,set their path correctly,but one error comes when configure,like this
ERROR: Feature 'gstreamer' was enabled, but the…

fevancio
- 21
- 1
2
votes
1 answer
VoIP: How to capture the live audio/video streaming bytes from Camera in Qt multimedia?
The intention here is to capture those audio + video bytes from Camera, then optimise with an appropriate Qt class (suggestions welcome) and send them over TCP to a server. The server sends back those bytes to another client to be played. This is…

iammilind
- 68,093
- 33
- 169
- 336
2
votes
1 answer
How to get a direct jump in QSlider without damaging performance
I am now creating a simple video player in QT.
I created a slider that is connected with Connect to a multimedia player (he is responsible for running the movie back and forth) and I want it to be moved by a mouse click anywhere on the slide and not…

YOKO
- 119
- 1
- 7
2
votes
1 answer
pyqt5 looping mp3 file
I want to loop an audio file and using a combination of THIS CODE (my orignal question with solution) and THIS CODE (Qt C example) managed to create this:
from PyQt5.QtCore import *
from PyQt5.QtMultimedia import *
import sys
if __name__ ==…

hsc1000
- 63
- 1
- 8
2
votes
3 answers
How to convert 'QVideoFrame' with YUV data to 'QVideoframe' with RGBA32 data in Qt?
I receive QVideoFrames from webcam, and they contain image data in YUV format (QVideoFrame::Format_YUV420P). How can I convert one such frame to one with QVideoFrame::Format_ARGB32 or QVideoFrame::Format_RGBA32?
Can I do it without going low level,…

Mr. Developerdude
- 9,118
- 10
- 57
- 95
2
votes
1 answer
Getting video frame in provided time Qt
What I want to do is to get video frame at some time (for example at 20 sec).
I know I could do something like this - rewind video and pause it:
QMediaPlayer* player = new…

carobnodrvo
- 1,021
- 1
- 9
- 32
2
votes
1 answer
Some QSoundEffects don't play (ever) on Android
My game has a couple of different simultaneous QSoundEffects (mainly gun sounds) and I play them simply like this:
effect.setVolume(0.5f);
effect.play();
The sound data has been loaded beforehand when the application initializes.
On my Ubuntu…

juzzlin
- 45,029
- 5
- 38
- 50
2
votes
0 answers
Error in QtMultimedia compilation for Raspberry Pi
I am trying to play a video in raspberry pi with Qt. For raspi to support multimedia i did the below steps.
Used a precompiled qt 5.2.1 version in the sd card
Copied qt code for qtimageformats qtsvg qtxmlpatterns qtdeclarative qtgraphicaleffects…

A.J
- 725
- 10
- 33
2
votes
0 answers
Modify audio output stream of QMediaPlayer
I'm trying to port an audio player from Qt4 to Qt5, and from Phonon to QtMultimedia.
Everything works fine with a QMediaPlayer, except that I can't find any way to modify the audio stream between the output of QMediaPlayer and the system sound.
I…

Sylvain V
- 194
- 1
- 7
2
votes
1 answer
Qt doesn't play sound on other devices
All I want to do write a programm in Qt that plays a simple .wav file.
This works perfectly on the PC where my Qt runs, but whenever I want to run the program on a different computer there is no sound.
I couldn't find any solution for this problem…

Jarvick
- 33
- 4
2
votes
1 answer
how to use PyQt5 QtMultimedia
Some people seems to be able to use QtMultimedia with PyQt5.
according to old stackoverflow posts, it was not included with PyQt5 so
what's the way to get it together?
I'm using linux (ubuntu 14.04) and PyQt5 is already installed.

kokito
- 1,114
- 1
- 13
- 19
2
votes
1 answer
Qt/C++ Multimedia Player Video Clips, multiple video widgets
I recently installed Qt 5.4 and was going through the documentation
I am new with QT but not C++. I want to implement an app that loads, stop, seek, fast forward and rewind videos.I have to make multiple video widgets. For example I monitor four…

Billal
- 17
- 5