remotion-markup
Structure Remotion scenes with markup patterns for layout, typography, and reusable video UI.
Install
npx skills add https://github.com/remotion-dev/skills --skill remotion-markup- metadata
- tags: video, media, trim, volume, speed, loop, pitch
Using videos in Remotion
Prerequisites
First, the @remotion/media package needs to be installed.
If it is not, use the following command:
Use <Video> from @remotion/media to embed videos into your composition.
Remote URLs are also supported:
Trimming
Use trimBefore to skip the beginning of the video and durationInFrames to end it early. Values are in frames.
Delaying
Set from directly on <Video> to delay when it appears:
The video will appear after 1 second.
Sizing and Position
Use the style prop to control size and position:
Volume
Set a static volume (0 to 1):
Use useCurrentFrame() and interpolate() for keyframed volume:
With Studio interactivity enabled, these keyframes can be edited and are shown as a volume curve in the timeline.
Use muted to silence the video entirely:
Speed
Use playbackRate to change the playback speed:
Reverse playback is not supported.
Looping
Use loop to loop the video indefinitely:
Pitch
Use toneFrequency to adjust the pitch without affecting speed. Values range from 0.01 to 2:
Pitch shifting only works during server-side rendering, not in the Remotion Studio preview or in the <Player />.