I didn't turn my phone, I just grabbed it and took the video The videos I found on the internet didn't have rotation, so I didn't have any problems.īut I'm having trouble rotating the video I took with my phone in QVideowidget. I'm testing PyQt5 QVideowidget and I'm having a problem with the video rotating. diaPlayer = QtMultimedia.QMediaPlayer(self) ![]() QtWidgets.QMainWindow._init_(self, *args, **kwargs) Main from PyQt5 import QtCore, QtGui, QtWidgets, QtMultimediaĬlass MainWindow(QtWidgets.QMainWindow, Ui_MainWindow): ![]() tWindowTitle(_translate("MainWindow", "MainWindow"))įrom PyQt5.QtMultimediaWidgets import QVideoWidget Self.widget = QVideoWidget(self.centralwidget) Self.centralwidget = QtWidgets.QWidget(MainWindow) # WARNING! All changes made in this file will be lost!įrom PyQt5 import QtCore, QtGui, QtWidgets ![]() # Created by: PyQt5 UI code generator 5.6 # Form implementation generated from reading ui file 'facebio.ui'
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |