Metadata-Version: 2.4
Name: clipper-gg
Version: 0.8.0
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.8.0](https://github.com/hatermedia/clipper/releases/tag/v0.8.0)

## Install

**Windows 10/11 installer (recommended):** [Download ClipperSetup-0.8.0.exe](https://github.com/hatermedia/clipper/releases/download/v0.8.0/ClipperSetup-0.8.0.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 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.8.0/clipper-0.8.0-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 only** — every scan is reviewed by the local vision director.
  There is no heuristic-only highlighting mode.
- **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 is AI-first. Every scan is reviewed by a local vision director that
watches the full clip in short windows, transcribes the audio with Whisper, and
uses HUD/audio signals to find the story beats. There is no heuristic-only
highlighting fallback.

The AI model is required, but it is not bundled. To set it up:

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. The model picker lists local Ollama vision models, other
installed models, and a custom model tag option. If AI is not ready, Detect
highlights stays disabled until setup finishes.

### Low-power mode

Low-power mode is a performance preset, not a separate product:

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

The local AI director still runs. Low-power mode only trades speed for lower
resource use; it never turns highlighting off.

## 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.
