Built UnhingedClip—a self-hosted AI short-form video production studio & CLI pipeline ("Drop in a long video. Get back captioned, ready-to-post clips.") engineered to outperform paid SaaS clippers with deterministic FFmpeg mastering and 1-second hook iteration.
What Was Engineered:
• Multi-Signal Virality Detection: Combines normalized Audio RMS spikes (0.45 weight), YouTube "Most Replayed" heatmaps (0.35), and 24 hype keywords (0.20) alongside Faster-Whisper (base/int8, VAD enabled) word-level transcripts to isolate high-retention moments.
• Intelligent 9:16 Layout & Facecam Recovery: Built GamingLayoutEngine supporting stacked split-screens (1080x960 + 1080x960) with fspp deblocking, Lanczos upscaling, and AMD FidelityFX Contrast Adaptive Sharpening (cas=0.75/0.80), plus boxblur ambient framing so HUDs and faces stay intact.
• Dual-Render & 1-Second Hook Re-Burn: Simultaneously outputs clean_base.mp4 alongside final_reel.mp4 (-14.0 LUFS EBU R128 mastering, 3-input amix vocal ducking, yellow .ass karaoke subtitles, and frosted 0.48 alpha macOS AppKit overlays). Applying any of 15 Gemini 2.5 Flash / GPT-4o-mini viral hooks re-burns in 1–2s via -c:a copy.
• Zero-Stall HTTP 206 Video Streaming: Multi-threaded HTTP server supporting RFC byte-range 206 Partial Content streams for instant HTML5 scrubbing in Safari and Chrome.
0 likes · 1 view · Dec 1, 2026
Engineered UnhingedClip, a self-hosted AI video clipping studio using Faster-Whisper, Gemini 2.5 Flash, FFmpeg (-14 LUFS & AMD CAS sharpening), and a multi-thre