Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
None
-
6.2.2
-
None
-
-
45002cd9d6 (pyside/pyside-setup/dev) 4c66c1e76c (pyside/pyside-setup/6.2) 4c66c1e76c (pyside/tqtc-pyside-setup/6.2) 7f91a72734 (pyside/tqtc-pyside-setup/5.15) 7f91a72734 (pyside/tqtc-pyside-setup/tqtc/5.15)
Description
Hey guys,
I've been tinkering around with Python, QtQuick/Qml and mpv and I can not get PySide2 or PySide6 to work with mpv the way it is supposed to be according to this blog post:
Other pages I looked at are:
- https://gitlab.com/robozman/python-mpv-qml-example
- https://github.com/mpv-player/mpv-examples/tree/master/libmpv/qml
I created a minimal working example https://github.com/trin94/qtquick-mpv
If you try to replicate those issues on Windows or in a Wayland session, you might need to replace GLX with WGL or EGL and the corresponding open gl function.
With PyQt5, everything seems to work fine, but PyQt6 does not work fully and PySide2 and PySide6 do not work at all.
I also took a quick look using gdb and apparently there's been a seg fault:
Thread 43 "QSGRenderThread" received signal SIGSEGV, Segmentation fault.
I added the log section as an attachment.
I can not give you a C++ example since I don't know the language. Also, I tested this on Linux and on Windows - same result.
If you need further information, please leave a comment.
Thank you very much!