44 lines
1.7 KiB
Markdown
44 lines
1.7 KiB
Markdown
# VideoPlayer
|
|
|
|
![made with c++](https://forthebadge.com/images/badges/made-with-c-plus-plus.svg)
|
|
|
|
![libmpv 2.29+](https://img.shields.io/badge/libmpv-2.29+-blue.svg?logo=qt&style=for-the-badge)
|
|
|
|
![qt 5.12](https://img.shields.io/badge/Qt-5.12-41cd52.svg?logo=qt&style=for-the-badge)
|
|
|
|
|
|
A video player based on Qt, QML and libmpv with themes for many online video players..
|
|
|
|
## Themes
|
|
Screenshots for youtube, niconico and roosterteeth/videojs themes are in screenshots folder
|
|
|
|
## How to install
|
|
### From source
|
|
#### Dependencies
|
|
##### Arch Linux
|
|
```
|
|
pacman -S git cmake qt5-svg qt5-declarative qt5-quickcontrols qt5-quickcontrols2 qt5-graphicaleffects mpv
|
|
```
|
|
##### Ubuntu Bionic
|
|
```
|
|
sudo add-apt-repository ppa:beineri/opt-qt-5.12.6-bionic -y
|
|
sudo apt update
|
|
sudo apt install build-essential git qt512-meta-minimal qt512quickcontrols qt512quickcontrols2 qt512svg qt512x11extras qt512graphicaleffects qt512svg libgl1-mesa-dev libmpv-dev
|
|
```
|
|
##### Debian
|
|
```
|
|
sudo apt install build-essential cmake qtquickcontrols2-5-dev qtbase5-dev qtdeclarative5-dev libqt5x11extras5-dev libmpv-dev qml-module-qtquick-controls qml-module-qtquick-controls2 qml-module-qtquick-extras qml-module-qtquick-layouts qml-module-qtquick-dialogs qml-module-qtquick-privatewidgets qml-module-qtquick-localstorage qml-module-qt-labs-settings qml-module-qt-labs-platform qtbase5-private-dev libqt5svg5
|
|
```
|
|
- Note that I don't know if this is the full list yet, pop a issue up if building fails.
|
|
|
|
#### Instructions
|
|
- Clone repo
|
|
- `mkdir build && cd build`
|
|
- `cmake .. -DCMAKE_INSTALL_PREFIX=/usr`
|
|
- `make`
|
|
- `sudo make install`
|
|
- The finished player will then be installed and you can launch it using `VideoPlayer`
|
|
|
|
## Configuration
|
|
- For docs on VideoPlayer please view DOCS.md or `man VideoPlayer`
|