Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Omacut

A dead-simple video length trimmer. Open a video, drag the two handles to pick a start and end, preview the clip, and export. On Omarchy, the interface follows your theme's accent color.

Built using Qt Quick (QML) UI with the Material style — the same Qt stack Quickshell builds on — and ffmpeg for the cut. The C++ side compiles to a single executable; the QML is embedded in it via Qt resources.

screenshot-2026-06-23_15-20-40

Hotkeys

  • Space: Start/stop video playback.
  • Left/Right: Move the playhead by 1 second.
  • Shift+Left/Right: Move the playhead by 5 seconds.
  • Alt+Left/Right: Move the playhead by 0.2 seconds.
  • Ctrl+Space: Move the start of the trim to the playhead.
  • Alt+Space: Move the end of the trim to the playhead.
  • Z: Zoom into the trimmed selection for fine tuning (Z again zooms back out).
  • Ctrl+O: Open a new file to trim.
  • Ctrl+S: Export the current trim.
  • Q: Quit (asks first if the trim hasn't been exported).
  • ?: Show the hotkeys in the app.

Install

Install via the Omarchy Package Repository via the omacut package. It's installed by default in new installations of Omarchy (from Quattro forward).

Requirements

  • xdg-desktop-portal and a portal backend for the file picker
  • ffmpeg and ffprobe on your PATH (used at runtime)

Exports are always written as MP4 files, regardless of the input video's container. The export dialog offers Original/1080p/720p quality — never upscaling, and always preserving the aspect ratio.

Build

Uses Qt's own build tool, qmake6 (no cmake needed):

./bin/build

This produces a single omacut binary in build/.

Requirements:

  • A C++17 compiler and Qt6: qt6-base, qt6-declarative (Qt Quick + Controls), qt6-multimedia

Test

./bin/test

Package

Build and install the local Arch package:

./bin/install

This runs ./bin/build, then makepkg -fsi from pkgbuild/ so same-version local packages are rebuilt and reinstalled. Extra arguments are passed through to makepkg, for example ./bin/install --clean. The package installs the binary, desktop entry, app icon, and MIT license. Local package outputs such as pkgbuild/pkg/, pkgbuild/src/, and *.pkg.tar.* are ignored.

License

MIT. See LICENSE.

About

Cut a video to the right trim

Resources

Stars

21 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages