A Windows-first, local-first utility for transforming long gaming recordings into vertical 1080×1920 Shorts and Reels styled after benchmark reference Reels, with synchronized dialogue subtitles and safe-zone formatting. Grand Theft Auto VI is the initial reference benchmark, with game categories and style presets stored in modular configuration files for seamless reuse across games and streamers.
The tool enables an operator to:
- Supply an example Reel/Short URL, local reference video, or style notes to derive a reusable style preset.
- Point at a raw creator stream recording (including multi-track OBS files with separate game and mic audio).
- Transcribe and synchronize what the streamer actually says as readable, on-screen subtitles.
- Review up to three vertical draft clips via a local HTML contact sheet or editable JSON.
- Render clean 1080×1920 MP4 clips with burned ASS hardsubs and sidecar SRT caption files.
- Reference Style Engine (
style-preset)- Extracts editing traits (typography, cut pace, typical length, layout, and hook placement) from reference videos, URLs, or notes.
- Categorizes traits into observed (direct evidence), inferred (sensible defaults), and unknown.
- Two-Reference Composition: Blend subtitle styling from Reference A (e.g. bold yellow typography) with pacing/layout from Reference B (e.g. blurred background, 25s cuts).
- Synchronized Dialogue Subtitles & Safe Margins
- Transcribes streamer speech and burns high-contrast ASS subtitles (Arial Black, bold yellow/white, black outline, shadow).
- Generates sidecar
.srtfiles for external editing or closed captions. - Respects TikTok and Instagram Reels UI safe zones (Margin V: 380px) and enforces a maximum of two lines per fragment.
- Automatically recomputes caption timings if in/out points are trimmed during review.
- Groq Cloud Whisper & Local Whisper Options
- Opt-in cloud transcription via
--transcription-provider groqusingwhisper-large-v3-turbo. - Privacy-first: keeps source video 100% local; uploads only candidate audio slices (30–60s) from the streamer's mic track.
- Captures segment and word timestamps (aligned with SupoClip's word-timing workflow) for future word-by-word animation.
- Local Whisper (
whisper.cpp) and external SRT import remain fully supported.
- Opt-in cloud transcription via
- Multi-Track Audio & Mic Selection
- Ingests recordings with multiple audio tracks (e.g. Track 0 = Game Audio, Track 1 = Streamer Mic).
- Use
--mic-track <idx>to isolate the streamer's voice for clean transcription and energy analysis.
- Speech & Caption Guardrails
- Checks local Whisper availability (
whisper-cliand GGML models) and Groq API key configuration. - Supports external transcript fallback (
--transcript <file.srt|json>). - Dialogue candidates are held in an
[AWAITING CAPTIONS]state if transcription is missing or API errors/quota limits occur. - Strict Guardrail: The renderer will never export a dialogue clip as finished with empty subtitles or invented dialogue. Genuine speech-free clips can be reviewed and rendered separately.
- Checks local Whisper availability (
- Clean Deliverables & Storage Isolation (OneDrive-Safe)
- Finished deliverables are placed by default under
GTA_clipping\exports\<original-source-video-name>\named<original-source-video-name>_clip_01.mp4and.srt. - Large source footage, 16 kHz audio slices, whisper models, and intermediate renders are stored strictly outside OneDrive by default.
- Configurable via
--data-dir <path>orGTA_CLIPPING_DATA_DIR(defaults to%LOCALAPPDATA%\gta_clippingor fallbacktempfile.gettempdir()\gta_clipping_data). - Use
--export-outside-onedriveto route finished deliverables outside OneDrive as well.
- Finished deliverables are placed by default under
- Zero External SaaS Dependencies
- Runs 100% locally with Python's standard library, FFmpeg/ffprobe, and optional local whisper.cpp or Groq API.
Tested and verified on Windows (x64) on 17 November 2026:
| Tool | Detected Version | Path | Status |
|---|---|---|---|
| Python | 3.13.9 | python.exe |
Verified (Standard library orchestration) |
| FFmpeg | N-122158-gb9078c0939-20251215 | ffmpeg.exe |
Verified (libx264, aac, ass, subtitles, whisper filter) |
| FFprobe | N-122158-gb9078c0939-20251215 | ffprobe.exe |
Verified |
| Node.js | v24.13.0 | node.exe |
Detected |
| whisper-cli | Optional | Not on PATH | Optional (Visual pipeline active; fallback SRT supported) |
| yt-dlp | Optional | Not on PATH | Optional adapter for permitted source downloads |
Groq provides ultra-fast transcription using whisper-large-v3-turbo with word-level timestamps.
To configure safely in PowerShell (without writing to code, git, or OneDrive):
# For the current session:
$env:GROQ_API_KEY = "gsk_your_key_here"
# Or persistently as a Windows user environment variable:
[System.Environment]::SetEnvironmentVariable('GROQ_API_KEY', 'gsk_your_key_here', 'User')Note: Your video never leaves your PC. Only the short (30–60s) candidate audio slice is uploaded.
- Download official pre-built Windows release:
- Repository: ggml-org/whisper.cpp Releases
- Asset:
whisper-bin-x64.zip(Pinned release: v1.7.4)
- Place
whisper-cli.exein systemPATHor<data_dir>/models/. - Download GGML model (e.g.
ggml-tiny.binorggml-base.bin) from HuggingFace ggerganov/whisper.cpp into:<data_dir>/models/
All commands run through python -m gta_clipper.cli:
# 1. Environment diagnostic
python -m gta_clipper.cli doctor
# 2. Derive style preset from notes or reference Reel
python -m gta_clipper.cli style-preset \
--notes "Fast-paced GTA stunts, bold yellow Arial Black captions, top hook banner, 22s" \
--save viral_stunt
# 3. Analyze raw stream with style preset, mic track, and dialogue transcription
python -m gta_clipper.cli analyze \
--input "D:\Recordings\GTA6_Stream_Session.mp4" \
--style-preset viral_stunt \
--mic-track 1 \
--creator "ViceCityStreamer"
# 4. View the review contact sheet URL
python -m gta_clipper.cli preview
# 5. Render approved vertical clips (1080x1920 MP4 + burned subtitles + SRT)
python -m gta_clipper.cli renderDerive, inspect, or merge style presets from user descriptions, local reference files, or public URLs:
# From notes:
python -m gta_clipper.cli style-preset \
--notes "White bold captions, fit background blur, 25s duration" \
--save kinetic_white
# From local reference video:
python -m gta_clipper.cli style-preset \
--ref-file "C:\refs\sample_viral_reel.mp4" \
--save probed_style
# Merge two references (captions from Ref A, layout/pacing from Ref B):
python -m gta_clipper.cli style-preset \
--merge-captions-from viral_streamer_yellow \
--merge-layout-from kinetic_bold_white \
--save hybrid_styleFind benchmark public Shorts/Reels by keyword:
python -m gta_clipper.cli discover --query "GTA V funny streamer reaction Shorts"Ingests the stream recording, applies the style preset, inspects audio tracks, extracts dialogue, and generates up to 3 vertical draft clips:
# With Groq Cloud Whisper (accurate dialogue without importing SRT):
python -m gta_clipper.cli analyze \
--input "C:\path\to\recording.mp4" \
--transcription-provider groq \
--mic-track 1 \
--style-preset viral_streamer_yellow \
--creator "StreamerName"
# With local Whisper.cpp:
python -m gta_clipper.cli analyze \
--input "C:\path\to\recording.mp4" \
--transcription-provider local \
--mic-track 1
# With existing SRT transcript:
python -m gta_clipper.cli analyze \
--input "C:\path\to\recording.mp4" \
--transcript "C:\path\to\stream_transcript.srt" \
--mic-track 1Transcribe a specific candidate clip on an existing job (useful when an API key was added after analysis):
python -m gta_clipper.cli transcribe-clip \
--job-dir "<job_dir>" \
--clip-id clip_01 \
--provider groq \
--mic-track 1Renders approved clips to 1080×1920 vertical H.264/AAC MP4 with burned ASS hardsubs and sidecar SRT. Automatically reuses existing renders in ~0.00s if unchanged:
# Render all approved clips into GTA_clipping/exports/<original-source-name>/
python -m gta_clipper.cli render --job-dir "<job_dir>"
# Override layout or manual crop offset
python -m gta_clipper.cli render --job-dir "<job_dir>" --layout manual_crop --crop-offset 0.25
# Export deliverables outside OneDrive as well
python -m gta_clipper.cli render --job-dir "<job_dir>" --export-outside-onedriveThe review contact sheet (contact_sheet.html) provides a local, offline dashboard displaying:
- Synchronized Subtitles Preview: Shows the exact words spoken by the streamer.
- Candidate Badges: Highlights clip status (
[AWAITING CAPTIONS],[CHECK SPEECH ACCURACY],[SPEECH-FREE CLIP]). - Three Frame Thumbnails: Start / Hook Frame, Payoff / Action Climax, and End / Resolution.
- Style Preset Badge: Shows active style styling.
- Editable Parameters: In
review_sheet.json, the editor can adjust start/end timestamps (which automatically re-synchronizes subtitle timings), change layout mode, or set"rejected": true.
Located in config/styles/:
viral_streamer_yellow.json:- Bold yellow typography (
&H0000FFFF), Arial Black, 70pt. - Black 4.5px outline, 380px vertical margin (safe zone).
- Rapid cuts, 22s duration, center crop.
- Top headline hook banner.
- Bold yellow typography (
kinetic_bold_white.json:- Clean white typography (
&H00FFFFFF), 66pt. - Fit-with-background layout (blurred ambient background with centered fitted gameplay).
- Moderate pacing (25s duration).
- Clean white typography (
Run the automated test suite (31 end-to-end tests):
python tests/run_tests.pyTests include:
- Doctor environment diagnostics
- Storage isolation outside OneDrive
- Attribution, rights, and metadata logging
- Audio extraction and RMS peak detection
- Visual stream inspection
- Dual-signal candidate proposal & deduplication
- ASS & SRT subtitle generation with safe margins
- 1080x1920 vertical MP4 rendering across all layouts
- ffprobe stream verification
- Paths with spaces and Unicode characters
- Re-render caching and idempotence
- Error handling for invalid inputs and time ranges
- Style preset derivation from notes and local media probe
- Two-reference style composition (captions from ref A, layout from ref B)
- Multi-track audio and streamer mic track selection
- External transcript fallback with synchronized burned dialogue
- Caption guardrail: blocks uncaptioned dialogue export
- Recomputing subtitle timing when clip boundaries are trimmed
- Inaccessible reference URL fallback to style notes
- Candidate audio slice extraction (video kept 100% local)
- Groq verbose_json parsing and stream timing offsets (SupoClip reference)
- Groq quota / rate limit handling and guardrails
- Full workflow spot-check captions (first, middle, last)
- Groq HTTP 429 quota exhaustion fallback to local Whisper
- Groq HTTP 429 quota exhaustion fallback to manual SRT import
- FreeLLMAPI unverified route evaluation guardrail
- Clean deliverable naming, Windows path sanitization, and export reuse
- Square pixels verification (SAR 1:1, DAR 9:16 via ffprobe)
- Stale render reuse invalidation on layout, crop, hook, or subtitle changes
- Storytelling setup, action, and payoff timestamps + shot-by-shot framing
- Facecam guardrail falling back from PiP to fit-background when unconfirmed