remotion-render-config
Generates render and output configuration for Remotion videos. Focuses ONLY on output settings, codec, format, quality, resolution. Input is target platform/quality requirements. Output is RENDER_CONFIG.md with Remotion render settings.
What this skill does
# Remotion Render Config Generates render configuration documents that define video output settings, codec parameters, format options, and quality settings for Remotion video renders. This skill focuses exclusively on render/export configuration. ## What This Skill Does Generates render configurations for: 1. **Output format** — MP4, WebM, ProRes, etc. 2. **Codec settings** — H.264, H.265, VP9 parameters 3. **Quality settings** — CRF, bitrate, compression level 4. **Resolution** — Output dimensions and scaling 5. **Platform optimization** — YouTube, Twitter, Instagram presets ## Scope Boundaries **IN SCOPE:** - Render command configuration - Codec and format selection - Quality and compression settings - Platform-specific optimizations - Output file parameters **OUT OF SCOPE:** - Composition implementation (use `/remotion-composition`) - Scene logic (use `/remotion-component-gen`) - Animation parameters (use `/remotion-animation`) - Asset management (use `/remotion-asset-coordinator`) ## Input/Output Formats ### Input Format: Target Platform/Quality Requirements Accepts render target specifications: **Natural Language:** ``` Render for YouTube at high quality with H.264 codec ``` **Structured Format:** ```markdown ## Render Requirements **Target Platform:** YouTube **Quality Level:** High **Format:** MP4 (H.264) **Resolution:** 1920x1080 **Frame Rate:** 30 fps **Additional:** Upload-ready, optimized file size ``` ### Output Format: RENDER_CONFIG.md Generates complete render configuration document: ```markdown # Render Configuration: ProductDemo ## Status ✅ Render settings defined ⏳ Ready for video render ## Render Command ```bash npx remotion render \ src/index.tsx \ ProductDemo \ output.mp4 \ --codec=h264 \ --crf=18 \ --pixel-format=yuv420p \ --audio-codec=aac \ --audio-bitrate=320k ``` ## Configuration Details ### Output Format - **Container:** MP4 - **Video Codec:** H.264 (x264) - **Audio Codec:** AAC - **Pixel Format:** yuv420p (for maximum compatibility) ### Quality Settings - **CRF:** 18 (high quality, ~15-20 MB/min) - **Audio Bitrate:** 320 kbps (high quality) - **Preset:** medium (balanced speed/quality) ### Resolution - **Output:** 1920x1080 (16:9) - **Frame Rate:** 30 fps - **Duration:** 30 seconds (900 frames) ## Platform: YouTube Optimized for YouTube upload: - ✅ H.264 codec (widely supported) - ✅ yuv420p pixel format (required) - ✅ AAC audio (recommended) - ✅ CRF 18 (high quality, good file size) - ✅ Metadata compatible **Estimated File Size:** ~45-60 MB ## Alternative Render Options ### Web Delivery (Smaller File) ```bash npx remotion render \ src/index.tsx \ ProductDemo \ output.mp4 \ --codec=h264 \ --crf=23 \ --audio-bitrate=192k ``` File size: ~25-35 MB ### Maximum Quality (Archive) ```bash npx remotion render \ src/index.tsx \ ProductDemo \ output.mp4 \ --codec=h264 \ --crf=15 \ --audio-bitrate=320k \ --preset=slower ``` File size: ~80-100 MB ### Fast Preview Render ```bash npx remotion render \ src/index.tsx \ ProductDemo \ preview.mp4 \ --crf=28 \ --preset=ultrafast ``` File size: ~15-20 MB ## Render Workflow 1. **Test render** (first 3 seconds): ```bash npx remotion render src/index.tsx ProductDemo test.mp4 --frames=0-90 ``` 2. **Full render** with progress: ```bash npx remotion render src/index.tsx ProductDemo output.mp4 --codec=h264 --crf=18 ``` 3. **Verify output**: - Check file size - Play in video player - Verify audio sync - Check quality 4. **Upload to platform** (YouTube, etc.) ## Next Steps 1. **Run test render** to verify timing and quality 2. **Adjust CRF** if file size too large/small 3. **Full render** when ready 4. **Upload to target platform** ## Troubleshooting **File too large:** - Increase CRF (23-28 for web) - Lower audio bitrate (192k or 128k) **Quality issues:** - Decrease CRF (15-17 for higher quality) - Use slower preset (slow, slower) **Rendering slow:** - Use faster preset (fast, veryfast) - Reduce resolution temporarily for testing ## Checklist - [x] Codec selected - [x] Quality settings defined - [x] Platform optimized - [x] Render command generated - [ ] Test render completed - [ ] Full render completed - [ ] Output verified ``` ## Codec Reference ### H.264 (Most Compatible) Best for: YouTube, web delivery, social media ```bash --codec=h264 --crf=18 # Quality (lower = better, 15-28 typical) --pixel-format=yuv420p --audio-codec=aac --audio-bitrate=320k ``` **Quality Levels:** - CRF 15-17: Excellent (large files) - CRF 18-20: High (recommended) - CRF 21-23: Good (web delivery) - CRF 24-28: Acceptable (preview/draft) ### H.265 (HEVC) - Better Compression Best for: Modern platforms, smaller files, 4K video ```bash --codec=h265 --crf=23 --pixel-format=yuv420p10le ``` **Note:** Not universally supported, but ~50% smaller files at same quality ### VP9 (Open Source) Best for: WebM format, web delivery, Chrome/Firefox ```bash --codec=vp9 --crf=30 --pixel-format=yuv420p ``` ### ProRes (Professional) Best for: Video editing, maximum quality, no compression ```bash --codec=prores --prores-profile=3 # HQ profile ``` **Warning:** Very large files (~1-2 GB/minute) ## Quality vs File Size Reference For 30-second 1080p video at 30fps: | CRF | Quality | File Size | Use Case | |-----|---------|-----------|----------| | 15 | Excellent | 80-100 MB | Archive, editing | | 18 | High | 45-60 MB | YouTube, high quality | | 21 | Good | 30-40 MB | Web, social media | | 23 | Acceptable | 20-30 MB | Web delivery | | 28 | Preview | 10-15 MB | Draft, testing | ## Platform-Specific Presets ### YouTube ```bash npx remotion render src/index.tsx VideoName output.mp4 \ --codec=h264 \ --crf=18 \ --pixel-format=yuv420p \ --audio-codec=aac \ --audio-bitrate=320k ``` **Specifications:** - Resolution: 1920x1080 or higher - Frame rate: 24, 25, 30, 48, 50, or 60 fps - Codec: H.264 or H.265 - Audio: AAC-LC, 320 kbps ### Twitter/X ```bash npx remotion render src/index.tsx VideoName output.mp4 \ --codec=h264 \ --crf=20 \ --audio-bitrate=192k ``` **Specifications:** - Max duration: 2:20 (140 seconds) - Max file size: 512 MB - Resolution: Up to 1920x1200 or 1200x1920 ### Instagram Feed ```bash npx remotion render src/index.tsx VideoName output.mp4 \ --codec=h264 \ --crf=20 \ --audio-bitrate=192k ``` **Specifications:** - Max duration: 60 seconds - Resolution: 1080x1080 (1:1) or 1080x1350 (4:5) - Frame rate: 30 fps - Codec: H.264 ### Instagram Reels/Stories ```bash npx remotion render src/index.tsx VideoName output.mp4 \ --codec=h264 \ --crf=20 \ --audio-bitrate=192k ``` **Specifications:** - Resolution: 1080x1920 (9:16) - Max duration: 90 seconds (Reels), 15 seconds (Stories) - Frame rate: 30 fps ### TikTok ```bash npx remotion render src/index.tsx VideoName output.mp4 \ --codec=h264 \ --crf=20 \ --audio-bitrate=192k ``` **Specifications:** - Resolution: 1080x1920 (9:16) - Max duration: 10 minutes - Max file size: 287.6 MB - Frame rate: 30 or 60 fps ### LinkedIn ```bash npx remotion render src/index.tsx VideoName output.mp4 \ --codec=h264 \ --crf=20 \ --audio-bitrate=192k ``` **Specifications:** - Max file size: 5 GB - Resolution: 256x144 to 4096x2304 - Frame rate: 10-60 fps ## Advanced Render Options ### Concurrency (Faster Renders) ```bash --concurrency=8 # Use 8 CPU cores ``` ### Image Sequence (for Post-Processing) ```bash --sequence --image-format=png ``` Outputs PNG sequence for After Effects, Premiere, etc. ### Specific Frame Range ```bash --frames=30-90 # Render frames 30-90 only ``` ### Scale Output ```bash --scale=0.5 # Render at 50% resolution (960x540) ``` Useful for quick previews. ### Overwrite Existing File ```bash --overwrite ``` ### Custom Output Name ```bash npx remotion render src/index.tsx VideoName "output/final-video.mp4" ``` ## Environment Variables ```bash # Number of CPU cores to use export REM
Related in Image & Video
watch
IncludedWatch a video (URL or local path). Downloads with yt-dlp, extracts auto-scaled frames with ffmpeg, pulls the transcript from captions (or Whisper API fallback), and hands the result to Claude so it can answer questions about what's in the video.
physical-ai-defect-image-generation
IncludedUse when the user wants to orchestrate defect image generation, run associated setup, or handle outputs on OSMO. The Day 0 path handles cold-start with USD-to-ROI, image-edit augmentation, and AnomalyGen to create initial PCBA datasets. The Day 1 path performs inference and labeling on real images. This skill helps with first-time asset setup, creation of finetuning checkpoints, and configuring deployment. Trigger keywords: defect image generation, dig workflow, dig pipeline, defect image detection workflow, aoi pipeline, aoi anomalygen, usd2roi anomalygen, day 0 pcba, day 1 pcba, day 1 real-photo alignment, day 1 manual roi, metal surface anomaly, glass defect, anomalygen finetune, setup_pcb, setup_metal, setup_glass, setup_pretrained, dig setup, dig datasets, dig pretrained checkpoint, dig image-edit endpoint.
accelint-react-best-practices
IncludedReact performance optimization and best practices. ALWAYS use this skill when working with any React code - writing components, hooks, JSX; refactoring; optimizing re-renders, memoization, state management; reviewing for performance; fixing hydration mismatches; debugging infinite re-renders, stale closures, input focus loss, animations restarting; preventing remounting; implementing transitions, lazy initialization, effect dependencies. Even simple React tasks benefit from these patterns. Covers React 19+ (useEffectEvent, Activity, ref props). Triggers - useEffect, useState, useMemo, useCallback, memo, inline components, nested components, components inside components, re-render, performance, hydration, SSR, Next.js, useDeferredValue, combined hooks.
elevenlabs-agents
IncludedBuild conversational AI voice agents with ElevenLabs Platform using React, JavaScript, React Native, or Swift SDKs. Configure agents, tools (client/server/MCP), RAG knowledge bases, multi-voice, and Scribe real-time STT. Use when: building voice chat interfaces, implementing AI phone agents with Twilio, configuring agent workflows or tools, adding RAG knowledge bases, testing with CLI "agents as code", or troubleshooting deprecated @11labs packages, Android audio cutoff, CSP violations, dynamic variables, or WebRTC config. Keywords: ElevenLabs Agents, ElevenLabs voice agents, AI voice agents, conversational AI, @elevenlabs/react, @elevenlabs/client, @elevenlabs/react-native, @elevenlabs/elevenlabs-js, @elevenlabs/agents-cli, elevenlabs SDK, voice AI, TTS, text-to-speech, ASR, speech recognition, turn-taking model, WebRTC voice, WebSocket voice, ElevenLabs conversation, agent system prompt, agent tools, agent knowledge base, RAG voice agents, multi-voice agents, pronunciation dictionary, voice speed control, elevenlabs scribe, @11labs deprecated, Android audio cutoff, CSP violation elevenlabs, dynamic variables elevenlabs, case-sensitive tool names, webhook authentication
humanizer
IncludedHumanize AI-generated text by detecting and removing patterns typical of LLM output. Rewrites text to sound natural, specific, and human. Uses 28 pattern detectors, 560+ AI vocabulary terms across 3 tiers, and statistical analysis (burstiness, type-token ratio, readability) for comprehensive detection. Use when asked to humanize text, de-AI writing, make content sound more natural/human, review writing for AI patterns, score text for AI detection, or improve AI-generated drafts. Covers content, language, style, communication, and filler categories.
generating-mermaid-diagrams
IncludedSalesforce architecture diagrams using Mermaid with ASCII fallback. Use this skill when generating text-based diagrams for Salesforce architecture, OAuth flows, ERDs, integration sequences, or Agentforce structure. TRIGGER when: user says "diagram", "visualize", "ERD", or asks for sequence diagrams, flowcharts, class diagrams, or architecture visualizations in Mermaid. DO NOT TRIGGER when: user wants PNG/SVG image output (use generating-visual-diagrams), or asks about non-Salesforce systems.