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.

Documentation can be found here (Qt4) and here (Qt5).

235 questions
0
votes
1 answer

How to use Qt Multimedia and C++ to save an .mp4 video out of OpenGL textures

I am using Qt 5.9 based app which runs on embedded linux & android. The application processes real time data using OpenGL ES 3.0 & displays OpenGL textures at real time. I am displaying at the rate of 30+ frames per second which makes it pretty much…
TheWaterProgrammer
  • 7,055
  • 12
  • 70
  • 159
0
votes
1 answer

Transform a YUV420p QVideoFrame into grayscale OpenCV mat

I've created a filter extending QAbstractVideoFilter and QVideoFilterRunnable and I've overrided the QVideoFrame run(QVideoFrame* input, const QVideoSurfaceFormat &surfaceFormat, RunFlags flags)` method The problem is that QVideoFrame format is…
Elvis Dukaj
  • 7,142
  • 12
  • 43
  • 85
0
votes
2 answers

Build Qt with QtMultimedia support

I have downloaded qt-everywhere-opensource-src-5.6.0 and build it with configure options witn mingw32 on WIndows 7: configure -static -release -platform win32-g++ -openssl -I C:\OpenSSL-Win32\include -L C:\OpenSSL-Win32\lib\MinGW -target xp…
How to
  • 103
  • 1
  • 11
0
votes
1 answer

QCamera::start gives mysterious "failed to start" log message

It's just plain luck my program is so simple, so I eventually found out what causes the mysterious log message. My program log looks like this: Debugging starts failed to start Debugging has finished Which happens after: camera = new…
Tomáš Zato
  • 50,171
  • 52
  • 268
  • 778
0
votes
1 answer

Problems with PyQt5 multimedia

I'm trying to learn a little PyQt5 multimedia for a project and I tried the videographicsitem.py example in their github but it won't render any video. Don't know if it's a codec problem (I've tryed with differnt video formats) or anything else. I…
0
votes
2 answers

How to arrange QCamera with other widgets in a layout?

This is about arranging a multimedia object with widgets. Following is what I have tried: MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) { m_QPushButton_calibration = new QPushButton("Calibrate", this); …
Aquarius_Girl
  • 21,790
  • 65
  • 230
  • 411
0
votes
1 answer

How to implement simple audio loopback in QT

I need to loopback audio recorded from the microphone straight to the speaker using QT (qt 5.7 on Windows...) - assume I can't use window's internal mic->speaker loopback (enable "listen to this device" on the microphone panel). Any direction how to…
rubmz
  • 1,947
  • 5
  • 27
  • 49
0
votes
1 answer

Is there a way to have a QCamera stream on two different QVideoWidgets?

I need to replicate the stream of a QCamera on two different QVideoWidgets (at the same time). Is there any way?
Andrea G.
  • 3
  • 2
0
votes
1 answer

QAbstractVideoSurface generating A Null Image

I'm reimplemented the present method from a QAbstractVideo Surface in order to capture frames from an IP camera. This is my reimplemented methods (the required ones): QList
aarelovich
  • 5,140
  • 11
  • 55
  • 106
0
votes
1 answer

Filename of captured image

I'm working on an app which includes a camera function, but I can't figure out on how to get the filename from the captured image. Is there an option in QML on how to get the filename of an image I just captured? If not is there any possibility to…
Erwin11313
  • 11
  • 1
  • 5
0
votes
1 answer

Qt: QVideoWidget doesn't show up and disables all buttons within application OR extremely slows down the application

To make it clear the question is: Why, when I add a QVideoWidget to my application, all buttons become not clickable, the scrollbars don't work, and the comboboxes as well become not clickable? Is QVideoWidget disabling those functionalities? Or is…
user4458707
0
votes
1 answer

QML overlay on the camera video

I am trying to draw some overlay on the frame captured by the Camera objet in Qt/QML. The camera itself is defined as: Camera { id: camera captureMode: Camera.CaptureVideo } VideoOutput { source: camera focus : visible …
Luca
  • 10,458
  • 24
  • 107
  • 234
0
votes
1 answer

Distributing H264 with a Qt5 QtMultimedia program for Windows

I'm developing a Qt5 Application for Windows/Linux, it has to play a H264/AAC flv video. This works wonderful on Linux after installing gstreamer-plugins. This also works after installing K-lite codec pack on Windows. I need to distribute my program…
David Ventura
  • 418
  • 2
  • 7
  • 20
0
votes
1 answer

Qt iOS issue - using QAudioRecorder changes audio output device

I am developing a mobile application targeted on two platforms - iOS and Android - using Qt technology. App is recording sounds and playing them back after a bit of processing. For doing so, I'm used two classes from QtMultimedia module:…
kitany
  • 1
  • 1
0
votes
1 answer

Using MPlayer in Qt5

I have a problem with default QtMultimedia backend GStreamer on my BeagleBone Black machine. When I am playing video over GStreamer it has a lot frame drops, and video is very slow. Behavior is the same when I play video over gstreamer command…
user5585984