Skip to main content
@kneeraazon
Live ProductAI & AutomationCase Study

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.

OUTCOME.011,435Python tests passing (recorded)
OUTCOME.02754 / 754Seeded bugs caught by the tests (recorded)
OUTCOME.033Languages: English, Hindi and Nepali
2D SYSTEM TOPOLOGY // END-TO-END REQUEST PIPELINE4-STAGE DATA FLOW

Upload → Speech Engines → Clip Finder → 9:16 Render

FIG.01 // INTERFACE & SYSTEM CAPTURE1 / 5
The ReelSlicer home page: 'Cut long recordings into vertical 9:16 Reels ready to post', New project and Open GTA 6 sample project buttons, and a tablet showing a vertical video on a desk.
The ReelSlicer home page: 'Cut long recordings into vertical 9:16 Reels ready to post', New project and Open GTA 6 sample project buttons, and a tablet showing a vertical video on a desk.

Role

Full-Stack Engineer

Duration

Ongoing

Tech Stack

PythonFastAPINext.js 16Tailwind CSS 4PostgreSQLFFmpeg + libass + HarfBuzzuvpytestmypyRuffAWS EC2Vercel
SECTION 01 // PROBLEM STATEMENT

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.

SECTION 02 // SYSTEM ARCHITECTURE & EXECUTION

My Approach

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. Uploads only. Only client-provided files are processed; nothing is fetched from YouTube or other platforms by URL.
SECTION 03 // VERIFIED OUTCOMES

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.