Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vgarleanu/lumiere
Example video player built with MPV and Slint-UI
https://github.com/vgarleanu/lumiere
mpv rust
Last synced: 2 months ago
JSON representation
Example video player built with MPV and Slint-UI
- Host: GitHub
- URL: https://github.com/vgarleanu/lumiere
- Owner: vgarleanu
- Created: 2022-02-10T18:58:54.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-02-14T20:23:25.000Z (almost 3 years ago)
- Last Synced: 2024-09-25T16:10:41.094Z (4 months ago)
- Topics: mpv, rust
- Language: Rust
- Homepage:
- Size: 291 KB
- Stars: 74
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-rust-list - vgarleanu/lumiere - UI. (GUI)
- awesome-rust-list - vgarleanu/lumiere - UI. (GUI)
README
# Lumiere
![demo](assets/demo.jpg)Lumiere is a proof-of-concept/example video player built with the Slint UI framework and libmpv.
This was built quickly to try out Slint and it's new OpenGL underlay feature. As such, this player
isn't really meant to be used (but it does work).Instead of rendering on top of the UI window, lumiere gets MPV to draw into a framebuffer which is then bound to a texture and rendered underneath the UI, this way you can overlay UI elements and build a OSD for MPV with rust.
# Features
- [x] Play/Pause
- [x] Seekbar and seeking (kinda works)
- [ ] Everything else# Installation
## Dependencies
* libmpv-dev
* rustc## Running
```
cargo run -- path/to/file.mp4
```