Skip to content

Latest commit

 

History

History
169 lines (126 loc) · 6.79 KB

INSTALL.md

File metadata and controls

169 lines (126 loc) · 6.79 KB

Installing VideoHighlighter

Downloads are on the Releases page.

GPU support

VideoHighlighter runs on Intel, AMD and NVIDIA GPUs, and on CPU alone if there is nothing else. Tested on:

GPU Backend
Intel Arc A750 OpenVINO
NVIDIA GeForce GTX 1060 CUDA
AMD Radeon RX 570 DirectML

Per-vendor setup and troubleshooting: Intel · AMD.

Windows

Installer (recommended). Download 00-VideoHighlighter-Windows-Setup.exe and run it. It fetches both archive parts and unpacks them — roughly a 3 GB download, installed per-user, no administrator rights needed.

The build is not code-signed yet, so Windows SmartScreen or Chrome may block it. Use Keep in the browser, and More info → Run anyway in the SmartScreen dialog.

Portable. Download both VideoHighlighter-Windows-*.7z.001 and .7z.002 into the same folder, extract the .001 file with 7-Zip (it pulls in the second part itself), and run VideoHighlighter.exe.

Then: run VideoHighlighter.exe from the extracted build.

macOS

Download the .dmg from Releases and drag VideoHighlighter into Applications.

The app is ad-hoc signed and not notarised, so macOS quarantines it and the first launch fails — usually as "VideoHighlighter is damaged and can't be opened". Nothing is damaged: that is Gatekeeper reacting to the missing notarisation, and it says the same thing about a perfectly good download. Clear the quarantine flag once, in Terminal:

xattr -dr com.apple.quarantine /Applications/VideoHighlighter.app

Then open it normally from Applications. Repeat this after each update, since the flag comes back with the new download.

Mac builds get far less testing than Windows — please open an issue when something breaks.

Linux / from source

pip install -r requirements.txt
python main.py

FFmpeg comes with it via imageio-ffmpeg — nothing to install separately. An FFmpeg already on your PATH is used instead when there is one.

Two front ends

Both drive the same engine:

  • Qt desktop GUI (main.py) — the original, with the full Timeline Viewer.
  • Web app (frontend/ + sidecar/) — a Tauri v2 shell around a React UI, with the Python engine running behind it as a FastAPI sidecar. Adds folder-at-once input, the reel + music controls, and the blur gate. See frontend/README.md. It still launches the Qt window for the Timeline Viewer.

Where it writes

Beside the executable, so a portable install stays self-contained: copy the folder and your caches come with it. When that folder refuses writes, it uses your local app data folder instead, rather than requiring you to start the app as an administrator.

macOS always uses ~/Library/Application Support/VideoHighlighter, because a bundle is not a place to write.

Footage, transcripts and local models stay on disk. The basic pipeline needs no API key.

Interface too large?

A 55" 4K panel is scaled by the system for a television, not for an app at desk distance. Set ui_scale in config.yaml (or the VH_UI_SCALE environment variable) to a multiplier applied on top of the system's own: 0.75 on a 200% display gives you 150%. It is read once at startup, so restart the app after changing it.

GitHub or Hugging Face slow or blocked?

Every release is mirrored outside GitHub, at dl.videohighlighter.com, which works from mainland China without a VPN. From 0.14.2, Setup, the script installer and the app fetch from the mirror first and fall back to GitHub, checking every file against its SHA-256 whichever host served it; that covers the app, NVIDIA acceleration and the search models.

A model shared on Hugging Face, or weights the app fetches by name, comes from huggingface.co, which is out of reach in some places. Set hf_endpoint in config.yaml to a Hugging Face mirror you trust, for example hf_endpoint: https://hf-mirror.com (or use the VH_HF_ENDPOINT environment variable). Restart the app after changing it. An HF_ENDPOINT already set in the environment takes precedence.

Optional pieces

  • Transcripts run on OpenAI Whisper, locally. Whisper is MIT licensed.
  • Subtitle translation runs on a local LLM through ollama — no translation service, API key or account is involved, and the text never leaves the machine. Without ollama, subtitles are written in the language that was spoken. Running ollama on another box on your LAN: OLLAMA-REMOTE.md.
  • Chat, report narration and the advisor run on a local LLM through ollama or LM Studio — or any OpenAI-compatible server, such as llama.cpp's llama-server, Jan or vLLM, pointed at with the LM Studio host field. The chat panel looks for both servers when it opens and selects the one that is running; the report's model list takes either. For LM Studio, start the server in its Developer tab (or run lms server start). With just-in-time loading on, which is the default, a downloaded model loads on first use. Subtitle translation still needs ollama.

This project ships no paid API keys. Bring your own if you want to use a hosted service.

Troubleshooting

Application not starting? Check the debug log:

  • Windows: debug.log in %APPDATA%\VideoHighlighter
  • macOS: ~/Library/Application Support/VideoHighlighter/debug.log
  • Linux: ~/.local/share/VideoHighlighter/debug.log

The app writes to this file before crashing, which usually includes the last detected error.

FFmpeg errors or video playback issues? The installer bundles FFmpeg, but if you're running portable:

# Windows: download ffmpeg.exe and put it beside VideoHighlighter.exe
# macOS: brew install ffmpeg
# Linux: apt install ffmpeg

No GPU acceleration detected? See the vendor-specific guides:

Transcript errors? Whisper models require download:

  • First run will take a minute to download base or large-v3 model
  • Error messages like "No module named 'openai_whisper'" mean Python is not installed — run the installer instead

Report not loading? Open reports in a modern browser (Chrome/Firefox/Edge). Older browsers may struggle with embedded players.

Performance issues on older hardware? Increase advanced.frame_skip in config.yaml from 5 to 10 or higher. This reduces processing speed but improves responsiveness.