remotion-video

1
0
Source

Create programmatic videos using Remotion on MiniPC. Use when making video content, animations, motion graphics, social media clips, or any React-based video production. Covers animations, assets, audio, captions, transitions, and rendering.

Install

mkdir -p .claude/skills/remotion-video && curl -L -o skill.zip "https://mcp.directory/api/skills/download/8733" && unzip -o skill.zip -d .claude/skills/remotion-video && rm skill.zip

Installs to .claude/skills/remotion-video

About this skill

Remotion Video Production (MiniPC)

MiniPC의 Remotion으로 프로그래밍 방식의 영상 제작.

환경

  • 프로젝트: $HOME/remotion-videos (MiniPC)
  • 실행: npx remotion render <CompositionId> out/video.mp4
  • ffmpeg: 설치됨
  • 전송: MiniPC HTTP 서버(9877) + curl로 맥 스튜디오 전송

핵심 개념

Composition = 영상의 단위

<Composition
  id="MyVideo"
  component={MyComponent}
  durationInFrames={150}  // 30fps × 5초 = 150프레임
  fps={30}
  width={1920}
  height={1080}
/>

시간 제어

const frame = useCurrentFrame();         // 현재 프레임
const { fps, durationInFrames } = useVideoConfig();

// 보간 (interpolate)
const opacity = interpolate(frame, [0, 30], [0, 1], {
  extrapolateRight: 'clamp'
});

// 스프링 애니메이션
const scale = spring({ frame, fps, config: { damping: 200 } });

시퀀싱

<Sequence from={0} durationInFrames={60}>
  <IntroScene />
</Sequence>
<Sequence from={60} durationInFrames={90}>
  <MainContent />
</Sequence>

주요 패턴

에셋 사용

  • 이미지: <Img src={staticFile('logo.png')} />
  • 비디오: <OffthreadVideo src={staticFile('clip.mp4')} />
  • 오디오: <Audio src={staticFile('bgm.mp3')} volume={0.5} />
  • 폰트: Google Fonts — loadFont("Noto Sans KR")
  • 로컬 폰트: public/ 폴더에 배치

자막/캡션

  • @remotion/captions 패키지 사용
  • JSON/SRT 자막 파일 로드 → 타임스탬프 동기화

트랜지션

  • @remotion/transitions — slide, fade, wipe 등
  • <TransitionSeries> 컴포넌트로 장면 전환

Tailwind CSS

  • @remotion/tailwind 설정 후 className 사용 가능

3D 콘텐츠

  • @react-three/fiber + @remotion/three
  • Three.js 씬을 Remotion 타임라인에 동기화

렌더링

# 기본 렌더링
cd $HOME/remotion-videos
npx remotion render MyVideo out/video.mp4

# 고품질
npx remotion render MyVideo out/video.mp4 --codec h264 --crf 18

# 투명 배경 (WebM)
npx remotion render MyVideo out/video.webm --codec vp8

# GIF
npx remotion render MyVideo out/animation.gif --every-nth-frame 2

제작 워크플로우

  1. 기획: 장면 구성, 길이, 해상도 결정
  2. 에셋 준비: 이미지, 음악, 폰트 → public/ 폴더
  3. 컴포넌트 코딩: React로 각 장면 제작
  4. 프리뷰: npx remotion studio (MiniPC 브라우저)
  5. 렌더링: headless 렌더링 → MP4/WebM
  6. 전송: HTTP 서버로 맥 스튜디오에 전달

⚠️ 주의사항

  • 서브에이전트 위임 — 영상 렌더링은 시간 소모적
  • 30fps 기본 — 필요 시 60fps로 변경
  • 메모리 주의 — 고해상도 + 긴 영상은 MiniPC RAM 한계 주의
  • GitHub push 불가 (MiniPC) — 맥 스튜디오에서 push

You might also like

flutter-development

aj-geddes

Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.

1,4071,302

drawio-diagrams-enhanced

jgtolentino

Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.

1,2201,024

ui-ux-pro-max

nextlevelbuilder

"UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."

9001,013

godot

bfollington

This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.

958658

nano-banana-pro

garg-aayush

Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.

970608

pdf-to-markdown

aliceisjustplaying

Convert entire PDF documents to clean, structured Markdown for full context loading. Use this skill when the user wants to extract ALL text from a PDF into context (not grep/search), when discussing or analyzing PDF content in full, when the user mentions "load the whole PDF", "bring the PDF into context", "read the entire PDF", or when partial extraction/grepping would miss important context. This is the preferred method for PDF text extraction over page-by-page or grep approaches.

1,033496

Stay ahead of the MCP ecosystem

Get weekly updates on new skills and servers.