Wein Story Render — 60 fps Stickman & Papercut Remotion Renderer
Use this skill when turning a script/storyboard (from wein-story-script or a user brief) plus a recorded VO audio file into a broadcast-ready 1080×1920 @ 60 fps MP4 for TikTok, IG Reels, and YouTube Shorts.
Prerequisites & Companion Skills
- Load
remotion-best-practices(fromremotion-dev/skills) for current Remotion API conventions (@remotion/media,@remotion/google-fonts,<Sequence>,interpolate(),spring()). - Required tools on
PATH: Node.js 20+,ffmpeg+ffprobe. - Starter kit references bundled in this skill:
- references/WeinPaperKit.tsx —
PaperBackdrop,PaperBoil(auto 15 Hz at 30/60 fps),CoverTitle,ConceptLabel,WeinSubtitle,WeinHandleBadge,ClosingQuestionCard,Stickman. - references/fps60.ts —
FPS_60,sec(),secRange(),useTime(),springAtSec(),interpolateSec(),sfxAtSec(). - references/audio-sync-guide.md — exact FFmpeg
silencedetect, VO cleaning, SFX/music generation, and-14 LUFSnormalization commands.
- references/WeinPaperKit.tsx —
Production Workflow
Step 1: Analyze Actual VO Audio First
Never guess timestamps when an audio file is provided. Follow references/audio-sync-guide.md:
- Convert the user's VO to 48 kHz mono WAV (
public/audio/<slug>-vo.wav). - Run
ffmpeg -af silencedetect=noise=-34dB:d=0.18to extract exact speech phrase boundaries. - Verify the spoken transcript against the script (if TTS accidentally read a table number or artifact, splice it out cleanly with a short
acrossfadeand note it). - Set total duration =
VO duration + ~1.0–1.2 sclosing settle, converted viasec(totalSec).
Step 2: Code Every Animation in Seconds (fps60.ts)
- Register the
<Composition>withfps={FPS_60}(60),width={1080},height={1920}. - Inside components, call
const {t, fps} = useTime();fromfps60.ts:- Use
interpolateSec(t, [startSec, endSec], [from, to], Easing.inOut(Easing.quad)). - Use
springAtSec(t, triggerSec, fps, {damping: 14, stiffness: 180}). - Express cyclic motion in radians/sec (
Math.sin(t * 6.0)), never rawframe / N, so motion speed is true-to-life at 60 fps.
- Use
- Pass
brandHandle="@your.handle"(defaults to@wein.storyif uncustomized) toWeinHandleBadgeandClosingQuestionCard(or customizeWeinPaperKit.tsxtokens for the creator's brand). - Keep all CSS transitions/animations out of Remotion markup; drive everything from
useTime()/useCurrentFrame().
Step 3: Layer Separation & Platform Safe Zones
- Keep background, props, directional arrows/waves (distinct colors per physical concept), stickman, screen labels, and
WeinSubtitlein clean separate layers. - Ensure
CoverTitlesits at top-center (top: ~196),WeinSubtitlesits attop: 1475withright: 128margin (leaving room for TikTok/Reels/Shorts right action buttons and bottom 20% UI), and max 2 lines per cue.
Step 4: Visual QA Before Full Render
- Run
npx tsc --noEmit. - Render 4–5 key frames as PNGs (
npx remotion render <CompId> qa/<slug> --frames=60,420,900,1500 --image-format=png --sequence --muted). - Inspect every QA frame with
read_fileto verify: zero clipped labels, zero subtitle overlap, clear contrast, and readable layout on a phone screen.
Step 5: Render Final & Normalize Audio
- Render raw 60 fps master:
npx remotion render <CompId> out/<slug>-raw.mp4 --codec=h264 --crf=18 --audio-codec=aac --audio-bitrate=192k - Normalize audio loudness to social standard (
-14 LUFS,TP=-1.0,+faststart):ffmpeg -y -i out/<slug>-raw.mp4 -c:v copy -af "loudnorm=I=-14:TP=-1.0:LRA=7" -c:a aac -b:a 192k -ar 48000 -movflags +faststart out/<slug>-final.mp4 - Verify stream dimensions (
1080x1920,60/1), duration, andvolumedetect(max_volumearound-0.8to-1.0 dB, no clipping).