Lazycut: A simple terminal video trimmer using FFmpeg

Source: github.com
204 points by masterpos a day ago on hackernews | 51 comments

Terminal-based video trimming tool. Mark in/out points and export trimmed clips with aspect ratio control.

lazycut demo

Install

macOS

brew tap emin-ozata/homebrew-tap
brew install lazycut

Windows

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 ffmpeg or download from ffmpeg.org
  • chafa: Install via Scoop: scoop install chafa

Build from source

Or build from source:

git clone https://github.com/eminozata/lazycut.git
cd lazycut
go build
./lazycut video.mp4

Usage

Keyboard Shortcuts

Key Action
Space Play/Pause
h / l Seek ±1s
H / L Seek ±5s
i / o Set in/out points
Enter Export
? Help
q Quit

Repeat counts work: 5l = seek forward 5 seconds.