#ffmpeg #file-path #removal #interface #dist #silcut

app silcut

A CLI tool to trim silences from audio/video using FFmpeg

3 releases

Uses new Rust 2024

new 0.1.2 May 18, 2025
0.1.1 May 16, 2025
0.1.0 May 16, 2025

#49 in Video

Download history 106/week @ 2025-05-11

106 downloads per month

MIT license

16KB
275 lines

Silcut

Silcut is a blazingly fast tool designed to quickly remove silent sections from audio and video files.

Features

  • Blazingly fast silence detection and removal
  • Supports both audio and video files
  • Easy to use command-line interface
  • Fast and efficient using FFmpeg

Requirements

  • Rust
  • FFmpeg must be installed and accessible in your PATH.

Installation

Install using cargo

cargo install silcut

Install from source (requires Rust & FFmpeg)

git clone https://github.com/kmr-ankitt/silcut.git
cd silcut
cargo build --release

Then place the binary into your local bin:

sudo cp ./target/release/silcut /usr/local/bin/

Prebuilt binary

Download the binary from Releases.


Usage

silcut --input myaudio.mp3 --output ./dist

This will:

  1. Detect and keep important segments.
  2. Save those segments.
  3. Merge them into ./dist/myaudio.mp3.

Command-line Options

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

Example

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.

Dependencies

~3–4.5MB
~83K SLoC