Skip to content
Klarschnitt

Guide

Ten minutes from download to a first assembly

This page walks the chain once, using the example project that ships with Klarschnitt. No footage of your own, no model, no account, nothing goes onto the network. Afterwards you know what Klarschnitt produces and how it behaves inside an editing application.

About ten minutes. Two of them are the example project doing arithmetic.

A hand resting on the faders of a mixing desk, the meters of a second unit glowing beside it.

What has to be there first

Python 3.11 or newer
Older versions have no tomllib. Klarschnitt then exits with a sentence rather than a traceback.
ffmpeg and ffprobe
Every decode, measurement and render goes through them.
An editing application
Premiere Pro, DaVinci Resolve or Final Cut. To just look at the output you need none of them — the files are readable text.

Five steps

  1. 1

    Check the requirements

    Both have to answer. If Python is older than 3.11 or ffmpeg is missing, setup.sh says so and prints the install command.

    python3 --version
    ffmpeg -version
  2. 2

    Set up

    Creates .venv, installs numpy, scipy, Pillow and a Whisper variant, asks once whether you want speaker separation (around 2 GB — you can skip it), and creates config.toml along with media/, work/ and out/. Nothing outside this folder is touched, except Homebrew packages.

    bash setup.sh
  3. 3

    Run the example

    Generates three camera files and an audio mix, runs the whole chain over them, and then checks whether sync recovered the camera offsets that were built in. Around two minutes, first time.

    bash beispiel/los.sh
  4. 4

    Open the result

    Start with 0_spurmontage.xml: full original length, one camera running underneath, the other angles above it on their own tracks. Delete a clip on an upper track and no hole appears. Beside it sit 2_autocut.xml as a hard assembly and 5_putzschnitt.xml with the pauses and stumbles taken out.

    Premiere Pro    File > Import …
    DaVinci Resolve File > Import > Timeline > Import AAF, EDL, XML …
    Final Cut Pro   File > Import > XML …
  5. 5

    Your own footage

    The example configuration is an ordinary one. Copy it, point audio.master at your recorder file, list the cameras, mark each one nah (close) or weit (wide). After the transcript exists, map the detected speakers to cameras and rebuild with bash run_all.sh --ab-04.

    cp beispiel/config.toml my_project/config.toml
    bash run_all.sh my_project/config.toml

Then: pick your level

The default is level 1 — Whisper, speaker separation, clean-up pass and captions, all on your own machine, nothing leaving the device. Level 2 lets a language model advise, and that model may be a local one. Find out what is running with python3 pipeline/modell.py --suchen, then set anbieter, modell and nur_lokal = true under [ki]. Keys never belong in config.toml: they come from an environment variable or from the macOS keychain, and the environment wins.

AI levels Local models

When something jams

'ffmpeg' nicht gefunden. Install it once with brew install ffmpeg, then start again. The same applies to ffprobe.
Hier laeuft schon ein Durchgang (PID …). Two runs in the same folder would clear each other’s intermediate files, so a lock prevents it. Wait for the first to finish, or end it with kill.
! Unsicher bei: … Sync quality below 0.25 or distinctness below 1.4. Lay the camera waveform over the recorder track in your NLE and read the offset by eye.

The full handbook

The handbook sits in the repository at docs/handbook.md (German: docs/handbuch.md). It explains every output file on its own, every error message the tools produce, and how to connect a model — local, OpenAI-compatible or Anthropic. It becomes public together with the repository.

Back to the start page