prism-player

Crates.ioprism-player
lib.rsprism-player
version0.0.1
created_at2025-09-22 07:37:44.268622+00
updated_at2025-09-22 07:37:44.268622+00
descriptionA media player built with Rust and FFmpeg
homepage
repositoryhttps://github.com/shadow3aaa/prism-player
max_upload_size
id1849624
size1,087,482
shadow3 (shadow3aaa)

documentation

README

Prism Player

Prism Player is a simple, lightweight video player built with Rust and the tessera-ui framework. It uses FFmpeg for video decoding.

preview

Features

  • Playback of local video files.
  • Simple play/pause control by clicking anywhere on the video.
  • Modern, fluid UI elements.

Prerequisites

Before you begin, ensure you have the following installed:

  • Rust
  • FFmpeg. Make sure the FFmpeg libraries are accessible to the linker.

Building and Running

  1. Clone the repository:

    git clone https://github.com/your-username/prism-player.git
    cd prism-player
    
  2. Build the project:

    cargo build --release
    
  3. Run the player:

    ./target/release/prism-player --video-path /path/to/your/video.mp4
    

Usage

Run the application from the command line, providing the path to the video file you want to play.

prism-player --video-path <path-to-video>

Controls

  • Click anywhere on the window: Toggle play/pause.
Commit count: 7

cargo fmt