From 1b7e13d24b53b37dfc007fc7fe626c675956fffb Mon Sep 17 00:00:00 2001 From: calesthio Date: Mon, 6 Apr 2026 08:21:48 -0700 Subject: [PATCH] Fix Remotion-first rendering docs and post-render verification gaps MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Compose-director had contradictory instructions: Step 2 described Remotion captions/audio, but Steps 5/5b gave detailed FFmpeg code that agents followed instead. This caused three failures in production: FFmpeg subtitles instead of Remotion CaptionOverlay, missing audio (mixed externally but never embedded in Remotion props), and skipped audio verification in post-render review. Changes: - compose-director: Remotion is now DEFAULT for audio, captions, text overlays; FFmpeg is labeled FALLBACK only. Post-render review has mandatory ffprobe gate and audio transcription with explicit stop conditions. - remotion.md: routing table updated (captions/audio → Remotion), added universal Post-Render Verification Protocol for all pipelines (only 2/10 had one). - scene-director, asset-director: added pitfall for AI-generated text in CTA screens — must use Remotion text_card for verbatim text. - image-provider-usage: added Recraft V4 caveat (style param causes 422 on fal.ai). - recraft_image.py: documented the style parameter 422 issue inline. --- skills/core/remotion.md | 38 ++++- skills/creative/image-provider-usage.md | 8 +- skills/pipelines/explainer/asset-director.md | 1 + .../pipelines/explainer/compose-director.md | 143 ++++++++++++------ skills/pipelines/explainer/scene-director.md | 1 + tools/graphics/recraft_image.py | 8 + 6 files changed, 151 insertions(+), 48 deletions(-) diff --git a/skills/core/remotion.md b/skills/core/remotion.md index 65be9d7..c0e7564 100644 --- a/skills/core/remotion.md +++ b/skills/core/remotion.md @@ -30,8 +30,10 @@ simple standalone operations that don't benefit from React rendering. | Video-only cuts with transitions | **Remotion** | Native `` + transitions | | Animated diagrams/text cards | **Remotion** | Frame-by-frame control | | Data-driven batch videos | **Remotion** | Zod props + parametric renders | +| Word-level captions (in composition) | **Remotion** | CaptionOverlay with word highlight — superior to SRT | +| Audio embedding (narration + music) | **Remotion** | Native `