Ninve (Ninve Is Not a Video Editor) is a simple (MPV wrapper) command-line tool written in Rust that allows you to quickly trim videos in a lossless manner using a text-based user interface (TUI). It uses mpv and ffmpeg to provide an efficient and user-friendly video trimming experience.
- Lossless video trimming
- Text-based user interface (TUI) for easy navigation
- Simple command-line usage
- Lightweight and fast, built with Rust
To use Ninve, you need the following dependencies installed on your system:
mpv: A free, open-source media playerffmpeg: A powerful multimedia framework for handling video and audio
Ensure these binaries are available in your system's PATH.
- Clone the repository:
git clone https://github.com/your-username/ninve.git
- Navigate to the project directory:
cd ninve - Build the project using Cargo:
cargo build --release
- The binary will be available in
target/release/ninve.
yay -S ninve
Run Ninve by providing the path to the input video file:
ninve ./path-to-my-file.mp4Optionally, you can specify an output path for the trimmed video:
ninve ./path-to-my-file.mp4 ./output-file.mp4The TUI will guide you through selecting the start and end points for trimming the video.
2025-06-05.03-17-24.mp4
Contributions are welcome! Please feel free to submit issues or pull requests to the repository.
This project is licensed under the MIT License. See the LICENSE file for details.