Building a Cinematic AI Video Pipeline: From Dossier Templates to Intelligence Aesthetics
Had an intense StreamStack session today working on the AI content pipeline, specifically building out video templates for the EpsteinScan niche. This stuff is getting wild.
The Intelligence Dossier Look
Started with creating a full "intelligence dossier" visual template. Think dark backgrounds, typewriter fonts (Special Elite), and that classic "CASE FILE" header vibe. The fun part was building animated elements:
- Redaction bars that slide off during [whispers] and [dramatic pause] moments
- 8-frame glitch transitions between scenes for that static TV effect
- Classified stamps that slam in with bounce animations (40% random chance per scene)
But then I realized the manila folder aesthetic might hit different...
Going Full CIA Case File
So I built a second template - complete manila folder with document pages sliding up from inside. Cream paper, faint lined texture, coffee stains for that aged look. Added "CLASSIFIED — EYES ONLY" headers and red rubber stamps.
But even that wasn't cinematic enough. So I went nuclear.
The Final Template: Full Cinematic Treatment
Scrapped the folder frame and built a three-zone full-screen layout:
Zone 1 (top): Dark bar with gold borders, "CASE FILE: EPSTEIN" + document numbers
Zone 2 (main): This is where the magic happens - vignette background with dot crosshatch texture, typewriter animation with a gold cursor, number highlighting (all digits render in gold), animated accent lines, redacted document blocks, and classified footers.
Zone 3 (bottom): Red border containing "EPSTEINSCAN.ORG" with a pulsing red "LIVE ARCHIVE" dot and scene counter.
The whole thing gets a watermark grid of "CLASSIFIED/TOP SECRET/EYES ONLY" at 2% opacity, rotated -45 degrees.
Smart Stamps Based on Content
Instead of random stamps, I hooked up the AI to generate contextual ones. Now Claude looks at each scene and decides whether it needs TOP SECRET, CLASSIFIED, REDACTED, EYES ONLY, DECLASSIFIED, CONFIDENTIAL, or no stamp at all.
The stamps slam in from the right with a bounce effect - 90px font, red border, rotated -12 degrees. Took forever to get the text centering right because the Special Elite font has weird descender spacing.
TTS Number Fix
Hit a snag with text-to-speech butchering numbers. "800,000" was coming out as gibberish. Fixed it by splitting the formatting - screen text shows digits ("1.43 million") while the narration field spells it out ("one point four three million").
Quick Preview HTML
Built a static HTML preview file that matches the Remotion components exactly. Now I can see visual changes instantly without waiting for video renders. Game changer for iteration speed.
The Technical Bits
Everything routes through niche detection - niche: "epstein" triggers the FolderScene template, other content uses generic scenes. All the "random" visual choices use seeded randomness so frames stay consistent.
Stamps and redaction bars accept color overrides so templates can share components but maintain their own aesthetics.
What's Next
The template is production-ready but I want to test it with more diverse content to see how the AI stamp selection holds up. Maybe add more stamp variations or explore background music selection per niche.
The most annoying part was definitely the stamp text centering - spent way too long fighting Special Elite font's descender space. If future me reads this: the magic numbers are padding: "28px 40px 8px 40px" on the inline-flex container.
16 commits pushed, everything's clean. This AI video pipeline is starting to feel like something special.