{"id":51777306,"url":"https://github.com/ryanwi/agentic-remotion-pipeline","last_synced_at":"2026-07-20T07:03:28.261Z","repository":{"id":368571347,"uuid":"1285785232","full_name":"ryanwi/agentic-remotion-pipeline","owner":"ryanwi","description":"Agent-drivable Remotion pipeline: structured JSON in, a loudness-normalized MP4 out. A production harness that layers on top of remotion-dev/skills.","archived":false,"fork":false,"pushed_at":"2026-07-01T07:05:32.000Z","size":99,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-07-01T08:17:57.784Z","etag":null,"topics":["agent-skills","claude-code","ffmpeg","programmatic-video","react","remotion","template","typescript","video","video-generation"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ryanwi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-07-01T06:27:18.000Z","updated_at":"2026-07-01T07:05:36.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/ryanwi/agentic-remotion-pipeline","commit_stats":null,"previous_names":["ryanwi/agentic-remotion-pipeline"],"tags_count":null,"template":true,"template_full_name":null,"purl":"pkg:github/ryanwi/agentic-remotion-pipeline","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanwi%2Fagentic-remotion-pipeline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanwi%2Fagentic-remotion-pipeline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanwi%2Fagentic-remotion-pipeline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanwi%2Fagentic-remotion-pipeline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryanwi","download_url":"https://codeload.github.com/ryanwi/agentic-remotion-pipeline/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanwi%2Fagentic-remotion-pipeline/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35676364,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"ssl_error","status_checked_at":"2026-07-20T02:08:09.736Z","response_time":111,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agent-skills","claude-code","ffmpeg","programmatic-video","react","remotion","template","typescript","video","video-generation"],"created_at":"2026-07-20T07:03:27.652Z","updated_at":"2026-07-20T07:03:28.254Z","avatar_url":"https://github.com/ryanwi.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# agentic-remotion-pipeline\n\nAn opinionated, **agent-drivable** [Remotion](https://www.remotion.dev) scaffold: put a\nstructured JSON plan in, get a finished, loudness-normalized MP4 out. No timeline scrubbing, no\nhand-tuned frames — a person (or an LLM) edits one JSON file and runs one command.\n\n```\ninput/plan.json ──▶ build-props ──▶ remotion render ──▶ mix ──▶ final/out.mp4\n   (you edit)        render/props.json   (silent MP4)    (+audio, −14 LUFS)\n```\n\nThis is **not** a Remotion tutorial or a component library — Remotion's official\n[`remotion-dev/skills`](https://github.com/remotion-dev/skills) already teaches an agent how to\nwrite compositions, captions, transitions, audio-viz, and voiceover. This repo is the layer above\nthat: a repeatable **production harness** so an agent can go from data to deliverable unattended.\n\n## Quick start\n\n```bash\nnpm install\nnpm run all      # build props → render → mix → final/out.mp4\nnpm run preview  # or open Remotion Studio to iterate visually\n```\n\n`npm run all` renders the demo plan (a ~15s vertical explainer) with zero external assets.\n\n## The workflow\n\nYou touch exactly **one** file: `input/plan.json`. Everything else is generated.\n\n1. **Author the plan** — a seconds-based list of scenes (`title`, `quote`, `stat`, `image`,\n   `video`, `end`), an optional karaoke `captions` array, and an optional `audio` block. Validated\n   by a Zod schema (`scripts/input-schema.ts`), so bad input fails loudly.\n2. **`npm run build:props`** — compiles the plan into `render/props.json` (frame-based; the\n   composition's only input) and `render/audio-plan.json` (if you specified audio).\n3. **`npm run render`** — renders a **silent** MP4 via the Remotion CLI. Duration and dimensions\n   come from the props, not from hardcoded composition config.\n4. **`npm run mix`** — composites the audio plan under the video, normalizes to −14 LUFS with a\n   two-pass loudnorm, and muxes without re-encoding the picture → `final/out.mp4`.\n\n## Adding audio\n\nAudio is added **after** rendering (mix.ts), never inside the composition. Drop a file in\n`assets/` and add an `audio` block to your plan:\n\n```jsonc\n{\n  \"scenes\": [ /* ... */ ],\n  \"audio\": {\n    \"targetLufs\": -14,\n    \"music\": { \"src\": \"music/bed.mp3\", \"gainDb\": -20 },\n    \"narration\": [\n      { \"src\": \"vo/intro.mp3\", \"timelineStartSec\": 0, \"durationSec\": 6 }\n    ]\n  }\n}\n```\n\n`src` is resolved against `assets/`, then `public/`, then the repo root. Without an `audio` block,\n`mix` passes the silent render straight through so `final/out.mp4` always exists.\n\n## Adding images / video\n\nPut assets under `public/` and reference them by path (`Img`/`OffthreadVideo` resolve via\n`staticFile`). For remote images, download them locally at build time first — never hotlink, or a\nblocking CDN will stall the headless render. See `docs/agent-guide.md`.\n\n## Layout\n\n```\ninput/plan.json            # the one file you edit (or an agent generates)\nremotion/src/\n  Root.tsx                 # single composition; duration/size from props (calculateMetadata)\n  schema.ts                # render-props contract (frame-based, Zod)\n  theme.ts                 # the brand-swap surface (tokens + Google fonts)\n  compositions/VideoFromPlan.tsx   # maps scenes → \u003cSequence\u003es\n  components/              # Callout, ZoomPan (Ken Burns), Captions, Title/End/Quote/Stat/Image, FootageShot\nscripts/\n  input-schema.ts          # human-authored plan contract (seconds-based, Zod)\n  build-props.ts           # plan → render/props.json (+ audio-plan.json)\n  mix.ts                   # audio composite + two-pass loudnorm + mux  ← the reusable crown jewel\n  lib.ts                   # paths, arg parsing, ffprobe helpers\nbin/doctor                 # environment + code-quality preflight\nfinal/out.mp4              # the deliverable (gitignored)\n```\n\n## Requirements\n\nNode ≥ 18 and `ffmpeg`/`ffprobe` on your PATH. Run `npm run doctor` to verify.\n\n## Use as an agent skill\n\nBeyond scaffolding a project, this repo ships a skill (`SKILL.md`) so an agent knows how to *drive*\na pipeline built from it. Install it into Claude Code:\n\n```bash\n# Claude Code plugin marketplace\n/plugin marketplace add ryanwi/agentic-remotion-pipeline\n/plugin install agentic-remotion-pipeline@agentic-remotion\n\n# or via skills.sh\nnpx skills add ryanwi/agentic-remotion-pipeline\n```\n\nThe skill covers producing a video and extending the pipeline; for Remotion authoring itself it\ndefers to the official [`remotion-dev/skills`](https://github.com/remotion-dev/skills).\n\n## Why it's structured this way\n\nSee [`docs/agent-guide.md`](docs/agent-guide.md) for the conventions and the reasoning behind them\n(the props-as-timeline contract, why audio is post-render, the bounded-wait / local-asset rules).\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanwi%2Fagentic-remotion-pipeline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryanwi%2Fagentic-remotion-pipeline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanwi%2Fagentic-remotion-pipeline/lists"}