Best practices for Remotion video creation in React. Use when writing, reviewing, debugging, or rendering Remotion code, including compositions, timelines, sequences, transitions, captions, audio, FFmpeg, media assets, charts, Three.js/R3F scenes, subtitles, voiceovers, and deterministic video exports.
Use this skills whenever you are dealing with Remotion code to obtain the domain-specific knowledge.
When dealing with captions or subtitles, load the ./rules/subtitles.md file for more information.
For some video operations, such as trimming videos or detecting silence, FFmpeg should be used. Load the ./rules/ffmpeg.md file for more information.
When needing to visualize audio (spectrum bars, waveforms, bass-reactive effects), load the ./rules/audio-visualization.md file for more information.
When needing to use sound effects, load the ./rules/sfx.md file for more information.
Read individual rule files for detailed explanations and code examples:
rules/3d.md - 3D content in Remotion using Three.js and React Three Fiberrules/animations.md - Fundamental animation skills for Remotionrules/assets.md - Importing images, videos, audio, and fonts into Remotionrules/audio.md - Using audio and sound in Remotion - importing, trimming, volume, speed, pitchrules/calculate-metadata.md - Dynamically set composition duration, dimensions, and propsrules/can-decode.md - Check if a video can be decoded by the browser using Mediabunnyrules/charts.md - Chart and data visualization patterns for Remotion (bar, pie, line, stock charts)rules/compositions.md - Defining compositions, stills, folders, default props and dynamic metadatarules/extract-frames.md - Extract frames from videos at specific timestamps using Mediabunnyrules/fonts.md - Loading Google Fonts and local fonts in Remotionrules/get-audio-duration.md - Getting the duration of an audio file in seconds with Mediabunnyrules/get-video-dimensions.md - Getting the width and height of a video file with Mediabunnyrules/get-video-duration.md - Getting the duration of a video file in seconds with Mediabunnyrules/gifs.md - Displaying GIFs synchronized with Remotion's timelinerules/images.md - Embedding images in Remotion using the Img componentrules/light-leaks.md - Light leak overlay effects using @remotion/light-leaksrules/lottie.md - Embedding Lottie animations in Remotionrules/measuring-dom-nodes.md - Measuring DOM element dimensions in Remotionrules/measuring-text.md - Measuring text dimensions, fitting text to containers, and checking overflowrules/sequencing.md - Sequencing patterns for Remotion - delay, trim, limit duration of itemsrules/tailwind.md - Using TailwindCSS in Remotionrules/text-animations.md - Typography and text animation patterns for Remotionrules/timing.md - Interpolation curves in Remotion - linear, easing, spring animationsrules/transitions.md - Scene transition patterns for Remotionrules/transparent-videos.md - Rendering out a video with transparencyrules/trimming.md - Trimming patterns for Remotion - cut the beginning or end of animationsrules/videos.md - Embedding videos in Remotion - trimming, volume, speed, looping, pitchrules/parameters.md - Make a video parametrizable by adding a Zod schemarules/maps.md - Add a map using Mapbox and animate itrules/voiceover.md - Adding AI-generated voiceover to Remotion compositions using ElevenLabs TTS