framix-0.1.2 is not a library.
Framix (Video Editor)
A Rust-based command-line tool for basic video editing tasks, utilizing ffmpeg under the hood.
Features
- Combine: Merge multiple video files into one.
- Compress: Reduce video file size using CRF (Constant Rate Factor).
- Add Music: Add a background audio track to a video (mixing or replacing).
- Timelapse: Speed up a video to create a timelapse effect.
- Info: Display detailed metadata about a video file.
Prerequisites
Installation
Usage
You can run the tool using cargo run -- <command> or after installing with framix <command>.
1. Combine Videos
Concatenate multiple video files into a single output.
2. Compress Video
Compress a video to reduce file size.
--crf: Constant Rate Factor (0-51). Lower is better quality, higher is lower size. Default is 23.
3. Add Music
Add an audio file to a video.
--reduce-original: Volume of the original video audio (e.g.,0.1for 10%). Default is1.0.
4. Create Timelapse
Speed up a video. usage of --speed factor. Audio is removed.
5. Get Video Info
Show metadata about a video file (resolution, codecs, bitrate, etc.).
TUI Mode
Framix now includes an interactive Terminal User Interface (TUI).
# or simply
Keybindings
| Key | Action |
|---|---|
| Shift + Tab | Switch Tab |
| Tab | Autocomplete (files) |
| ↑ / ↓ | Select Field |
| Enter | Next Field |
| Shift + Enter | Execute Command |
| Ctrl + C | Quit |
License
MIT