Skip to content
المشاريع

حول

A simple terminal UI for video trimming

التصميم والوسائط

كيف تُقاس هذه الأرقام

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
٠
خلال 15 يومًا
+٢
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

lazycut

Go Version FFmpeg Chafa License Release

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

lazycut demo

Install

macOS

brew install lazycut

Build from source

Prerequisites: Latest version of Golang + ffmpeg + chafa dev packages.

Fedora

Install latest version of Golang via COPR as recommended by Fedora docs

sudo dnf copr enable @go-sig/golang-rawhide
sudo dnf install golang

Install ffmpeg and chafa

sudo dnf install -y ffmpeg chafa chafa-devel
go install github.com/ozemin/lazycut@latest 
./lazycut video.mp4

Requires FFmpeg and Chafa.

Usage

lazycut video.mp4              # interactive TUI
lazycut video.mp4 --fps 12     # custom preview frame rate
lazycut trim --in 00:01:00 --out 00:02:00 -o out.mp4 video.mp4
lazycut probe video.mp4

Keyboard Shortcuts

Key Action
Space Play/Pause
h / l Seek ±1s
H / L Seek ±5s
← / → Seek ±5s
Shift+← / Shift+→ Seek ±1s
↑ / ↓ Seek ±1 minute
, / . Seek ±1 frame
0 Go to start
G / $ Go to end
i / o Set in/out points
X Remove last section
p / P Preview all / last section
d / Esc Clear selection
Enter Export
u Undo
m Toggle mute
? Help
q Quit

Vim-style repeat counts: 5l = seek 5s forward, 10. = step 10 frames.

Export

Supports multiple sections per video, separate or concatenated export, and aspect ratio conversion (16:9, 9:16, 1:1, 4:5).

License

MIT

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…