https://github.com/xjunko/mpv-v
Basic video player in V using mpv and gg!!
https://github.com/xjunko/mpv-v
mpv video-player vlang
Last synced: 18 days ago
JSON representation
Basic video player in V using mpv and gg!!
- Host: GitHub
- URL: https://github.com/xjunko/mpv-v
- Owner: xjunko
- License: gpl-3.0
- Created: 2023-03-05T16:36:49.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-07-08T11:29:35.000Z (over 1 year ago)
- Last Synced: 2025-10-07T13:46:27.944Z (5 months ago)
- Topics: mpv, video-player, vlang
- Language: V
- Homepage:
- Size: 891 KB
- Stars: 34
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-GPL
Awesome Lists containing this project
- awesome-v - mpv-v - World's Simplest Video Player. (Applications / Graphics)
README
# World's Simplest Video Player


(it even works with pipe!!!!)
# Building
Tested in Arch Linux (6.1.9-arch1-2), but I assumed it would work anywhere else as
long as you have `mpv` installed.
What I used:
```bash
clear && v fmt -w . && v -cc clang (or gcc) -d show_fps .
```
## To Windows User
* Get MPV Shared library from [libmpv@sourceforge.net](https://sourceforge.net/projects/mpv-player-windows/files/libmpv/)
* Copy `include` folder and `libmpv-2.dll` into project folder
* And you're ready to go!
# Features
It has a _*lot*_ of features, such as:
- Playing a video or anything that `mpv` supports.
- That's about it really.