Quince/README.md
2026-12-02 16:26:02 -06:00

54 lines
3 KiB
Markdown

# Quince
A Material You video player for Linux, built on [mpv](https://mpv.io). Everything mpv plays, Quince plays: local files,
folders, playlists and links (through yt-dlp). The controls float over the video and hide while you watch.
- Wavy seek bar that moves while playing and lies flat when paused, with chapter marks, the buffered part and a frame
preview on hover (ffmpeg).
- Play button that turns from a circle into a cookie while playing.
- Sound, subtitle and video track menus; second subtitles; loading external subtitles and sound tracks.
- Speed, A-B loop, repeat, frame stepping, screenshots, chapters, playlist with drag to reorder and shuffle.
- Adjust sheet: aspect ratio, zoom, rotate, mirror, fill, brightness, contrast, saturation, gamma, hue, deinterlace,
hardware decoding, audio delay, loudness levelling, stereo downmix, output device, subtitle delay, size and position.
- Carries on where you left off (mpv's watch-later), recent files, drag and drop, keeps the screen awake while playing.
- Your `~/.config/mpv` (mpv.conf, input.conf, scripts) is used, and keys Quince doesn't use go to mpv, so the console
(`` ` ``), statistics (`i`), mpv-mpris and your own bindings work.
- Colours from the desktop (Caelestia, KDE), your own colour or the video playing; light, dark and AMOLED; four styles,
three contrast levels and four motion levels.
## Install
Releases are on the [Releases page](https://astar76.com/git/astar76/Quince/releases):
- Arch: `sudo pacman -U Quince-<version>-arch-x86_64.pkg.tar.zst`
- Debian 12, Ubuntu 22.04 or newer: `sudo apt install ./Quince-<version>-amd64.deb`
- Any distribution: the AppImage, or unpack the tar.gz and run its `install.sh` (`--system` for /usr/local,
`uninstall.sh` to remove it). Both need mpv's library (libmpv) from the distribution.
- Windows 10/11: `Quince-<version>-Setup.exe` (installs for your user, no admin) or the portable zip.
Linux builds need glibc 2.35 or newer.
## Build
Needs Rust, libmpv (mpv 0.38 or newer) and, for previews, ffmpeg.
```
cargo build --release
./target/release/quince video.mkv
```
`quince --gallery` opens every control in every state instead of the player (`--gallery over` starts on the page
with the real top bar, dock, menu and toasts over a made-up film), with light, dark and AMOLED and a few seed colours.
`tools/package.sh` builds the release packages into `dist/`: tar.gz, AppImage, Arch package, .deb, the Nix file, and
the Windows installer and portable zip (cross-built with mingw, installer made with Inno Setup under wine). It needs
cargo-zigbuild, and takes appimagetool, libmpv-2.dll and the link stub for libmpv from `~/.local/opt/build-tools`.
## Tests
`cargo test` runs the unit tests. `tools/smoke.sh script.txt outdir [files]` runs the app hidden in a nested niri on Xvfb
and plays a script of pointer, key and screenshot steps (see `src/script.rs`).
## Licence
MIT. Rubik is under the SIL Open Font License (`assets/Rubik-OFL.txt`); Material Symbols under the Apache License 2.0.