Brand Overlays

brand-overlays

jperrello Updated

File contents

brand-overlays

.claude/skills/brand-overlays/brand-overlays.sh <input.mp4> <ingest.json> <out.mp4>

One ffmpeg invocation, two overlay filters chained:

  • ../source-credit/render_credit.py renders the "Original video: " banner (title read from ingest.json), composited top-center at y='H*0.04'.
  • ../watermark/render_watermark.py renders the @C0BALT_CUT mark (Platinum #E8ECF1, slashed-zero in Sapphire Glow #2E6BFF), composited bottom-anchored at y='H*0.975-h'.

Pixel-identical placement to running source-credit then watermark sequentially. Audio is stream-copied; video encoded once via _lib/encode.sh (vt_args mid).

Idempotent: skips when <out> is newer than <input> and <out>.bometa matches the title signature.

In the canonical chain it runs AFTER title-transition and BEFORE loudnorm, producing clip_NN.marked.mp4 directly from clip_NN.titled.mp4. If it fails, the orchestrator falls back to the two-pass source-credit → watermark path.

jperrello/C0BALT_CUT/tree/main/.claude/skills/brand-overlays commit 4774b9ac9d

Frequently asked questions

npx skillmds@latest add jperrello/brand-overlays