41 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
104
views
How to edit/add text to QVideoFrame
I have a demo PyQt6 application using the QtMultimedia library to capture live video from a webcam and record it via QCamera, QMediaCaptureSession, QVideoWidget and QMediaRecorder.
I want to add some ...
0
votes
0
answers
117
views
Non-rectangular widgets on QVideoWidget
I'm writing a media viewer application based on QMediaPlayer. Let's say I want to put some non-rectangular widgets on video (it can be some playback controls, video info, etc.), but for some reason Qt ...
1
vote
1
answer
757
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 ...
0
votes
0
answers
88
views
PyQT5 QAbstractVideoSurface: Play Video with alpha channel (on windows)
I want to play a video in PyQT with a transparent background using QAbstractVideoSurface.
I have found a program which works on Linux on this topic : Video with alpha channel overlay on background ...
0
votes
1
answer
131
views
After stopping a video in PyQt5 QMediaPlayer, artifacts occur when the window is resized
After the video has finished playing, or the QMediaPlayer stop() method has been called, artifacts occur in place of the video widget when the window is resized.
Below is a screen shot of the ...
1
vote
1
answer
381
views
QVideoWidget() is not working with Frameless Window and Translucent Background
I am making a videoplayer with QMediaplayer and QVideoWidget using PySide2.
Everything works as expected but when I use:
self.setWindowFlags(QtCore.Qt.FramelessWindowHint)
self....
0
votes
0
answers
256
views
How to close video widget window once video is done playing QVideoWidget?
I want to display a video when a button is clicked and close the video widget once the video is done playing in QT 6.4, and if there is no workaround that, if I could somehow display the video in a ...
0
votes
1
answer
710
views
Increase frame rate for QCamera/QCameraViewfinder using PySide2 (Qt5)
I'm tying to create a simple application to monitor a webcam and taking pictures, basically following the Qt for Python Camera Example, which uses PySide6 (Qt6).
However, for my case, I must use ...
0
votes
1
answer
860
views
Exact Position of video in QVideoWidget
I have a custom Media Player, that can display images and videos with the help of PyQt. Media player is implemented by the following code in python:
from PyQt5.QtWidgets import QApplication, QWidget, ...
1
vote
0
answers
884
views
QVideoWidget and QStackedWidget creating problem in PySide6
I am trying to build a GUI using PySide6 on Windows 10 - Python V 3.10.2.
Basically, I wanted to create a vertical box on left with buttons to switch between the stacked widgets. And a video widget ...
1
vote
0
answers
4k
views
How to use a GStreamer pipeline to play a test video in a Qt QVideoWidget on Windows
I am trying to get a GStreamer test video to play in a Qt QVideoWidget using the Qt example code from here but the video never plays. The Qt widget is just a blank window like in this screenshot.
The ...
0
votes
1
answer
295
views
Why does QMediaPlayer::setVideoOutput() cause QOpenGLWidget not to play video
Environment
OS: Ubuntu 20.04LTS
Qt-Version: 5.12.8
Target
I have two Forms in my system,the first is QOpenGLWidget(override) to play video, and the Second with some QVideoWidget(override) -s to play ...
0
votes
1
answer
351
views
setNotifyInterval for pyqt5 skipping positions
When I use:
setNotifyInterval(1), I notice that it sometimes skips a millisecond.
For example: When I print the position of the media, often it skips 2 seconds instead of 1. This is a problem because ...
1
vote
3
answers
461
views
QVideoWidget not reciving dropEvent (strange behavior)
I want to play a media on dropEvent of a QVideoWidget. I know the playing part, my problem is QVideoWidget not receiving dropEvent like other widgets.
I'm wonder this is a bug or I am missing ...
1
vote
1
answer
1k
views
How to rotate video in QVideoWidget in PyQt5
GUI
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'facebio.ui'
#
# Created by: PyQt5 UI code generator 5.6
#
# WARNING! All changes made in this file will be lost!
...