Communitygithub.com

Bigper4mer/opus-motion

Opus Motion Library에서 모션 그래픽을 선택, 혼합 및 통합할 수 있는 도구입니다. ~605개의 매개변수화된 Remotion 모션(타이틀, 배경, 날씨, 입자, 캐릭터, 데이터/HUD, UI 목업, 이미지 룩, 3D), 97개의 전환, 148개의 스타일 및 33개의 기성 레시피를 제공합니다. 사용자가 특정 모션을 원하거나, 여러 모션을 하나의 샷이나 비디오로 혼합하거나, 나레이션이 포함된 설명을 원하거나, 웹사이트/웹 앱/네이티브 앱/슬라이드에 애니메이션 배경, 히어로, 통계, 로더, 축하 상태를 추가할 때 사용합니다.

opus-motion란 무엇인가요?

Opus Motion Library는 Remotion 기반의 대규모 모션 그래픽 라이브러리로, AI 에이전트가 사용자의 의도를 파악하여 적절한 모션을 선택, 혼합, 렌더링할 수 있도록 지원합니다. CLI 도구(`mgl`)를 통해 키워드 기반 모션 추천, 레시피 기반 혼합, 단일/멀티 장면 비디오 렌더링, 그리고 이미지 시트 생성을 수행할 수 있습니다. 또한 웹 애플리케이션(React, Next.js, Vite, Svelte 등), 네이티브 앱(MP4, WebM, ProRes), 슬라이드 등 다양한 플랫폼에 모션을 통합할 수 있는 방법을 제공합니다. 핵심은 **직관적인 CLI 명령어와 구조화된 문서(AGENTS.md, CHOOSING.md, INTEGRATION.md)를 통해 AI가 정확하고 빠르게 결정**할 수 있도록 돕는 것입니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Bigper4mer/documentary-film-kit/tree/HEAD/documentary-film/library/skills/opus-motion

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

Opus Motion Library

루트: 이 저장소가 클론된 폴더 또는 현재 호스트 프로젝트 내의 복사본입니다. 먼저 그곳의 AGENTS.md를 읽으십시오 — 의사 결정 절차, 레이어링 규칙, 웹 성능 규칙 및 안티 패턴. 그런 다음 docs/CHOOSING.md (의도 → 모션) 및 docs/INTEGRATION.md (스택별)를 읽으십시오.

1. 선택 (절대 기억에서 추측하지 마십시오)

  • node cli/mgl.mjs suggest "<사용자 말로 된 브리프>" — ★ 레시피와 모션을 순위화하고, 이유를 설명하며, props 스니펫을 출력합니다. --overlay --image --text --loop --light --category <c> --json 필터를 지원합니다.
  • node cli/mgl.mjs recipes — 기성 혼합 (미리보기는 recipes/previews/<id>.jpg): hero-aurora-night, hero-paper-sketch, hero-blueprint-logo, product-launch, stats-reveal, testimonial-chat, testimonial-quote, loading-loop, section-divider, success-celebration, error-glitch, onboarding-steps, event-countdown, music-neon-promo, ocean-explainer, history-timeline, app-store-preview (9:16), social-short-captions (9:16), end-card.
  • node cli/mgl.mjs info <id> — props + roles, overlay/overlayProps, loopable, mood, weight, pairsWith, textProps.
  • 믹스 = 배경 + 대상 + 유형 + 미묘한 악센트; 샷당 하나의 히어로; 지원 레이어는 흐리게 처리; 모든 샘플 텍스트 교체; 브랜드 색상 전달.

2. 비디오 (Remotion)

node cli/mgl.mjs render <id> --props '{"key":"value"}' [--format landscape|square|portrait] [--frames N] --out out/<name>.mp4
node cli/mgl.mjs recipe <id> --overrides '{"<motion-id>":{…}}' [--format …] --out out/<name>.mp4
node cli/mgl.mjs still <id> --at 10,60,120 --out out/<name>-sheet.jpg     # 먼저 미리보기, 시트 읽기
node cli/mgl.mjs compose specs/<name>.json --out out/<name>.mp4             # scenes[] (motion 또는 layers[]), transitions, overlays, audio
node cli/direct.mjs storyboards/<name>.json                                 # 나레이션: 로컬 Qwen3-TTS -> 캡션 -> 렌더 -> 마스터

이미지: public/ 경로 ("demo/owl.jpg") 또는 https URL. 클라우드 음성/음악 서비스를 절대 사용하지 마십시오; 음악/sfx는 public/music, public/sfx에서 사용. 다른 Remotion 프로젝트 내부: node cli/mgl.mjs add <motions|recipes> --to <host>/src (필요한 소스만 복사 + 로컬 레지스트리; npm install 라인 출력).

3. 웹사이트 / 웹 앱

  • 라이브러리에서 npm run build:lib 실행 후, import {MotionBackground, MotionPlayer, MotionMix} from 'opus-motion-library/web' (Vite: resolve.dedupe react/remotion/@remotion/*/three), 또는 mgl add … --player --to <app>/src (Next.js: 'use client' 파일에서 사용).
  • 일반 HTML / WordPress / Vue / Svelte: <script src="opus-motion.element.js"> + <opus-motion recipe="…" background> / <opus-motion motion="…" props='{…}'>.
  • MotionBackground 위의 HTML 단어 (type 레이어 드롭); overlay 모션은 페이지 위에 떠다님; playOnView, 축소 모션 정지 프레임, 지연 마운트, 뷰포트당 최대 2개의 활성 플레이어; 무거운 3D → 모바일에서는 내보낸 비디오 사용.
  • 사용된 라이브러리 public/ 파일 제공 (또는 assetBase / 절대 URL).

4. 네이티브 앱, 슬라이드, 편집기

node cli/mgl.mjs export <motion|recipe> --as mp4|webm|webm-alpha|prores-alpha|gif|png|poster [--format …] [--props …] (알파 내보내기는 overlayProps 적용; ffprobe -c:v libvpx-vp9 … pix_fmt → yuva420p로 확인).

5. 인계 전 확인

렌더 타일링 (ffmpeg -i out/x.mp4 -vf "fps=1,scale=480:-2,tile=6x5" -frames:v 1 out/x-sheet.jpg) 또는 페이지 스크린샷 (node examples/screenshot.mjs <url> <dir> --targets "top,#section" — 1초 간격으로 두 장의 샷, 변경된 % 보고), 읽고, 수정.

라이브러리에 모션 추가

docs/AUTHORING.md를 따르고, src/motions/<family>/<id>.tsx에 배치한 후 node cli/gen-registry.mjs && npx tsc --noEmit && node cli/gen-docs.mjs를 실행; 선택적으로 node cli/probe-meta.mjs --only <id> (루프/오버레이/루마 측정)를 실행하고 docs/motion-meta.json에 재정의를 추가합니다.

관련 스킬