PyQt video player in PIP(Picture-in-picture) mode
- PyQt5 >= 5.15
pip3 install git+https://github.com/yjg30737/pyqt-video-player-pip-mode.git --upgrade
- Frameless, movable.
- When mouse cursor is hovering over the window, interface will be shown.
Code Sample
from PyQt5.QtWidgets import QApplication
from pyqt_video_player_pip_mode import PipVideoWidget
if __name__ == '__main__':
import sys
app = QApplication(sys.argv)
pipVideoWidget = PipVideoWidget('pyqt_textbox_graphics_widget_example_video.mp4')
pipVideoWidget.show()
sys.exit(app.exec_())
Result
Note: Interface below was quite different compared to now.
When mouse cursor is over the pip window, interface will be shown.
When mouse cursor leaves, interface will be hidden.
Result video is preview of pyqt-textbox-graphics-widget.