Lazycut: A simple terminal video trimmer using FFmpeg
Source: Hacker News
lazycut
Terminal‑based video trimming tool. Mark in/out points and export trimmed clips with aspect‑ratio control.
Install
macOS
brew tap emin-ozata/homebrew-tap
brew install lazycutWindows
Download the latest Windows binary from the releases page:
lazycut_X.X.X_windows_amd64.zip
Extract and add to your PATH, or run directly.
Dependencies
- ffmpeg –
winget install ffmpegor download from ffmpeg.org - chafa – install via Scoop:
scoop install chafa
Build from source
git clone https://github.com/eminozata/lazycut.git
cd lazycut
go build
./lazycut video.mp4Usage
lazycut Keyboard Shortcuts
| Key | Action |
|---|---|
Space | Play/Pause |
h / l | Seek ±1 s |
H / L | Seek ±5 s |
i / o | Set in/out points |
Enter | Export |
? | Help |
q | Quit |
Repeat counts work (e.g., 5l seeks forward 5 seconds).
