Skip to content

AreChen/OpenPlayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenPlayer desktop media player

🎬 OpenPlayer

A high-performance cross-platform desktop media player

English Chinese

Release Windows Tauri Rust License

Download · Release Notes · License


✨ Overview

OpenPlayer is a desktop media player built with Tauri v2, Rust, React, and libmpv. It is designed to deliver native-level playback performance, smooth window behavior, and a polished desktop control surface while keeping the application lightweight.

The default playback path is mpv-embed: the main Tauri window hosts the native libmpv video surface, while a transparent overlay window hosts the React controls. This split keeps playback close to native performance while preserving a flexible modern UI layer.

🚀 Highlights

  • High-performance playback core: Embedded libmpv backend with mpv-powered media compatibility and playback behavior.
  • 🪟 Native video + transparent overlay: Video rendering and React controls are separated for performance, stability, and UI flexibility.
  • ⌨️ Reliable shortcuts: Configurable shortcuts with a native Windows shortcut bridge for cases where the video surface owns focus.
  • 🖥️ Fullscreen restore: Press Enter to enter fullscreen, then press it again to restore the previous window size and position.
  • 🎞️ Frame stepping: Press D to step backward one frame and F to step forward one frame.
  • 🎚️ Smooth progress feedback: Playback progress and frame labels update smoothly without abrupt jumps.
  • 🧭 Smart chrome hiding: Controls and the title bar auto-hide after 5 seconds of inactivity while playing, and also hide when the mouse leaves the window.
  • 🧩 Practical player workflows: Context menu, settings panel, customizable shortcuts, time/frame display switching, volume control, and playlist entry point.

📦 Download

The latest Windows x64 installer is available from GitHub Releases:

Download OpenPlayer for Windows

Current release:

  • 🏷️ v1.0.0
  • 🪟 OpenPlayer_1.0.0_x64-setup.exe
  • 🔐 SHA256: 173071771C3322A444E514AA190DE9FA9C7C3ACDB237E5C5416E4D7CF8FA536A

If the installer is not code-signed yet, Windows SmartScreen may show a warning on first install.

⌨️ Default Shortcuts

Action Shortcut
Open media Ctrl + O
Play / Pause Space
Seek backward 5 seconds
Seek forward 5 seconds
Previous frame D
Next frame F
Fullscreen / Restore Enter

🛠️ Development

Prerequisites:

  • Rust stable toolchain
  • Node.js 20+
  • npm 10+
  • Tauri v2 system dependencies for your platform
  • Windows builds use the local mpv runtime under vendor/native/mpv/windows-x64

Install dependencies:

Set-Location apps/desktop
npm install

Run the desktop app:

Set-Location apps/desktop
npm run tauri:dev

Verify the project:

npm run verify:shell
npm run build
cargo test -p openplayer-desktop

Build the Windows installer:

Set-Location apps/desktop
npm run tauri:build -- --config src-tauri/tauri.windows.conf.json

The installer is emitted under:

target/release/bundle/nsis/

📄 License

OpenPlayer is released under the MIT License.

About

Cross-platform high-performance media player built with Rust and Tauri

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors