Metadata-Version: 2.4
Name: clipper-gg
Version: 0.7.5
Summary: Automatic gaming highlight trimmer with a local AI director, audio + motion detection, and lossless FFmpeg cuts.
Author: hatermedia
License: MIT
Project-URL: Homepage, https://github.com/hatermedia/clipper
Project-URL: Repository, https://github.com/hatermedia/clipper
Project-URL: Issues, https://github.com/hatermedia/clipper/issues
Keywords: gaming,highlights,clipper,ffmpeg,video-editing,twitch,youtube,opencv
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: End Users/Desktop
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Multimedia :: Video
Classifier: Topic :: Multimedia :: Video :: Non-Linear Editor
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy>=1.26
Requires-Dist: scipy>=1.11
Requires-Dist: opencv-python-headless>=4.9
Requires-Dist: rapidocr-onnxruntime>=1.2.3
Requires-Dist: onnxruntime>=1.17
Requires-Dist: fastapi>=0.110
Requires-Dist: uvicorn[standard]>=0.27
Requires-Dist: faster-whisper>=1.2
Requires-Dist: av<19,>=14
Provides-Extra: desktop
Requires-Dist: PySide6>=6.7; extra == "desktop"
Provides-Extra: dev
Requires-Dist: pytest>=8.0; extra == "dev"
Requires-Dist: httpx>=0.27; extra == "dev"
Requires-Dist: build>=1.2; extra == "dev"
Requires-Dist: twine>=5.0; extra == "dev"
Dynamic: license-file

# Clipper

Clipper is a native Windows app that scans a folder of gameplay, finds the loud
reactions and sudden motion, merges nearby moments, and cuts ready-to-post clips
with FFmpeg. Everything runs locally. No accounts, no uploads, no browser.

![Clipper native desktop app](https://raw.githubusercontent.com/hatermedia/clipper/main/docs/media/desktop.png)

**Website:** [hatermedia.github.io/clipper](https://hatermedia.github.io/clipper/) · **Release:** [v0.7.5](https://github.com/hatermedia/clipper/releases/tag/v0.7.5)

## Install

**Windows 10/11 installer (recommended):** [Download ClipperSetup-0.7.5.exe](https://github.com/hatermedia/clipper/releases/download/v0.7.5/ClipperSetup-0.7.5.exe) (~365 MB)

- Per-user install, no admin prompt
- Installs to `%LOCALAPPDATA%\Programs\Clipper`
- Desktop and Start Menu shortcuts
- Built-in SHA-256 verified updates
- Uninstall removes the app and settings, not your footage or caches

The installer includes FFmpeg, Whisper `base.en`, RapidOCR, YAMNet, and the
runtime they need. A multi-gigabyte vision model is **not** bundled. The optional
AI Director can install Ollama from inside the app, and then download a model
only when you ask for it.

Prefer a portable copy? [Download the native zip](https://github.com/hatermedia/clipper/releases/download/v0.7.5/clipper-0.7.5-windows-x64-native.zip)
and run `Clipper.exe`.

## What it does

- **Smart padding and merging** — every detected peak gets 8 seconds before and
  5 seconds after. Windows merge when they overlap or are less than a second
  apart, keeping the stronger peak. A fight stays one clip instead of six
  fragments.
- **Flat highlight list** — every clip is one row with its source video, time
  range, score, and grounded reason. No nested video groups.
- **Inline preview player** — selecting a row shows its peak frame and stays
  paused. Play, pause, seek, and -5s/+5s controls are in the preview panel. A
  single click never starts playback; double-click is a shortcut to play.
- **Local AI, two honest modes** — Lite is included and works immediately;
  Director is an optional Ollama vision model for whole-clip story judgment.
- **Game Guard** — pauses AI and frees VRAM while a game is running, then
  resumes automatically. It uses a large title map, Unreal Engine process
  detection, and major game-library paths.
- **Lossless cuts** — stream copy keeps the original video and audio and exports
  almost instantly.
- **GPU + CPU controls** — real NVENC test, balanced thread cap, and a low-power
  preset.

## First run and local AI

Clipper opens in **Lite mode** with no extra installation. Lite uses bundled
Whisper speech transcription, HUD OCR, and YAMNet audio tagging, plus the normal
audio/motion detector. It needs no GPU model and no Ollama.

**AI Director is optional.** It sends each sampled window to a local vision
model and can keep a 30–45 second interaction instead of only the loudest peak.
To enable it:

1. Open Clipper and click **Install Ollama** in the AI setup panel. Clipper
   downloads the official installer, verifies its SHA-256 and Authenticode
   signature, installs it for the current user, and starts it. No browser trip.
2. Click **Install model** to download `gemma3:4b` or `qwen2.5vl:7b` through
   Ollama, with progress shown in the panel.
3. On 6 GB cards use `gemma3:4b` (tested). On 8 GB+ use `qwen2.5vl:7b`.

Game presets are inferred from each file's folder or name; there is no game
dropdown to maintain.

If no model is installed, Clipper stays in Lite mode and says so instead of
failing silently.

### Low-power mode

Low-power mode is a performance preset, not a separate “no AI” product:

- 2 CPU threads
- 256 px wide, 2 fps analysis proxy
- Below-normal process priority

AI Director still runs if you enable it. Turn AI off separately if you want
heuristic-only detection.

## Game Guard

Game Guard looks at local processes and paths. It covers a large built-in title
list, generic Unreal Engine shipping
processes, and games installed through Steam, Epic, GOG, Riot, EA, Ubisoft, and
Xbox paths. You can add private or missed titles in
`%LOCALAPPDATA%\Clipper\games.json`:

```json
{
  "mygame.exe": "My Game"
}
```

## Privacy

Footage never leaves the machine. Analysis, OCR, transcription, and export are
local. Clipper has no accounts and no telemetry. Network access is limited to the
optional GitHub update check and, only when you click them, the one-click Ollama
install and model download. Release downloads are HTTPS and SHA-256 verified.

## Build from source

For development only:

```powershell
git clone https://github.com/hatermedia/clipper.git
cd clipper
py -m venv .venv
.\.venv\Scripts\pip install -e ".[desktop]"
.\.venv\Scripts\python -m clipper.desktop
```

Packaging scripts and checksums live in `packaging/`. Third-party notices and
license texts are in `THIRD_PARTY_NOTICES.txt`, `packaging/FFMPEG_NOTICE.txt`,
and `packaging/licenses/`.

## License

MIT. See [LICENSE](LICENSE). You are responsible for the rights to the footage
you process.
