Trim and crop any video in a single pass — losslessly where possible, hardware‑accelerated where not. A clean, modern desktop app for Windows, inspired by the Windows Photos trim experience and powered by ffmpeg.
- Trim + crop in one pass — set your in/out points and crop region, export once.
- Lossless trimming — pure stream copy (
-c copy): instant, zero quality loss. - Frame‑exact mode — precise cuts via re‑encoding when you need them.
- Hardware or software encoding — automatically uses NVIDIA NVENC, AMD AMF or Intel Quick Sync, and you can switch to software x264 (CPU) in settings.
- Quality & codec control — pick H.264 or H.265 (HEVC) and dial in the compression with a quality slider; your choice is remembered between sessions.
- Draw‑to‑crop — simply drag a rectangle with your mouse to crop, with the exact pixel size shown live as you drag.
- Interactive crop — fine‑tune with handles, snap to aspect presets (Free · Original · 16:9 · 9:16 · 1:1 · 4:3), with a live cropped preview.
- Responsive preview — the video scales with the window, just like the Windows Photos trim tool.
- Info status bar — resolution, codec, fps, bitrate, audio and file size at a glance.
- Open with — open a video straight from the Windows right‑click Open with menu.
- Modern UI — dark, Windows 11‑style interface with a purple accent.
- Drag & drop — just drop a file in, or click to browse.
- Multi‑language — English & German, switchable in settings.
- Self‑contained — ffmpeg/ffprobe are bundled; nothing else to install.
Trim — drag the timeline handles; the status bar shows resolution, codec, fps, bitrate & more
Crop — drag a rectangle over the video; the exact pixel size updates live as you drag
Settings — switch between hardware (NVENC / AMF / QSV) and software (x264 · CPU) encoding
Just drop a video in to get started
Grab the latest build from the Releases page:
| File | What it is |
|---|---|
VideoTrimCropper-<version>-portable.exe |
Portable — a single file, no installation. Just double‑click (great for a USB stick). |
VideoTrimCropper-<version>-setup.exe |
Installer — installs per‑user and creates Desktop & Start‑menu shortcuts. |
Windows SmartScreen may warn on first launch because the app isn't code‑signed. Click More info → Run anyway. This is normal for open‑source, self‑signed builds.
- Open a video — drag it onto the window, click Open file, or right‑click a video in Explorer → Open with → Video Trim Cropper.
- Trim — drag the two handles on the timeline to set the start and end.
- Crop (optional) — click Crop, drag a rectangle over the video, adjust it, pick an aspect ratio, then Apply.
- Pick the mode:
- Lossless — fastest, no re‑encode (cuts snap to the nearest keyframe).
- Frame‑exact — re‑encodes for a precise cut.
- Save a copy — choose where to write the result. That's it.
| You do… | The app does… |
|---|---|
| Trim only · Lossless | Stream copy (-c copy) — instant, bit‑for‑bit identical, cut aligned to keyframes. |
| Trim only · Frame‑exact | Re‑encodes for an exact cut. |
| Crop (with or without trim) | Cropping changes the pixel dimensions, so it always re‑encodes. |
Whenever the app re‑encodes, it detects your GPU and uses hardware‑accelerated encoding (NVENC / AMF / QSV), falling back to software (x264 / x265) if no supported GPU is available. You can also force software (CPU) from the settings — handy since software encoding can look slightly better on some material. The Quality button lets you choose the codec (H.264 or H.265/HEVC) and set the compression level; the setting is saved for next time. Audio is stream‑copied so it stays lossless.
Requires Node.js (which includes npm) on Windows.
git clone https://github.com/NeverBeLazyG/VideoTrimCropper.git
cd VideoTrimCropper
npm install
npm start # run the app in development
npm run dist # build the portable .exe + installer into dist/src/
main/ Electron main process — window, IPC, ffmpeg (probe, HW detect, export)
renderer/ UI — HTML/CSS/JS, timeline, crop tool, i18n
DESIGN.md Design tokens (single source of truth for styles.css)
Electron · ffmpeg (via ffmpeg-static / ffprobe-static) · electron‑builder
Released under the Apache‑2.0 License. See LICENSE.