coslyk / moonplayer

Video player that can play online videos from youtube, bilibili etc.
https://coslyk.github.io/moonplayer.html
GNU General Public License v3.0
650 stars 93 forks source link
c-plus-plus danmaku mpv online-video player qml qt video video-player

MoonPlayer

FOSSA Status

MoonPlayer is an interesting player that lets you to enjoy videos. It can play the video online, download it or just open the local videos.


Homepage

The homepage of MoonPlayer is here: https://coslyk.github.io/moonplayer.html

Here is the development page of this project. For the introduction and usage information, please visit the homepage.

Update log

Installation

Windows / macOS / Linux (AppImage)

Download from GitHub Releases and install it.

Note:

  1. Windows version only support x64.
  2. AppImage version does not support hardware decoding.

Linux (Flatpak)

Install from Flathub: flatpak install flathub com.github.coslyk.MoonPlayer

Linux (Debian)

Add DebianOpt repository, then install with sudo apt install moonplayer.

Linux (ArchLinux, Manjaro)

Add ArchLinuxCN repository, then install with pacman -S moonplayer.

Screenshot

Development

Following packages are essential for compiling MoonPlayer.

On ArchLinux:

    - cmake
    - ffmpeg
    - mpv
    - python
    - qt6-base
    - qt6-declarative
    - qt6-tools
    - wget / curl

On Debian:

For building:
    - build-essential
    - cmake
    - cmake
    - qt6-base-dev
    - qt6-base-private-dev
    - qt6-declarative-dev
    - qt6-declarative-private-dev
    - qt6-tools-dev
    - libmpv-dev
    - libcurl4-openssl-dev
    - libssl-dev
For running:
    - ffmpeg
    - qml6-module-qt-labs-settings
    - qml6-module-qtqml-workerscript
    - qml6-module-qtquick
    - qml6-module-qtquick-controls
    - qml6-module-qtquick-dialogs
    - qml6-module-qtquick-layouts
    - qml6-module-qtquick-templates
    - qml6-module-qtquick-window
    - wget / curl

Other Linux: Please diy.

Download the source code, then run:

mkdir build
cd build
cmake ..
make
sudo make install

Note: MoonPlayer uses Qt's private API, so you may need to re-compile MoonPlayer after Qt is upgraded.

Technology stack

License

GPLv3+

FOSSA Status