Menu

I built a code pipeline that makes explainer videos (Remotion + local TTS + a 21-check QA gate): 5 traps I hit
📰

I built a code pipeline that makes explainer videos (Remotion + local TTS + a 21-check QA gate): 5 traps I hit

DEV Community: react·Héctor David·14 days ago
#QYqyXD1c
#devtoreact#devto#dev#scene#gate
Long article (905 words) — no AI summary yet.
Reading 0:00
15s threshold

I wanted 60-second motion-graphics explainers that don't look AI-made, and I wanted them reproducible: change a script, get a new video, with the same quality every time. So I built the pipeline in code:

brief.json → per-scene TTS → word timings → React scenes (Remotion) → render 16:9 + 1:1 → loudness master → automated QA gate.

Here are the five traps that cost me the most time, and what fixed each one.

1. CRF on flat motion graphics gave me a 0.24 Mbps file

My first master used --crf=17 . Flat colors compress extremely well, so the file came out at 0.24 Mbps . It looks fine locally, but platforms re-encode your upload, and starving them of bits hurts. I switched to a fixed target ( --video-bitrate=8M ), and the encoder still only used about 1.3 Mbps, because there's nothing left to encode. That's when I stopped trusting bitrate as a quality metric (see trap 2).

2.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.