Skip to content

yjg30737/pyqt-video-player-pip-mode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyqt-video-player-pip-mode

PyQt video player in PIP(Picture-in-picture) mode

Requirements

  • PyQt5 >= 5.15

Setup

pip3 install git+https://github.com/yjg30737/pyqt-video-player-pip-mode.git --upgrade

Included Package

Feature

  • Frameless, movable.
  • When mouse cursor is hovering over the window, interface will be shown.

Examples

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.

image

When mouse cursor leaves, interface will be hidden.

image

Result video is preview of pyqt-textbox-graphics-widget.