Skip to content

gooseworks-ai/goose-skills / skills/video/render-editorial-motion-podcast

render-editorial-motion-podcast

Verified

Assemble an editorial-motion podcast-clip ad from a config — a real clipped podcast MP3 carries the narrative while N flat limited-palette editorial-illustration keyframes (one look pack) are animated NOT by generative i2v but by DETERMINISTIC ffmpeg ken-burns (zoompan) + hard cuts (no crossfades, which expose geometric drift), each beat snapped to its spoken line, the real audio muxed, Whisper-driven captions burned only mid-sentence, and closed on a PIL brand end card — never AI-rendered text. This is the FREE deterministic assembly stage (ffmpeg ken-burns + hard concat + audio mux + captions + end card); the real audio is clipped from source and the keyframes come from create-image-fal. Use for the editorial-motion-podcast format.

FileKindSize
SKILL.mdskill md6.0 KB
scripts/PIPELINE.mdmarkdown6.6 KB
scripts/README.mdmarkdown4.7 KB
scripts/config.example.jsonconfig14.9 KB
skill.meta.jsonconfig225 B
tests/smoke-test.mdmarkdown1.1 KB

scripts/README.md

View on GitHub
# render-editorial-motion-podcast scripts — the FREE assembly

`render-editorial-motion-podcast` is the **deterministic, free assembly stage** of the
editorial-motion podcast-clip format. The paid stages — the two Whisper calls and
the per-beat Nano Banana keyframes — are upstream (`create-image-fal` + a transcription step);
the real podcast MP3 is clipped from source with free ffmpeg. This capability spends nothing on
the motion layer: it takes the clipped audio + `words.json` + the per-beat keyframes + the real
brand wordmark PNG and stitches the finished master. Re-cuts (new beat windows, added micro-cuts,
re-timed caption ranges, a swapped end card) reuse the existing audio / keyframes and spend nothing.

`config.example.json` is the worked example (the fictional Ironfern "The Trees With No Wind" demo, ~40.8s
1080×1920; its look pack, palette and dome-tree metaphor are that demo's answers to the recipe choices — never defaults). `PIPELINE.md`
maps every config block to its source step. This README documents the FREE assembly pieces that
`render-editorial-motion-podcast` owns.

## 1. ffmpeg ken-burns motion — NOT generative i2v

The motion is **deterministic ffmpeg ken-burns** on static keyframes, never generative i2v.
Seedance/Kling are photoreal-trained and invent naturalistic middle states (a photoreal drawing
hand, flat silhouettes morphing into naturalistic shapes, stray cartoon elements) that collapse the 2-tone discipline.
Two helpers: `render_kb <src> <out> <dur> [zoom_end]` (push-in — scale to 2×, crop,
`zoompan z='min(zoom+step,zoom_end)'`, `trim=duration`, `-t dur`) and `render_kb_out` (pull-back,
`zoom_start` down to 1.0). **Never** `-loop 1` with `zoompan d=N` — d runs per input frame per
loop and balloons the duration; feed a single image and clamp with `-t` + `trim`.

## 2. Hard-concat on the beat — no crossfades

Each beat's segments are hard-concatenated on the beat; long beats split into micro-cuts (target
8–10 distinct visual moments — anything held > 6s reads static even with active zoompan). **No
crossfades** — they ghost two slightly drifted frames through each other. Each beat's visual STARTS within
~0.5s of its spoken line (marked from the Whisper timings upstream), never ahead, never lag.

## 3. Narration mux + mid-sentence captions

The narration MP3 is muxed as the master audio (`-map 0:v:0 -map 1:a:0`) — no generated song.
The narration is a real clipped podcast line (preferred) OR an approved generated VO
(`create-vo-elevenlabs`); clip-vs-generate is the recipe's STEP-0 intake decision (if no source
episode is supplied, ASK the user — don't fabricate or silently skip). The video runs a ~1.5s
silent hold past the audio on the end card (fade the first/last 0.3s so it doesn't hard-black-flash).

Captions are `frosted-subtle` (Whisper word-timestamps on the master) **ON only while the speaker
is mid-sentence** — silent/reflective beats and the end card stay uncaptioned. **Three mandatory
rules, all learned the hard way:**

- **NON-OVERLAP** — clamp every line to END before the next STARTS
  (`end = min(last_word_end + ~0.15, next_start - 0.03)`). Two boxes must never be on screen at
  once; an end-tail bleeding into the next window stacks two boxes at the same spot (the #1
  caption bug). Verify zero remaining window overlaps before burning.
- **SAFE AREA** — captions sit in the lower third, so the keyframe's subject must live in the
  upper ~75% (recipe `look_pack.caption_safe_area`). If a finished keyframe's subject intrudes
  into the caption band, deterministically **shift the subject up** into the empty top space
  (PIL: paste up ~0.24H onto a canvas pre-filled with the exact paper color sampled from a clean
  corner, so the vacated bottom is clean paper) — never let the box sit on the subject.
- **BURN ENGINE** — prefer libass (`ass`/`subtitles`), but **check `ffmpeg -filters` first**:
  many builds (Homebrew) ship without libass/drawtext. If absent, use the deterministic **overlay
  fallback** — render each caption line as a transparent PNG (frosted rounded box + white text,
  PIL) and composite with the ffmpeg `overlay` filter using timed `enable='between(t,st,en)'`
  windows. Identical frosted-subtle look, no libass required.

## 4. PIL end card — from the real wordmark PNG, no AI text

The brand lockup is composited with **PIL** from the brand's REAL wordmark PNG: stretch a 1px
center column → 1080×1920 + `GaussianBlur(80)` for the gradient bg; a feathered radial-alpha
ellipse crop of the brand mascot pasted centered-upper; wordmark + tagline drawn with a system
font. The brand text is **never** AI-rendered — a diffusion model garbles a wordmark
(misspelled letters). Output is a 1080×1920 h264 + aac master. Deterministic, no paid calls, no keys.
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall