Skip to content
music-video-producer logo

Music Video Producer - Remotion Assembly

music-video-producer

Assemble music videos using Remotion (React-based video framework). Takes scene plans, video assets, lyrics, and audio to create final MP4 videos with synchronized lyrics and visual effects. Use when building music videos for PsalMix or any video composition task requiring programmatic video edit...

mmcmedia/openclaw-agents0installs2stars

SKILL.md

Full skill instructions

Music Video Producer - Remotion Assembly

Build music videos programmatically using Remotion, syncing video clips, lyrics, and audio into polished final renders.

Prerequisites

Install Remotion:

npm install remotion @remotion/​cli

Or create new Remotion project:

npx create-video@latest

Required inputs:

  1. Scene plan JSON (from creative-director)
  2. Video assets (from video-asset-manager)
  3. Audio file (MP3/​WAV)
  4. Lyrics file (.srt or plain text)

Workflow

1. Set Up Remotion Project

Project structure:

music-video-project/
├── src/
│   ├── Root.tsx          # Main composition registration
│   ├── MusicVideo.tsx    # Main video component
│   ├── Scene.tsx         # Individual scene component
│   └── LyricOverlay.tsx  # Lyric display component
├── public/
│   ├── audio/
│   │   └── song.mp3
│   ├── assets/
│   │   ├── scene-01-sunrise.mp4
│   │   └── ...
│   └── lyrics.srt
├── package.json
└── remotion.config.ts

2. Build Remotion Composition

Root.tsx - Register composition:

import { Composition } from 'remotion';
import { MusicVideo } from './​MusicVideo';

export const RemotionRoot: React.FC = () => {
  return (
    <Composition
      id="MusicVideo"
      component={MusicVideo}
      durationInFrames={6300} // 3:30 at 30fps
      fps={30}
      width={1920}
      height={1080}
    />
  );
};

MusicVideo.tsx - Main video logic:

import { Audio, Sequence, useCurrentFrame } from 'remotion';
import { Scene } from './​Scene';
import { LyricOverlay } from './​LyricOverlay';
import sceneplan from '../​scene-plan.json';

export const MusicVideo: React.FC = () => {
  const frame = useCurrentFrame();
  
  return (
    <>
      <Audio src="/​audio/​song.mp3" />
      
      {sceneplan.scenes.map((scene, i) => (
        <Sequence
          key={i}
          from={scene.startFrame}
          durationInFrames={scene.durationFrames}
        >
          <Scene
            videoSrc={scene.videoAsset}
            transition={scene.transition}
          />
          <LyricOverlay
            text={scene.lyrics}
            style={scene.lyricDisplay}
          />
        </​Sequence>
      ))}
    </>
  );
};

Scene.tsx - Video clip display:

import { Video, interpolate } from 'remotion';

export const Scene: React.FC<{ videoSrc: string; transition: string }> = ({
  videoSrc,
  transition
}) => {
  const frame = useCurrentFrame();
  
  const opacity = interpolate(
    frame,
    [0, 30, 60, 90],
    [0, 1, 1, 0], // fade in/​out
    { extrapolateRight: 'clamp' }
  );
  
  return (
    <Video
      src={videoSrc}
      style={{ opacity }}
      muted
    />
  );
};

LyricOverlay.tsx - Lyric display:

import { AbsoluteFill } from 'remotion';

export const LyricOverlay: React.FC<{ text: string; style: string }> = ({
  text,
  style
}) => {
  return (
    <AbsoluteFill style={{
      justifyContent: style === 'bottom' ? 'flex-end' : 'center',
      alignItems: 'center',
      padding: 40
    }}>
      <div style={{
        fontSize: 48,
        fontWeight: 'bold',
        color: 'white',
        textShadow: '2px 2px 4px rgba(0,0,0,0.8)',
        textAlign: 'center'
      }}>
        {text}
      </​div>
    </​AbsoluteFill>
  );
};

3. Convert Scene Plan to Remotion Format

Helper script: scripts/​convert_scene_plan.js

Converts creative-director JSON to Remotion-ready format with frame numbers:

node scripts/​convert_scene_plan.js \
  --input scene-plan.json \
  --output src/​scene-plan-frames.json \
  --fps 30

Adds startFrame and durationInFrames to each scene based on timestamps.

4. Render Video

Preview in browser:

npm start

Render final MP4:

npx remotion render MusicVideo output.mp4 --codec h264

Render with quality settings:

npx remotion render MusicVideo output.mp4 \
  --codec h264 \
  --crf 18 \
  --audio-bitrate 320k

Render for social media (square):

npx remotion render MusicVideo output-square.mp4 \
  --width 1080 \
  --height 1080 \
  --codec h264

5. Advanced Features

Audio visualization:

import { useAudioData, visualizeAudio } from '@remotion/​media-utils';

const audioData = useAudioData('/​audio/​song.mp3');
const visualization = visualizeAudio({
  fps: 30,
  frame,
  audioData,
  numberOfSamples: 16
});

// Render bars based on visualization array

Captions from .srt:

import { parseSrt } from '@remotion/​captions';

const captions = parseSrt(srtContent);
const currentCaption = captions.find(
  (c) => frame >= c.startFrame && frame < c.endFrame
);

Dynamic text animations:

import { spring } from 'remotion';

const scale = spring({
  frame,
  fps: 30,
  config: { damping: 100 }
});

Scripts

scripts/​convert_scene_plan.js

Convert scene plan timestamps to frame numbers - see file for implementation.

scripts/​render_all_formats.sh

Batch render multiple formats (YouTube, Instagram, TikTok) - see file for implementation.

Reference Files

  • references/​remotion-examples.md - Code examples for common patterns
  • references/​transition-effects.md - Crossfade, wipe, zoom transitions
  • references/​lyric-styles.md - Typography and animation patterns

Quality Checklist

Before final render:

  • Audio syncs perfectly with video
  • Lyrics display at correct times
  • Scene transitions are smooth
  • No visual glitches or artifacts
  • Brand elements (logos) visible throughout
  • Resolution is correct (1080p minimum)
  • Audio quality is high (320kbps+)
  • Preview full video before final render

Deliverables

  1. Final MP4 video(s) - Full render in desired format(s)
  2. Remotion project files - Source code for future edits
  3. Render settings documentation - Codec, bitrate, resolution used

Troubleshooting

Video stutters or drops frames:

  • Reduce preview quality (lower fps/​resolution)
  • Use --concurrency 1 flag for rendering
  • Pre-process heavy video files

Audio out of sync:

  • Ensure all timestamps in scene plan are accurate
  • Check fps matches between plan and composition
  • Use --enforce-audio-track flag

Render takes too long:

  • Use --concurrency flag to parallelize
  • Consider cloud rendering (Remotion Lambda)
  • Optimize video clip file sizes

PsalMix Branding

For PsalMix videos, include:

  • Logo watermark (lower right, 10% opacity)
  • End card with "Stream clean music at psalmix.com"
  • PsalMix brand colors in lyric styling
  • Clean, family-friendly aesthetic throughout

More skills from mmcmedia

user-testing logo
mmcmedia/openclaw-agents

user-testing

Perform comprehensive QA testing of web applications through browser automation. Navigate user flows, document bugs, check responsive design, capture screenshots, and report console errors. Use when testing websites, web apps (like PsalMix), or validating UI/UX before launch or after updates.

2 0
View
Tempest Mockups Skill logo
mmcmedia/openclaw-agents

Tempest Mockups Skill

Generate Etsy product mockups automatically using the Tempest Photoshop script.

2 0
View
Analytics & Insights Expert logo
mmcmedia/openclaw-agents

Analytics & Insights Expert

Comprehensive data analysis specialist covering basic metrics through advanced predictive analytics and marketing ROI. Your go-to expert for all data-driven decision making.

2 0
View
Competitive Intelligence logo
mmcmedia/openclaw-agents

Competitive Intelligence

Competitor research and market analysis specialist who tracks what your competitors are doing and identifies opportunities they're missing.

2 0
View
Test-Driven Skill Creation logo
mmcmedia/openclaw-agents

Test-Driven Skill Creation

Create and validate skills by measuring the gap between model output WITH and WITHOUT the skill.

2 0
View
react-best-practices logo
mmcmedia/openclaw-agents

react-best-practices

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimizati...

2 0
View
playwright-cli logo
mmcmedia/openclaw-agents

playwright-cli

Browser automation via Playwright CLI. Open pages, interact with elements, take screenshots, and more. Ideal for coding agents and automated testing workflows.

2 0
View
ux-audit logo
mmcmedia/openclaw-agents

ux-audit

AI skill for automated design audits. Evaluate interfaces against proven UX principles for visual hierarchy, accessibility, cognitive load, navigation, and more. Based on Making UX Decisions by Tommy Geoco.

2 0
View
Etsy Image Prompts Skill logo
mmcmedia/openclaw-agents

Etsy Image Prompts Skill

Generate high-quality, print-ready digital art for Etsy listings using AI image generators. This skill provides prompt formulas, templates, and best practices for creating sellable wall art, printables, and digital products.

2 0
View
frontend-design logo
mmcmedia/openclaw-agents

frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.

2 0
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View