Skip to content

trin94/embed-other-applications-inside-qtquick

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

  1. Clone this repository
  2. Setup virtual environment:
    1. python -m venv venv
    2. source venv/bin/activate (bash) or source venv/bin/activate.fish (fish)
  3. Install requirements python -m pip install -r requirements.txt
  4. Continue with Setup Windows or Setup Linux

Setup Windows

Download a windows build from here: https://sourceforge.net/projects/mpv-player-windows/files/libmpv/ Make sure that you have a mpv-2.dll not a mpv-1.dll/mpv-3.dll and place it at the root of this repository.

Setup Linux

Make sure you have a libmpv version installed (v0.33.0+). If not install one via your package manager.

Demonstration

Windows

sample-windows.mp4

Linux Xorg

sample-linux-xorg.webm

With flags: Qt.FramelessWindowHint | Qt.Tool in the transparent window.

Video Licences

Videos are from: https://github.com/Matroska-Org/matroska-test-files

Both Big Buck Bunny and Elephant Dreams and licensed under the Creative Common License Attribution license, also known as CC-BY.

The recommended license text for Big Buck Bunny is (c) copyright 2008, Blender Foundation / www.bigbuckbunny.org.

The recommended license text for Elephant Dreams is (c) copyright 2006, Blender Foundation / Netherlands Media Art Institute / www.elephantsdream.org.