Built for Creators · FastAPI · Next.js 16 · FFmpeg + libass · Python
ReelSlicer
An AI-assisted studio that cuts long recordings into vertical 9:16 Reels and Shorts for creators who speak English, Hindi and Nepali. A creator uploads a recording they own, the worker extracts the audio and transcribes it, candidate clips are proposed, and each clip opens in a timeline editor to trim cuts, adjust captions and check the framing before a vertical MP4 is exported. Captions are rendered and checked in both Latin and Devanagari script. Next.js 16 on Vercel, FastAPI and FFmpeg on AWS EC2, live at reelslicer.com.
Upload → Speech Engines → Clip Finder → 9:16 Render

Role
Full-Stack Engineer
Duration
Ongoing
Tech Stack
The Problem
Short vertical videos are cut from long ones, and tools such as OpusClip use AI to find the best moments. In Hindi and Nepali the language gap is real: OpusClip's own help page says it does not support Hindi, and speech models fail in ways one accuracy number hides, such as translating Hindi into English instead of transcribing it. In English the edge has to be measured precision and human review. The aim was a clip service whose every claim about quality is measured, not assumed.
My Approach
- Measure first. The first thing built was a way to measure whether the software is right (reelseval): word and character error rates over grapheme clusters, a script check that reports romanized, wrong-script or mixed text, word-timing error, and clip precision, recall and cut-point quality.
- Speech engines. Adapters for ElevenLabs Scribe, Sarvam, Gemini, AssemblyAI and Google Chirp behind one command that plans first and sends nothing without --yes, a key in the environment and consent on the item. Consent defaults to off.
- Clips. Candidate clips are proposed, then selected by fixed rules, cut at sentence boundaries, never mid-word, with editorial profiles for creators, founders and product launches.
- Rendering. A renderer (reelsrender) draws word-by-word highlighted captions with FFmpeg's libass and HarfBuzz, then measures the result: reading direction, shaping, font coverage, safe area and wrapping, per script. Clips come out as 9:16 MP4 with four reframing layouts and audio normalized to -14 LUFS.
- Studio. A FastAPI backend (Postgres store, background worker, uploads) and a Next.js 16 studio with a 9:16 safe-zone monitor, a timeline editor, guides, plans and shareable drop pages.
- Uploads only. Only client-provided files are processed; nothing is fetched from YouTube or other platforms by URL.
Results & Impact
Recorded in the project README: ruff lint and format clean, strict mypy clean over 93 source files, 1,435 Python tests passing, and mutation checks in which 754 deliberate bugs (241 evaluation, 35 renderer, 475 pipeline) were all caught by the tests. CI runs lint, types and tests in parallel jobs on GitHub.
The live site was loaded on 2026-12-02: the home page, plans and guides render in light and dark themes at reelslicer.com.
Not verified: the speech-engine adapters have never been run against a real vendor; Hindi and Nepali captions have not yet been reviewed by native readers; the golden set has no audio yet; payments are not started, and the plans page shows proposed pricing during a private pilot.