Lazycut: A Terminal-Based Video Editor for the Keyboard-Obsessed
If you spend most of your day in a terminal, switching to a graphical video editor can feel like leaving your home turf. It breaks your flow. What if you could trim, cut, and manage video clips without ever leaving your shell? That’s the itch Lazycut scratches.
It’s a simple TUI (Terminal User Interface) that turns your terminal into a basic video editing workstation. It’s not for adding fancy transitions or effects, but for the essential, repetitive task of cutting out the good parts from long recordings—streams, meetings, tutorials—quickly and with just your keyboard.
What It Does
Lazycut is a Python application that layers a clean, interactive interface over ffmpeg, the powerhouse command-line multimedia tool. You load a video file, navigate through it with keyboard shortcuts, mark precise in and out points for clips you want to keep, and then let it compile a final video from just those segments. It handles the complex ffmpeg commands for you, turning a multi-step manual process into a few keystrokes.
Why It's Cool
The clever part is in its focused simplicity. It doesn't try to do everything. Instead, it automates a very specific, common workflow with a developer-friendly experience.
- Keyboard-First Efficiency: Every action has a shortcut. You can navigate frames, set marks, and manage your clip list without touching the mouse. It feels like using
vimortmuxfor your videos. - Leverages FFmpeg, Without the Pain: You get the power and format compatibility of
ffmpegwithout needing to remember its arcane syntax for complex filtering or concatenation. Lazycut generates and runs the correct commands behind the scenes. - Perfect for Developer Tasks: It's ideal for creating highlight reels from live-coding sessions, trimming silent pauses or mistakes from screencasts, or quickly chopping up long meeting recordings to save the relevant minutes. It's a utility that fits neatly into a content creation pipeline built around the terminal.
How to Try It
Getting started is straightforward. You'll need Python and ffmpeg installed on your system first.
# Clone the repository
git clone https://github.com/ozemin/lazycut.git
cd lazycut
# Install it
pip install .
# Run it on a video file
lazycut path/to/your_video.mp4
Once it launches, the interface is intuitive. Use the arrow keys to seek, i and o to set your in/out points, a to add the marked clip to your list, and r to render the final video. Press ? to see all available shortcuts right there in the app.
Final Thoughts
Lazycut is a great example of a tool that does one job exceptionally well. It won't replace DaVinci Resolve, but it wasn't meant to. For developers who live in the terminal and need to perform quick, precise cuts on video, it removes a huge amount of friction. It turns a tedious, multi-step process into something you can do in a few minutes without breaking your command-line stride. It's a utility worth having in your toolkit for the next time you need to clean up a recording.
Check out the project and maybe contribute a feature on GitHub.
@githubprojects
Repository: https://github.com/ozemin/lazycut