Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/coslyk/moonplayer
Video player that can play online videos from youtube, bilibili etc.
https://github.com/coslyk/moonplayer
c-plus-plus danmaku mpv online-video player qml qt video video-player
Last synced: 4 months ago
JSON representation
Video player that can play online videos from youtube, bilibili etc.
- Host: GitHub
- URL: https://github.com/coslyk/moonplayer
- Owner: coslyk
- License: gpl-3.0
- Created: 2014-06-08T14:42:12.000Z (over 10 years ago)
- Default Branch: develop
- Last Pushed: 2024-02-17T14:52:40.000Z (12 months ago)
- Last Synced: 2024-07-31T21:53:50.657Z (6 months ago)
- Topics: c-plus-plus, danmaku, mpv, online-video, player, qml, qt, video, video-player
- Language: C++
- Homepage: https://coslyk.github.io/moonplayer.html
- Size: 8.2 MB
- Stars: 628
- Watchers: 45
- Forks: 93
- Open Issues: 36
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-qt - moonplayer
- awesome-mpv - MoonPlayer - Based on C++/QT/QML. (Cross-platform)
README
# MoonPlayer
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fcoslyk%2Fmoonplayer.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fcoslyk%2Fmoonplayer?ref=badge_shield)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](https://github.com/coslyk/moonplayer/blob/develop/NEWS.md)
## Installation
#### Windows / macOS / Linux (AppImage)
Download from [GitHub Releases](https://github.com/coslyk/MoonPlayer/releases) and install it.
**Note:**
1. Windows version only support x64.
2. AppImage version does not support hardware decoding.#### Linux (Flatpak)
Install from [Flathub](https://flathub.org/apps/details/com.github.coslyk.MoonPlayer): `flatpak install flathub com.github.coslyk.MoonPlayer`
#### Linux (Debian)
Add [DebianOpt](https://github.com/coslyk/debianopt-repo) repository, then install with `sudo apt install moonplayer`.
#### Linux (ArchLinux, Manjaro)
Add [ArchLinuxCN](https://www.archlinuxcn.org/archlinux-cn-repo-and-mirror/) repository, then install with `pacman -S moonplayer`.
## Screenshot
![](https://coslyk.github.io/files/moonplayer-play.png)
## 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:
```bash
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
- [Qt](https://www.qt.io/) (License: LGPL-3)
- [libmpv](https://mpv.io/) (License: GPLv2+)
- [ffmpeg](https://ffmpeg.org/) (License: GPLv2+)
- [yk-dlp](https://github.com/yt-dlp/yt-dlp) (License: Unlicense)
- [lux](https://github.com/iawia002/lux) (License: MIT)
- [hlsdl](https://github.com/selsta/hlsdl) (License: MIT)
- [Danmaku2Ass-Cpp](https://github.com/coslyk/danmaku2ass_cpp) (License: WTFPL)
## License
[GPLv3+](https://github.com/coslyk/moonplayer/blob/develop/LICENSE)
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fcoslyk%2Fmoonplayer.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fcoslyk%2Fmoonplayer?ref=badge_large)