| Crates.io | silcut |
| lib.rs | silcut |
| version | 0.1.2 |
| created_at | 2025-05-16 15:46:00.380369+00 |
| updated_at | 2025-05-18 16:00:32.182767+00 |
| description | A CLI tool to trim silences from audio/video using FFmpeg. |
| homepage | https://github.com/kmr-ankitt/silcut |
| repository | https://github.com/kmr-ankitt/silcut |
| max_upload_size | |
| id | 1676646 |
| size | 24,028 |
Silcut is a blazingly fast tool designed to quickly remove silent sections from audio and video files.
PATH.cargo install silcut
git clone https://github.com/kmr-ankitt/silcut.git
cd silcut
cargo build --release
Then place the binary into your local bin:
Download the binary from Releases.
silcut --input myaudio.mp3 --output ./dist
This will:
./dist/myaudio.mp3.You can view all available options with:
silcut -h
Usage: silcut [OPTIONS] --file-path <FILE_PATH>
Options:
-i, --file-path <FILE_PATH> Path to the input file (required)
-o, --out-path <OUT_PATH> Output directory [default: .]
-s, --silence <SILENCE> Silence threshold in dB [default: -30]
-d, --minimum-silence-duration <SECONDS> Minimum silence duration in seconds [default: 0.5]
-h, --help Print help
-V, --version Print version
Remove silence from a file with custom settings:
silcut -i input.mp4 -o ./output -s -35 -d 1.0
This sets the silence threshold to -35 dB and minimum silence duration to 1 second.