🎥 Make videos programmatically with React
import {alias} from 'lib/alias';
import React, {useCallback, useMemo} from 'react';
import {
CalculateMetadataFunction,
Composition,
Folder,
Still,
getInputProps,
staticFile,
} from 'remotion';
import {z} from 'zod';
import {TwentyTwoKHzAudio} from './22KhzAudio';
import {
ACTIVITY_STRESS_TEST_DURATION,
ActivityStressTest,
} from './ActivityStressTest';
import {UseanimatedEmojis} from './AnimatedEmojis';
import {BarChart} from './BarChart';
import BetaText, {betaTextSchema} from './BetaText';
import {NativeBufferStateForImage} from './BufferState/Image';
import {NativeBufferState} from './BufferState/Simple';
import {NativeBufferStateForVideo} from './BufferState/Video';
import {CancelRender} from './CancelRender';
import {CaptionLeftEdgeTrimRepro} from './CaptionLeftEdgeTrimRepro';
import {
CAPTIONS_DURATION_IN_FRAMES,
CAPTIONS_HEIGHT,
} from './CaptionsTester/AnimatedCaptions';
import {AnimatedCaptionsComposition} from './CaptionsTester/AnimatedCaptionsComposition';
import {ClassSerialization} from './ClassSerialization';
import {ColorInterpolation} from './ColorInterpolation';
import {
COMMITTED_HOLDS_DURATION,
COMMITTED_HOLDS_HEIGHT,
COMMITTED_HOLDS_WIDTH,
CommittedRenderHolds,
} from './CommittedRenderHolds';
import {ComplexSounds} from './ComplexSounds';
import {MyCtx, WrappedInContext} from './Context';
import {ControlsShowcase} from './ControlsShowcase';
import CorruptVideo from './CorruptVideo';
import {CssLoaderTest} from './CssLoaderTest';
import {DarkModeTest} from './DarkModeTest';
import {
DIFFERENT_SEGMENTS_AT_DIFFERENT_SPEEDS_DURATION,
DifferentSegmentsAtDifferentSpeeds,
} from './DifferentSegmentsAtDifferentSpeeds';
import {
DiscriminatedUnionSchemaTest,
discriminatedUnionRootSchema,
} from './DiscriminatedUnionSchemaTest';
import {DragAndDropExample} from './DragAndDrop';
import {DynamicDuration, dynamicDurationSchema} from './DynamicDuration';
import {EasingVisualizer} from './EasingVisualizer/EasingVisualizer';
import {EffectCopySource, EffectCopyTarget} from './EffectCopyTestbed';
import {EmojiTestbed} from './Emoji';
import {ErrorOnFrame10} from './ErrorOnFrame10';
import {UnsymbolicatedErrorOverlayRepro} from './ErrorOverlayE2e/ErrorOverlayRepro';
import {Expert} from './Expert';
import {FontDemo} from './Fonts';
import {FractionalSequenceVideo} from './FractionalSequenceVideo';
import {Framer} from './Framer';
import {FreezeExample} from './Freeze/FreezeExample';
import {SequenceFreezeExample} from './Freeze/SequenceFreezeExample';
import {FreezePortion} from './FreezePortion/FreezePortion';
import {GifEffectsTestbed} from './Gif/GifEffects';
import {GoogleFontsCjk} from './GoogleFontsCjk/GoogleFontsCjk';
import {Green} from './Green';
import {HlsDemo} from './Hls/HlsDemo';
import {
HlsMediaVideo,
HlsMediaVideoMuted,
HlsMediaVideoTrimmed,
} from './Hls/HlsMediaVideo';
import {
HOUR_LONG_TIMELINE_DURATION_IN_FRAMES,
HOUR_LONG_TIMELINE_FPS,
HourLongTimelineTestbed,
} from './HourLongTimelineTestbed';
import {
BlurSlideTransitionDoc,
BlurSlideTransitionDocThumb,
BookFlipTransitionDoc,
BookFlipTransitionDocThumb,
CrossZoomTransitionDoc,
CrossZoomTransitionDocThumb,
CrosswarpTransitionDoc,
CrosswarpTransitionDocThumb,
DissolveTransitionDoc,
DissolveTransitionDocThumb,
FilmBurnTransitionDoc,
FilmBurnTransitionDocThumb,
HtmlInCanvasComplexText,
HtmlInCanvasComposeAsyncBitmap,
HtmlInCanvasComposeWebGL,
HtmlInCanvasComposeWebGLCrt,
HtmlInCanvasComposeWebGPU,
HtmlInCanvasDemo,
HtmlInCanvasDocsDemo2DBlur,
HtmlInCanvasDocsMinimalWebGL,
HtmlInCanvasDocsMinimalWebGPU,
HtmlInCanvasMotionBlurExample,
HtmlInCanvasNested,
HtmlInCanvasPixelDensity,
HtmlInCanvasPrivacy,
HtmlInCanvasReactSvg,
LinearBlurTransitionDoc,
LinearBlurTransitionDocThumb,
RippleTransitionDoc,
RippleTransitionDocThumb,
SwapTransitionDoc,
SwapTransitionDocThumb,
ZoomBlurTransitionDoc,
ZoomBlurTransitionDocThumb,
ZoomInOutTransitionDoc,
ZoomInOutTransitionDocThumb,
} from './HtmlInCanvas';
import {HtmlInCanvasFallbackExample} from './HtmlInCanvas/fallback';
import {HugeImage} from './HugeImage';
import {HugePayload, hugePayloadSchema} from './HugePayload';
import {IntrinsicDurationLoopTestbed} from './IntrinsicDurationLoopTestbed';
import {KeyframeTrimTestbed} from './KeyframeTrimTestbed';
import {Layers} from './Layers';
import {LongAudio} from './LongAudio';
import {ManyAudio} from './ManyAudio';
import {HandleAudioRenderError} from './MediaErrorHandling/HandleAudioRenderError';
import {InfiniteAudio} from './MediaErrorHandling/InfiniteAudio';
import {MissingImg} from './MissingImg';
import {ClosingScene} from './MultiSceneSample/ClosingScene';
import {FeatureScene} from './MultiSceneSample/FeatureScene';
import {MultiSceneVideo} from './MultiSceneSample/MultiSceneVideo';
import {OpeningScene} from './MultiSceneSample/OpeningScene';
import {OffthreadRemoteVideo} from './OffthreadRemoteVideo/OffthreadRemoteVideo';
import {OffthreadVideoToCanvas} from './OffthreadVideoToCanvas';
import {OrbScene} from './Orb';
import {ShapesMorph} from './Paths/ShapesMorph';
import {SlicePath} from './Paths/SlicePath';
import {PortfolioCompositions} from './Portfolio/Root';
import {PosterizationComparison} from './Posterization';
import {
PostmountExample,
PostmountWithStyles,
} from './Postmount/PostmountExample';
import {PremountedExample} from './Premount';
import {PremountedRemoteVideos} from './Premount/RemoteVideos';
import ReactSvg from './ReactSvg';
import InfinityVideo from './ReallyLongVideo';
import RemoteVideo from './RemoteVideo';
import {RetryDelayRender} from './RetryDelayRender';
import {RiveEffectsTestbed} from './Rive/RiveEffects';
import RiveVehicle from './Rive/RiveExample';
import {ScalePath} from './ScalePath';
import {SchemaTest, schemaTestSchema} from './SchemaTest';
import {Scripts} from './Scripts';
import {WidthHeightSequences} from './Sequence/WidthHeightSequences';
import {SequenceCropTest} from './SequenceCropTest';
import CircleTest from './Shapes/CircleTest';
import EllipseTest from './Shapes/EllipseTest';
import RectTest from './Shapes/RectTest';
import ShapeEffectsTest from './Shapes/ShapeEffectsTest';
import StarTest from './Shapes/StarTest';
import TriangleTest from './Shapes/TriangleTest';
import {SimpleImg} from './SimpleImg';
import {SkipZeroFrame} from './SkipZeroFrame';
import {
BaseSpring,
RestThresholdSpringSquare,
SpringWithDuration,
} from './Spring/base-spring';
import {SeriesTesting} from './StaggerTesting';
import {StaticDemo} from './StaticServer';
import {StillHelloWorld} from './StillHelloWorld';
import {StillZoom} from './StillZoom';
import {DeleteStaticFile} from './StudioApis/DeleteStaticFile';
import {ClickUpdate} from './StudioApis/RestartStudio';
import {
SaveDefaultProps,
saveStudioSchema,
} from './StudioApis/SaveDefaultProps';
import {TriggerCalculateMetadata} from './StudioApis/TriggerCalculateMetadata';
import {WriteStaticFile} from './StudioApis/WriteStaticFile';
import {SubtitleArtifact} from './SubtitleArtifact/SubtitleArtifact';
import {SvgFilter} from './SvgFilter';
import './style.css';
import {Tailwind} from './Tailwind';
import {TenFrameTester} from './TenFrameTester';
import {TextStroke} from './TextStroke';
import ThreeBasic from './ThreeBasic';
import {ThreeHtml} from './ThreeHtml/ThreeHtml';
import {VideoTextureDemo} from './ThreeScene/Scene';
import {ThreeWebGPU} from './ThreeWebGPU';
import {Timeout} from './Timeout';
import {FitText, fitTextSchema} from './Title/FitText';
import {TrackAudioIntrinsicDurationRepro} from './TrackAudioIntrinsicDurationRepro';
import {AudioTransition} from './Transitions/AudioTransition';
import {
BasicTransition,
BasicTransitionSceneB,
} from './Transitions/BasicTransition';
import {CustomTransition} from './Transitions/CustomTransition';
import {
PUSH_CUT_DEMO_DURATION_IN_FRAMES,
PushCutDemo,
} from './Transitions/PushCutDemo';
import {VariableGoogleFont} from './VariableGoogleFont/VariableGoogleFont';
import {VideoOnCanvas} from './VideoOnCanvas';
import {Greenscreen} from './VideoOnCanvas/greenscreen';
import {VideoSpeed} from './VideoSpeed';
import {
VideoTesting,
VideoTestingFrameAccuracy,
VideoTestingMediaFrameAccuracy,
} from './VideoTesting';
import {VisualMode3D} from './VisualMode3D';
import {WarpDemoOuter} from './WarpText';
import {WarpDemo2} from './WarpText/demo2';
import {WatchStaticDemo} from './watch-static';
import {WhatsNewRoot} from './WhatsNew/Root';
import {ZodV4SchemaTest, zodV4Schema} from './ZodV4SchemaTest';
// @ts-expect-error no types
import styles from './styles.module.scss';
if (alias !== 'alias') {
throw new Error('should support TS aliases');
}
const INCLUDE_COMP_BREAKING_GET_COMPOSITIONS = false;
import {zMatrix} from '@remotion/zod-types';
import {ThreeDContext} from './3DContext';
import {ThreeDSvgContent} from './3DSvgContent';
import {AnimatedImages} from './AnimatedImage/Avif';
import {AnimatedImageEffects} from './AnimatedImage/Effects';
import {AudioSmoothnessBufferInterruptionComp} from './AudioSmoothness/BufferInterruption';
import {AudioSmoothnessLoopedAudioComp} from './AudioSmoothness/LoopedAudio';
import {AudioSmoothnessNewVideoComp} from './AudioSmoothness/NewVideo';
import {AudioSmoothnessShortAudioLoopComp} from './AudioSmoothness/ShortAudioLoop';
import {AudioSmoothnessSlicedVideoComp} from './AudioSmoothness/SlicedVideo';
import {AudioSmoothnessTrimAfterLoopComp} from './AudioSmoothness/TrimAfterLoop';
import {AudioSmoothnessTrimButtonComp} from './AudioSmoothness/TrimButton';
import Amplify from './AudioTesting/Amplify';
import {
InlineAudioStress,
inlineAudioStressDefaultProps,
} from './AudioTesting/InlineAudioStress';
import {Issue7568} from './AudioTesting/Issue7568';
import {
Issue10468,
Issue5758,
issue10468DefaultProps,
issue5758DefaultProps,
} from './AudioTesting/Issue10468';
import {VolumeHoldCurveComposition} from './AudioTesting/VolumeHoldCurve';
import {BrowserTest} from './BrowserTest';
import {
CanvasCapturePreview,
calculateCanvasCapturePreviewMetadata,
canvasCapturePreviewDefaultProps,
} from './CanvasCapturePreview';
import {EdgeBlur} from './EdgeBlur/EdgeBlur';
import {CustomEffectsSample} from './EffectsTestbed/CustomEffectsSample';
import {EffectsTestbed} from './EffectsTestbed/EffectsTestbed';
import {HalftoneGradient} from './EffectsTestbed/HalftoneGradient';
import {NoiseDisplacementText} from './EffectsTestbed/NoiseDisplacementText';
import {PaletteMapEffect} from './EffectsTestbed/PaletteMapEffect';
import {RadialProgressiveBlurTest} from './EffectsTestbed/RadialProgressiveBlur';
import {TearTest} from './EffectsTestbed/Tear';
import {VideoEffectsFastRefresh} from './EffectsTestbed/VideoEffectsFastRefresh';
import {Empty} from './Empty';
import {getMediaMetadata} from './get-media-metadata';
import {
Issue8974IndependentVideosTimeline,
Issue8974SeriesTimeline,
Issue8974TransitionSeriesTimeline,
} from './Issue8974TimelineInteractivity';
import {JumpCuts, SAMPLE_SECTIONS, calculateMetadataJumpCuts} from './JumpCuts';
import {LayoutNoneOutlines} from './LayoutNoneOutlines';
import {LightLeakExample} from './LightLeak';
import {LightLeakAnimatedSize} from './LightLeak/AnimatedSize';
import {LoopDisplayTestComp} from './LoopDisplayTest';
import {MacCursorsExample} from './MacCursors';
import {MediaTimelineTestbed} from './MediaTimelineTestbed';
import {NewAudioExample} from './NewAudio/NewAudio';
import {NewVideoComp, PremountSequenceVideoComp} from './NewVideo';
import {SimultaneousPlaybackComp} from './NewVideo/SimultaneousPlayback';
import {ObjectFitTestComp} from './ObjectFitTest';
import {ChangingTrimBeforeValue} from './OffthreadRemoteVideo/ChangingTrimBefore';
import {Issue7562OffthreadVideoCuts} from './OffthreadRemoteVideo/Issue7562OffthreadVideoCuts';
import {LoopedNewVideo} from './OffthreadRemoteVideo/LoopedNewVideo';
import {LoopedOffthreadRemoteVideo} from './OffthreadRemoteVideo/LoopedOffthreadRemoteVideo';
import {MultiChannelAudio} from './OffthreadRemoteVideo/MultiChannelAudio';
import {OffthreadRemoteSeries} from './OffthreadRemoteVideo/OffthreadRemoteSeries';
import {ParseAndDownloadMedia} from './ParseAndDownloadMedia';
import {
PLAY_RANGES_MEDIA_DEFAULT,
PLAY_RANGES_MEDIA_VIDEO_URL_DEFAULT,
PLAY_RANGES_MEDIA_ZIP_DEFAULT,
PlayRangesMediaVideo,
calculateMetadataPlayRangesMedia,
} from './PlayRangesMediaVideo';
import {PremountOnTransitionSeries} from './PremountOnTransitionSeries';
import {PrintProps} from './PrintProps';
import {
ProResMediaVideo,
calculateProResMediaVideoMetadata,
} from './ProResMediaVideo';
import {
RoughNotationBox,
RoughNotationBracket,
RoughNotationCircle,
RoughNotationCrossedOff,
RoughNotationHighlight,
RoughNotationStrikeThrough,
RoughNotationUnderline,
} from './RoughNotation';
import {SequencePlaybackRateKeyframes} from './SequencePlaybackRateKeyframes';
import {SequencePlaybackRateLoops} from './SequencePlaybackRateLoops';
import {SequencePlaybackRateTestbed} from './SequencePlaybackRateTestbed';
import {SfxExample} from './Sfx';
import {CanvasImg} from './SimpleImg/CanvasImg';
import {ImgEffects} from './SimpleImg/ImgEffects';
import {SmoothTextTransition} from './SmoothTextTransition';
import {SourceSubscriptionChurn} from './SourceSubscriptionChurn';
import {SpringSeason} from './SpringSeason';
import {StarburstExample} from './Starburst';
import {Seek} from './StudioApis/Seek';
import {SubframeAudio} from './SubframeAudio';
import {TikTokTextBoxPlayground} from './TikTokTextbox/TikTokTextBox';
import {TimelineNegativeFromResize} from './TimelineNegativeFromResize';
import {FitTextOnNLines, fitTextOnNLinesSchema} from './Title/FitTextOnNLines';
import {Issue7359FitTextOnNLines} from './Title/Issue7359FitTextOnNLines';
import {TrackPrototype} from './TrackPrototype';
import {TrackSequenceProps} from './TrackSequenceProps';
import {TransitionRounding} from './TransitionRounding';
import {WebGlTransition} from './Transitions/WebGlTransition';
import {
OverlayAndTransitionMixed,
OverlayBasic,
OverlayMultipleScenes,
OverlayWithOffset,
} from './TransitionSeriesOverlay';
import {TriangleComp} from './Triangle';
import {NewVideoBufferStateComp} from './VideoInterruptedByForeignBuffer';
import {VideoTestingPlayback} from './VideoTesting/playback';
import {VideoTestingTrim} from './VideoTesting/trim';
import {RemotionMediaVideoTexture} from './VideoTexture';
import {VisualControls} from './VisualControls';
import {AffineFrameClock} from './VisualModeTests/AffineFrameClock';
import {ConstantMultiplication} from './VisualModeTests/ConstantMultiplication';
import {FastUpdates} from './VisualModeTests/FastUpdates';
import {FastUpdatesNested} from './VisualModeTests/FastUpdatesNested';
import {FontWeightControls} from './VisualModeTests/FontWeightControls';
import {
InteractiveHtmlElements,
InteractiveSvgElements,
} from './VisualModeTests/InteractiveComponents';
import {InteractivePaths} from './VisualModeTests/InteractivePaths';
import {Issue9170} from './VisualModeTests/Issue9170';
import {KeyframeDeleteFlash} from './VisualModeTests/KeyframeDeleteFlash';
import {OutlineSelectionCases} from './VisualModeTests/OutlineSelectionCases';
import {SequenceDurationInterpolation} from './VisualModeTests/SequenceDurationInterpolation';
import {SequenceShiftRepro} from './VisualModeTests/SequenceShiftRepro';
import {SvgPaintSchema} from './VisualModeTests/SvgPaintSchema';
import {VideoConfigExpressions} from './VisualModeTests/VideoConfigExpressions';
import {VoiceVisualization} from './voice-visualization';
import {WhisperWeb} from './WhisperWeb';
class Vector2 {
readonly x: number;
readonly y: number;
constructor(x: number, y: number) {
this.x = x;
this.y = y;
}
toString(): string {
return `Vector2 [X: ${this.x}, Y: ${this.y}]`;
}
}
if (!styles.hithere) {
throw new Error('should support SCSS modules');
}
// Use it to test that UI does not regress on weird CSS
// import './weird-css.css';
export const Index: React.FC = () => {
const inputProps = getInputProps();
const calculateMetadata: CalculateMetadataFunction<
z.infer<typeof dynamicDurationSchema>
> = useMemo(() => {
return async ({props}) => {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const shouldLog = (..._data: unknown[]) => undefined;
// To test logging
// const shouldLog = console.log;
const foo = function* () {
yield 'a';
yield 'b';
yield 'c';
};
shouldLog('');
shouldLog('');
shouldLog('');
shouldLog('');
shouldLog('objects', {a: 'string'});
shouldLog('boolean:', false);
shouldLog('number:', 1);
shouldLog('symbol', Symbol('hi'));
shouldLog('Date:', new Date());
shouldLog('bigint:', BigInt(123));
shouldLog('function:', () => 'hi');
shouldLog('array:', [1, 2, 3]);
shouldLog('regex:', /abc/);
shouldLog('');
shouldLog('');
shouldLog('');
shouldLog('');
shouldLog('Hello World ArrayBuffer', new ArrayBuffer(1));
shouldLog('Hello World DataView', new DataView(new ArrayBuffer(1)));
shouldLog('Hello World Error', new Error('hithere'));
shouldLog('Hello World Generator', foo());
shouldLog('Hello World Iterator', [1, 2, 3].values());
const map = new Map();
map.set('a', 1);
shouldLog('Hello World Map', map);
shouldLog('Hello World Node', document.createElement('div'));
shouldLog('Hello World null', null);
shouldLog(
'Hello World Promise',
new Promise<void>((resolve) => {
resolve();
}),
);
shouldLog('Hello World Proxy', new Proxy(document, {}));
shouldLog('Hello World RegExp', /abc/);
shouldLog('Hello World Set', {a: [1, 2, 3]});
shouldLog('Hello World TypedArray', new Uint8Array([1, 2, 3]));
const wm3 = new WeakMap();
const o1 = {};
wm3.set(o1, 'azerty');
const ws = new WeakSet();
const foo2 = {};
ws.add(foo2);
shouldLog('Hello World WeakMap', wm3);
shouldLog('Hello World WeakSet', ws);
await new Promise((r) => {
setTimeout(r, 1000);
});
return {
durationInFrames: props.duration,
fps: 30,
};
};
}, []);
const failingCalculateMetadata: CalculateMetadataFunction<
z.infer<typeof dynamicDurationSchema>
> = useCallback(async () => {
await new Promise((r) => {
setTimeout(r, 1000);
});
// Enable this for testing, however it will break getCompositions():
// throw new Error('Failed to calculate metadata');
return {
props: {duration: 100},
};
}, []);
const syncCalculateMetadata: CalculateMetadataFunction<
z.infer<typeof dynamicDurationSchema>
> = useCallback(() => {
// Enable this for testing, however it will break getCompositions():
// throw new Error('Failed to calculate metadata');
return {
props: {duration: 100},
};
}, []);
return (
<>
<Composition
id="CommittedRenderHolds"
component={CommittedRenderHolds}
durationInFrames={COMMITTED_HOLDS_DURATION}
fps={30}
width={COMMITTED_HOLDS_WIDTH}
height={COMMITTED_HOLDS_HEIGHT}
/>
<Folder name="WhatsNew">
<WhatsNewRoot />
</Folder>
<Composition
id="AnimatedBarChart"
component={BarChart}
durationInFrames={180}
fps={30}
width={1280}
height={720}
/>
<Folder name="maptiler">
<Composition
id="switzerland-map"
lazyComponent={() => import('./SwitzerlandMap/SwitzerlandMap')}
durationInFrames={240}
fps={30}
width={1080}
height={1080}
/>
<Composition
id="zurich-to-stuttgart-map"
lazyComponent={() => import('./SwitzerlandMap/ZurichToStuttgartMap')}
durationInFrames={270}
fps={30}
width={1080}
height={1080}
/>
<Composition
id="maptiler-heatmap"
lazyComponent={() => import('./SwitzerlandMap/Heatmap')}
durationInFrames={150}
fps={30}
width={1080}
height={1080}
/>
</Folder>
<Composition
id="captions-tester"
component={AnimatedCaptionsComposition}
durationInFrames={CAPTIONS_DURATION_IN_FRAMES}
fps={30}
width={1080}
height={CAPTIONS_HEIGHT}
/>
<Folder name="copilot-tests">
<Composition
id="interactive-div-stress-test"
lazyComponent={() => import('./InteractiveDivStressTest')}
width={1080}
height={1080}
fps={30}
durationInFrames={120}
/>
<Composition
id="keyframed-props-test"
lazyComponent={() => import('./KeyframedPropsTest')}
width={1080}
height={1080}
fps={30}
durationInFrames={120}
/>
<Composition
id="cubic-easing-interpolation-test"
lazyComponent={() => import('./CubicEasingInterpolationTest')}
width={1080}
height={1080}
fps={30}
durationInFrames={120}
/>
<Composition
id="interpolate-output-effect-scale-comparison"
lazyComponent={() =>
import('./InterpolateOutputEffectScaleComparison')
}
width={1080}
height={1080}
fps={30}
durationInFrames={120}
/>
<Composition
id="trim-before-support-test"
lazyComponent={() => import('./TrimBeforeSupportTest')}
width={1280}
height={1080}
fps={30}
durationInFrames={120}
/>
<Composition
id="centered-solid"
lazyComponent={() => import('./CenteredSolid')}
width={1080}
height={1080}
fps={30}
durationInFrames={60}
/>
<Composition
id="effect-copy-source"
component={EffectCopySource}
width={1080}
height={1080}
fps={30}
durationInFrames={120}
/>
<Composition
id="effect-copy-target"
component={EffectCopyTarget}
width={1080}
height={1080}
fps={30}
durationInFrames={120}
/>
<Composition
id="noise-displacement-text"
component={NoiseDisplacementText}
width={1920}
height={1080}
fps={30}
durationInFrames={120}
/>
<Composition
id="canvas-capture-preview"
component={CanvasCapturePreview}
width={1920}
height={1080}
fps={30}
durationInFrames={120}
defaultProps={canvasCapturePreviewDefaultProps}
calculateMetadata={calculateCanvasCapturePreviewMetadata}
/>
</Folder>
<Folder name="dynamic-parameters">
<Composition
id="dynamic-length"
component={DynamicDuration}
width={1080}
height={1080}
fps={30}
durationInFrames={100}
calculateMetadata={calculateMetadata}
schema={dynamicDurationSchema}
defaultProps={{duration: 200}}
/>
<Composition
id="failing-dynamic-length"
component={DynamicDuration}
width={1080}
height={1080}
fps={30}
durationInFrames={100}
calculateMetadata={failingCalculateMetadata}
schema={dynamicDurationSchema}
defaultProps={{duration: 50}}
/>
<Composition
id="huge-payload"
component={HugePayload}
width={1080}
height={1080}
fps={30}
durationInFrames={2}
calculateMetadata={() => {
return {
props: {
str: 'potato'.repeat(1000000),
date: new Date('2020-01-01'),
file: staticFile('nested/mp4.png'),
},
};
}}
schema={hugePayloadSchema}
defaultProps={{
str: 'potate',
file: staticFile('giphy.gif'),
date: new Date('2020-01-01'),
}}
/>
<Composition
// Sending 140KB payload will not require the Lambda function to compress the props,
// but once spawning the renderer function, then the input props as well as the resolved
// combined together will take more than 256KB of space.
// In that case, we need to compress one of them.
id="140kb-payload"
component={HugePayload}
width={1080}
height={1080}
fps={30}
durationInFrames={2}
calculateMetadata={() => {
return {
props: {
str: 'a'.repeat(140 * 1000),
date: new Date('2020-01-01'),
file: staticFile('nested/mp4.png'),
dontCareAboutSize: true,
},
};
}}
schema={hugePayloadSchema}
defaultProps={{
str: 'potato',
file: staticFile('giphy.gif'),
date: new Date('2020-01-01'),
}}
/>
<Composition
id="sync-dynamic-length"
component={DynamicDuration}
width={1080}
height={1080}
fps={30}
durationInFrames={100}
calculateMetadata={syncCalculateMetadata}
schema={dynamicDurationSchema}
defaultProps={{duration: 50}}
/>
</Folder>
<Folder name="components">
<Composition
id="looped"
lazyComponent={() => import('./LoopedVideo')}
durationInFrames={200}
fps={60}
height={1080}
width={1080}
/>
<Composition
fps={30}
id="cancel-render"
width={920}
height={720}
component={CancelRender}
durationInFrames={100}
/>
<Composition
id="iframe"
lazyComponent={() => import('./IframeTest')}
width={1080}
height={1080}
fps={30}
durationInFrames={10}
/>
<Composition
id="stagger-test"
component={SeriesTesting}
width={1280}
height={720}
fps={30}
durationInFrames={100}
/>
<Composition
id="freeze-example"
component={FreezeExample}
width={1280}
height={720}
fps={30}
durationInFrames={300}
/>
<Composition
id="sequence-freeze-example"
component={SequenceFreezeExample}
width={1280}
height={720}
fps={30}
durationInFrames={150}
/>
<Composition
id="freeze-portion"
component={FreezePortion}
width={1280}
height={720}
fps={30}
durationInFrames={300}
/>
</Folder>
<Folder name="spring">
<Composition
id="base-spring"
component={BaseSpring}
width={1080}
height={1080}
fps={30}
durationInFrames={100}
/>
<Composition
id="spring-with-duration"
component={SpringWithDuration}
width={1080}
height={1080}
fps={30}
durationInFrames={100}
/>
<Composition
id="rest-threshold-spring-square"
component={RestThresholdSpringSquare}
width={1080}
height={1080}
fps={30}
durationInFrames={90}
/>
<Composition
id="tail-spring-square"
component={RestThresholdSpringSquare}
width={1080}
height={1080}
fps={30}
durationInFrames={90}
/>
</Folder>
<Folder name="documentation">
<Composition
id="posterization-comparison"
component={PosterizationComparison}
width={1800}
height={600}
fps={30}
durationInFrames={120}
/>
</Folder>
<Folder name="easing">
<Composition
id="easing-visualizer"
component={EasingVisualizer}
width={1920}
height={1080}
fps={30}
durationInFrames={210}
/>
</Folder>
<Folder name="regression-testing">
<Composition
id="suspense-loading-indicator-test"
lazyComponent={async () => {
await new Promise<void>((resolve) => {
setTimeout(resolve, 10_000);
});
return import('./SuspenseLoadingIndicatorTest');
}}
width={100}
height={100}
fps={30}
durationInFrames={30}
/>
<Composition
id="simple-img"
component={SimpleImg}
width={1080}
height={1080}
fps={30}
durationInFrames={10}
/>
<Composition
id="canvas-img"
component={CanvasImg}
width={1080}
height={1080}
fps={30}
durationInFrames={10}
/>
<Composition
id="img-effects"
component={ImgEffects}
width={1080}
height={1080}
fps={30}
durationInFrames={10}
/>
<Composition
id="missing-img"
component={MissingImg}
width={1080}
height={1080}
fps={30}
durationInFrames={10}
/>
<Composition
id="print-props"
component={PrintProps}
width={1080}
height={1080}
fps={30}
durationInFrames={10}
/>
<Composition
id="transition-rounding"
component={TransitionRounding}
width={1080}
height={1080}
fps={30}
durationInFrames={10}
/>
<Composition
id="ten-frame-tester"
component={TenFrameTester}
width={1080}
height={1080}
fps={30}
durationInFrames={10}
/>
<Composition
id="framer"
component={Framer}
width={1080}
height={1080}
fps={30}
durationInFrames={10000}
/>
<Composition
id="skip-zero-frame"
component={SkipZeroFrame}
width={1280}
height={720}
fps={30}
durationInFrames={100}
/>
<Composition
id="scripts"
component={Scripts}
width={1280}
height={720}
fps={30}
durationInFrames={100}
/>
<Composition
id="many-audio"
component={ManyAudio}
width={1280}
height={720}
fps={30}
durationInFrames={30}
/>
<Composition
id="Timeout"
component={Timeout}
width={1280}
height={720}
fps={30}
durationInFrames={100}
/>
<Composition
id="error-on-frame-10"
component={ErrorOnFrame10}
width={1280}
height={720}
fps={30}
durationInFrames={1000000}
/>
<Composition
id="CJK-chars-明金"
component={ErrorOnFrame10}
width={1280}
height={720}
fps={30}
durationInFrames={1000000}
/>
<MyCtx.Provider
value={{
hi: () => 'hithere',
}}
>
<Still
id="wrapped-in-context"
component={WrappedInContext}
width={1280}
height={720}
/>
</MyCtx.Provider>
{INCLUDE_COMP_BREAKING_GET_COMPOSITIONS ? (
<Composition
id="circular-structure"
component={Framer}
width={1080}
height={1080}
durationInFrames={30}
fps={30}
calculateMetadata={() => {
const objectA = {
name: 'Object A',
};
const objectB = {
name: 'Object B',
linkedObject: objectA, // ObjectB links to objectA
};
// @ts-expect-error linked object
objectA.linkedObject = objectB;
return {
props: objectA,
};
}}
/>
) : null}
<Composition
id="class-serialization"
component={ClassSerialization}
width={1080}
height={1080}
durationInFrames={30}
fps={30}
defaultProps={{
calculated: new Vector2(15, 10),
}}
/>
<Still
id="svg-filter"
component={SvgFilter}
width={1080}
height={1080}
/>
<Folder name="edge-blur">
<Still
width={1000}
height={1500}
component={EdgeBlur}
id="edge-blur"
></Still>
</Folder>
</Folder>
<Folder name="creatives">
<Folder name="Portfolio">
<PortfolioCompositions />
</Folder>
<Composition
id="drop-dots"
lazyComponent={() => import('./DropDots/DropDots')}
width={1080}
height={1080}
fps={30}
durationInFrames={180 * 30}
defaultProps={{
opacity: 1,
volume: 0.4,
}}
/>
<Composition
id="tiles"
lazyComponent={() => import('./Tiles')}
width={1080}
height={1920}
fps={30}
durationInFrames={90}
/>
<Composition
id="title"
lazyComponent={() => import('./Title')}
width={1080}
height={1920}
fps={30}
durationInFrames={90}
defaultProps={{
line1: 'Test',
line2: 'text',
}}
/>
<Still
id="FitText"
component={FitText}
width={800}
height={900}
schema={fitTextSchema}
defaultProps={{
line: 'Test',
}}
/>
<Still
id="FitTextOnNLines"
component={FitTextOnNLines}
width={1600}
height={500}
schema={fitTextOnNLinesSchema}
defaultProps={{
text: 'No matter how much text I am adding, the text always fits on 3 lines and there is corner rounding like on TikTok.',
maxLines: 3,
textAlign: 'right' as const,
}}
/>
<Still
id="issue-7359-fit-text-on-n-lines"
component={Issue7359FitTextOnNLines}
width={1280}
height={720}
/>
<Composition
id="beta-text"
component={BetaText}
width={1080}
height={1080}
fps={30}
durationInFrames={3 * 30}
defaultProps={{
word1: 'hithere' as const,
color: ['rgba(19, 124, 45, 0.059)' as const],
}}
schema={betaTextSchema}
/>
<Composition
id="green"
component={Green}
width={1080}
height={1080}
fps={30}
durationInFrames={2}
/>
<Composition
id="css-loader-test"
component={CssLoaderTest}
width={1080}
height={1080}
fps={30}
durationInFrames={90}
/>
<Composition
id="react-svg"
component={ReactSvg}
width={1920}
height={1080}
fps={60}
durationInFrames={300}
defaultProps={{
transparent: true,
}}
/>
</Folder>
<Folder name="new-media-tags">
<Composition
id="long-audio"
component={LongAudio}
width={1280}
height={720}
fps={30}
durationInFrames={60 * 60 * 30}
/>
<Composition
id="new-audio"
component={NewAudioExample}
fps={30}
defaultProps={{
src: 'https://remotion.media/music.mp3',
}}
calculateMetadata={async ({props}) => {
const fps = 30;
const {durationInSeconds} = await getMediaMetadata(
props.src as string,
);
return {
props: props,
durationInFrames: Math.round(durationInSeconds * fps),
fps,
width: 800,
height: 800,
};
}}
/>
<Composition
id="video-testing-playback-codec"
component={VideoTestingPlayback}
fps={30}
height={1080}
width={1080}
durationInFrames={25}
defaultProps={{
type: 'codec',
}}
/>
<Composition
id="video-testing-trim-codec"
component={VideoTestingTrim}
fps={30}
height={1080}
width={1080}
durationInFrames={60}
defaultProps={{
type: 'codec',
}}
/>
<Composition
id="video-testing-media-frame-accuracy"
component={VideoTestingMediaFrameAccuracy}
width={1080}
height={540}
fps={30}
durationInFrames={100}
/>
</Folder>
<Folder name="video-tests">
<Composition
id="hls"
component={HlsDemo}
width={1920}
height={1080}
durationInFrames={100}
fps={30}
/>
<Composition
id="hls-media-video"
component={HlsMediaVideo}
width={1920}
height={1080}
durationInFrames={300}
fps={30}
/>
<Composition
id="hls-media-video-trimmed"
component={HlsMediaVideoTrimmed}
width={1920}
height={1080}
durationInFrames={90}
fps={30}
/>
<Composition
id="hls-media-video-muted"
component={HlsMediaVideoMuted}
width={1920}
height={1080}
durationInFrames={150}
fps={30}
/>
<Composition
id="prores-media-video"
component={ProResMediaVideo}
calculateMetadata={calculateProResMediaVideoMetadata}
/>
<Composition
id="video-testing-mp4"
component={VideoTesting}
width={1080}
height={1080}
fps={30}
durationInFrames={100}
defaultProps={{
codec: 'mp4' as const,
}}
/>
<Composition
id="video-testing-frame-accuracy"
component={VideoTestingFrameAccuracy}
width={1080}
height={1080}
fps={30}
durationInFrames={100}
/>
<Composition
id="video-testing-mp4-offthread"
component={VideoTesting}
width={1080}
height={1080}
fps={30}
durationInFrames={100}
defaultProps={{
type: 'offthread',
codec: 'mp4' as const,
}}
/>
<OffthreadRemoteVideo />
<NewVideoComp />
<SimultaneousPlaybackComp />
<PremountSequenceVideoComp />
<ObjectFitTestComp />
<NewVideoBufferStateComp />
<LoopDisplayTestComp />
<OffthreadRemoteSeries />
<Issue7562OffthreadVideoCuts />
<LoopedNewVideo />
<LoopedOffthreadRemoteVideo />
<MultiChannelAudio />
<Composition
id="OffthreadVideoToCanvas"
component={OffthreadVideoToCanvas}
fps={30}
height={1080}
width={1080}
durationInFrames={100}
/>
<Folder name="html-in-canvas">
<Composition
id="html-in-canvas-fallback"
component={HtmlInCanvasFallbackExample}
fps={30}
height={720}
width={1280}
durationInFrames={180}
/>
<Composition
id="html-in-canvas-nested"
component={HtmlInCanvasNested}
fps={30}
height={720}
width={1280}
durationInFrames={150}
/>
<Composition
id="html-in-canvas-motion-blur"
component={HtmlInCanvasMotionBlurExample}
fps={30}
height={720}
width={1280}
durationInFrames={76}
/>
<Composition
id="html-in-canvas-changing-size"
component={HtmlInCanvasDemo}
fps={30}
height={1080}
width={1920}
durationInFrames={120}
/>
<Composition
id="html-in-canvas-pixel-density"
component={HtmlInCanvasPixelDensity}
fps={30}
height={80}
width={250}
durationInFrames={60}
/>
<Composition
id="html-in-canvas-compose-async-bitmap"
component={HtmlInCanvasComposeAsyncBitmap}
fps={30}
height={1080}
width={1920}
durationInFrames={120}
/>
<Composition
id="html-in-canvas-compose-webgl"
component={HtmlInCanvasComposeWebGL}
fps={30}
height={1080}
width={1920}
durationInFrames={120}
/>
<Composition
id="html-in-canvas-compose-webgl-crt"
component={HtmlInCanvasComposeWebGLCrt}
fps={30}
height={1080}
width={1920}
durationInFrames={120}
/>
<Composition
id="html-in-canvas-compose-webgpu"
component={HtmlInCanvasComposeWebGPU}
fps={30}
height={1080}
width={1920}
durationInFrames={120}
/>
<Composition
id="html-in-canvas-docs-minimal-webgl"
component={HtmlInCanvasDocsMinimalWebGL}
fps={30}
height={1080}
width={1920}
durationInFrames={120}
/>
<Composition
id="html-in-canvas-docs-minimal-webgpu"
component={HtmlInCanvasDocsMinimalWebGPU}
fps={30}
height={1080}
width={1920}
durationInFrames={120}
/>
<Composition
id="html-in-canvas-docs-demo-2d-blur"
component={HtmlInCanvasDocsDemo2DBlur}
fps={30}
height={1080}
width={1920}
durationInFrames={120}
/>
<Composition
id="book-flip-transition-doc"
component={BookFlipTransitionDoc}
fps={30}
height={1080}
width={1920}
durationInFrames={90}
/>
<Composition
id="book-flip-transition-doc-thumb"
component={BookFlipTransitionDocThumb}
fps={30}
height={280}
width={540}
durationInFrames={60}
/>
<Composition
id="zoom-blur-transition-doc"
component={ZoomBlurTransitionDoc}
fps={30}
height={1080}
width={1920}
durationInFrames={90}
/>
<Composition
id="zoom-blur-transition-doc-thumb"
component={ZoomBlurTransitionDocThumb}
fps={30}
height={280}
width={540}
durationInFrames={60}
/>
<Composition
id="film-burn-transition-doc"
component={FilmBurnTransitionDoc}
fps={30}
height={1080}
width={1920}
durationInFrames={90}
/>
<Composition
id="film-burn-transition-doc-thumb"
component={FilmBurnTransitionDocThumb}
fps={30}
height={280}
width={540}
durationInFrames={60}
/>
<Composition
id="linear-blur-transition-doc"
component={LinearBlurTransitionDoc}
fps={30}
height={1080}
width={1920}
durationInFrames={90}
/>
<Composition
id="linear-blur-transition-doc-thumb"
component={LinearBlurTransitionDocThumb}
fps={30}
height={280}
width={540}
durationInFrames={60}
/>
<Composition
id="zoom-in-out-transition-doc"
component={ZoomInOutTransitionDoc}
fps={30}
height={1080}
width={1920}
durationInFrames={90}
/>
<Composition
id="zoom-in-out-transition-doc-thumb"
component={ZoomInOutTransitionDocThumb}
fps={30}
height={280}
width={540}
durationInFrames={60}
/>
<Composition
id="dissolve-transition-doc"
component={DissolveTransitionDoc}
fps={30}
height={1080}
width={1920}
durationInFrames={90}
/>
<Composition
id="dissolve-transition-doc-thumb"
component={DissolveTransitionDocThumb}
fps={30}
height={280}
width={540}
durationInFrames={60}
/>
<Composition
id="ripple-transition-doc"
component={RippleTransitionDoc}
fps={30}
height={1080}
width={1920}
durationInFrames={90}
/>
<Composition
id="ripple-transition-doc-thumb"
component={RippleTransitionDocThumb}
fps={30}
height={280}
width={540}
durationInFrames={60}
/>
<Composition
id="crosswarp-transition-doc"
component={CrosswarpTransitionDoc}
fps={30}
height={1080}
width={1920}
durationInFrames={90}
/>
<Composition
id="crosswarp-transition-doc-thumb"
component={CrosswarpTransitionDocThumb}
fps={30}
height={280}
width={540}
durationInFrames={60}
/>
<Composition
id="cross-zoom-transition-doc"
component={CrossZoomTransitionDoc}
fps={30}
height={1080}
width={1920}
durationInFrames={90}
/>
<Composition
id="cross-zoom-transition-doc-thumb"
component={CrossZoomTransitionDocThumb}
fps={30}
height={280}
width={540}
durationInFrames={60}
/>
<Composition
id="swap-transition-doc"
component={SwapTransitionDoc}
fps={30}
height={1080}
width={1920}
durationInFrames={90}
/>
<Composition
id="swap-transition-doc-thumb"
component={SwapTransitionDocThumb}
fps={30}
height={280}
width={540}
durationInFrames={60}
/>
<Composition
id="blur-slide-transition-doc"
component={BlurSlideTransitionDoc}
fps={30}
height={1080}
width={1920}
durationInFrames={90}
/>
<Composition
id="blur-slide-transition-doc-thumb"
component={BlurSlideTransitionDocThumb}
fps={30}
height={280}
width={540}
durationInFrames={60}
/>
<Composition
id="html-in-canvas-complex-text"
component={HtmlInCanvasComplexText}
fps={30}
height={720}
width={1280}
durationInFrames={60}
/>
<Composition
id="html-in-canvas-privacy"
component={HtmlInCanvasPrivacy}
fps={30}
height={900}
width={1400}
durationInFrames={60}
/>
<Composition
id="html-in-canvas-react-svg"
component={HtmlInCanvasReactSvg}
width={1920}
height={1080}
fps={60}
durationInFrames={300}
defaultProps={{
transparent: true,
}}
/>
</Folder>
<Composition
id="video-testing-webm"
component={VideoTesting}
width={1080}
height={1080}
fps={30}
durationInFrames={100}
defaultProps={{
codec: 'webm' as const,
}}
/>
<Composition
id="video-testing-webm-offthread"
component={VideoTesting}
width={1080}
height={1080}
fps={30}
durationInFrames={100}
defaultProps={{
type: 'offthread',
codec: 'webm' as const,
}}
/>
<Composition
id="remote-video"
component={RemoteVideo}
width={1280}
height={720}
fps={30}
durationInFrames={600}
/>
<Composition
id="jump-cuts"
component={JumpCuts}
width={1280}
height={720}
fps={30}
durationInFrames={600}
calculateMetadata={calculateMetadataJumpCuts}
defaultProps={{
sections: SAMPLE_SECTIONS,
}}
/>
<Composition
id="play-ranges-media-video"
component={PlayRangesMediaVideo}
width={480}
height={270}
calculateMetadata={calculateMetadataPlayRangesMedia}
defaultProps={{
url: PLAY_RANGES_MEDIA_VIDEO_URL_DEFAULT,
playRanges: PLAY_RANGES_MEDIA_DEFAULT,
}}
/>
<Composition
id="play-ranges-media-video-zip"
component={PlayRangesMediaVideo}
width={480}
height={270}
calculateMetadata={calculateMetadataPlayRangesMedia}
defaultProps={{
url: PLAY_RANGES_MEDIA_VIDEO_URL_DEFAULT,
playRanges: PLAY_RANGES_MEDIA_ZIP_DEFAULT,
}}
/>
<Composition
id="different-segments-at-different-speeds"
component={DifferentSegmentsAtDifferentSpeeds}
width={640}
height={360}
fps={30}
durationInFrames={DIFFERENT_SEGMENTS_AT_DIFFERENT_SPEEDS_DURATION}
/>
<Composition
id="fractional-sequence-video"
component={FractionalSequenceVideo}
width={640}
height={360}
fps={24}
durationInFrames={600}
/>
<Composition
id="corrupt-video"
component={CorruptVideo}
width={1280}
height={720}
fps={30}
durationInFrames={2000}
/>
<Composition
id="2hrvideo"
component={InfinityVideo}
width={1920}
height={1080}
fps={30}
durationInFrames={2 * 60 * 60 * 30}
/>
<Composition
id="video-speed"
component={VideoSpeed}
width={1280}
height={720}
fps={30}
durationInFrames={100}
/>
<Composition
id="video-on-canvas"
component={VideoOnCanvas}
width={1920}
height={1080}
fps={30}
durationInFrames={100}
/>
<Composition
id="greenscreen"
component={Greenscreen}
width={1920}
height={1080}
fps={30}
durationInFrames={100}
/>
</Folder>
<Folder name="AnimatedImage">
<AnimatedImages />
</Folder>
<Folder name="still-tests">
<Still
id="still-zoom"
component={StillZoom}
width={1800}
height={2200}
/>
<Still
id="still-helloworld"
defaultProps={{message: 'Hello from default!'}}
component={StillHelloWorld}
width={1920}
height={1080}
/>
</Folder>
<Folder name="features">
<Still
id="mdx-test"
lazyComponent={() => import('./MdxTest')}
width={1080}
height={1080}
/>
<Still
id="watch-static"
component={WatchStaticDemo}
width={1080}
height={1080}
/>
<Still
id="dark-mode-test"
component={DarkModeTest}
width={1080}
height={1080}
/>
<Composition
id="color-interpolation"
component={ColorInterpolation}
width={1280}
height={720}
fps={30}
durationInFrames={100}
/>
<Composition
id="text-stroke"
component={TextStroke}
width={1280}
height={720}
fps={30}
durationInFrames={100}
/>
<Composition
id="native-buffer-state"
component={NativeBufferState}
width={1280}
height={720}
fps={30}
durationInFrames={200}
/>
<Composition
id="native-buffer-state-for-video"
component={NativeBufferStateForVideo}
width={1280}
height={720}
fps={30}
durationInFrames={200}
/>
<Composition
id="native-buffer-state-for-image"
component={NativeBufferStateForImage}
width={1280}
height={720}
fps={30}
durationInFrames={200}
/>
<Composition
id="default-codec"
component={ColorInterpolation}
width={1280}
height={720}
fps={30}
calculateMetadata={() => {
return {
defaultCodec: 'aac',
defaultOutName: `out-${Date.now()}`,
};
}}
durationInFrames={100}
/>
<Still
id="static-demo"
component={StaticDemo}
width={1000}
height={1000}
defaultProps={{flag: false}}
/>
<Still id="font-demo" component={FontDemo} width={1000} height={1000} />
<Still
id="google-fonts-cjk"
component={GoogleFontsCjk}
width={1920}
height={1080}
/>
<Composition
id="dynamic-duration"
component={VideoTesting}
width={1080}
height={1080}
fps={30}
// Change the duration of the video dynamically by passing
// `--props='{"duration": 100}'`
durationInFrames={(inputProps?.duration as number) ?? 20}
defaultProps={{
codec: 'mp4' as const,
}}
/>
<Composition
id="nested"
lazyComponent={() => import('./NestedSequences')}
durationInFrames={200}
fps={60}
height={1080}
width={1080}
/>
</Folder>
<Folder name="audio-tests">
<VolumeHoldCurveComposition />
<Composition
id="complex-sounds"
component={ComplexSounds}
width={1920}
height={1080}
fps={30}
durationInFrames={720}
lazyComponent={undefined}
/>
<Composition
id="22khz"
component={TwentyTwoKHzAudio}
width={1920}
height={1080}
fps={30}
durationInFrames={90}
/>
<Composition
id="offline-audio-buffer"
lazyComponent={() => import('./OfflineAudioBuffer')}
width={1080}
height={1080}
fps={30}
durationInFrames={100}
/>
<Composition
id="audio-testing-mute"
lazyComponent={() => import('./AudioTestingMute')}
width={1080}
height={1080}
fps={30}
durationInFrames={300}
/>
<Composition
id="audio-testing"
lazyComponent={() => import('./AudioTesting')}
width={1080}
height={1080}
fps={30}
durationInFrames={300}
/>
<Composition
id="audio-testing-short-loop"
lazyComponent={() => import('./AudioTesting/ShortLoop')}
width={1080}
height={1080}
fps={30}
durationInFrames={300}
/>
<Composition
id="audio-testing-amplify"
component={Amplify}
width={200}
height={200}
fps={30}
durationInFrames={1000}
/>
<Composition
id="audio-testing-base64"
lazyComponent={() => import('./AudioTesting/Base64')}
width={1080}
height={1080}
fps={30}
durationInFrames={300}
/>
<Composition
id="audio-issue-10468"
component={Issue10468}
width={1920}
height={1080}
fps={30}
durationInFrames={120}
defaultProps={issue10468DefaultProps}
/>
<Composition
id="audio-issue-5758"
component={Issue5758}
width={1920}
height={1080}
fps={24.87}
durationInFrames={120}
defaultProps={issue5758DefaultProps}
/>
<Composition
id="inline-audio-stress"
component={InlineAudioStress}
width={16}
height={16}
fps={30}
durationInFrames={620}
defaultProps={inlineAudioStressDefaultProps}
/>
<Composition
id="audio-issue-7568"
component={Issue7568}
width={1920}
height={1080}
fps={30}
durationInFrames={120}
/>
<Composition
id="audio-visualization"
lazyComponent={() => import('./AudioVisualization')}
width={1080}
height={1080}
fps={30}
durationInFrames={180 * 30}
/>
<Composition
id="loop-audio"
lazyComponent={() => import('./LoopAudio')}
width={1080}
height={1080}
fps={30}
durationInFrames={180 * 30}
/>
<Composition
id="loop-trimmed-audio"
lazyComponent={() => import('./LoopTrimmedAudio')}
width={1080}
height={1080}
fps={30}
durationInFrames={180 * 30}
/>
<Composition
id="subframe-audio"
component={SubframeAudio}
width={1080}
height={1080}
fps={30}
durationInFrames={120}
/>
</Folder>
<Folder name="three">
<Still id="Orb" component={OrbScene} width={2000} height={2000} />
<Composition
id="three-basic"
component={ThreeBasic}
width={1280}
height={720}
fps={30}
durationInFrames={600}
/>
<Composition
id="three-webgpu"
component={ThreeWebGPU}
width={1280}
height={720}
fps={30}
durationInFrames={600}
/>
<Composition
id="three-html"
component={ThreeHtml}
width={1280}
height={720}
fps={30}
durationInFrames={600}
/>
<Composition
id="use-video-texture"
component={VideoTextureDemo}
width={1280}
height={720}
fps={30}
durationInFrames={600}
defaultProps={{
baseScale: 1,
deviceType: 'phone',
phoneColor: 'black',
textureType: 'video',
}}
/>
<Composition
id="use-offthread-video-texture"
component={VideoTextureDemo}
width={1280}
height={720}
fps={30}
durationInFrames={600}
defaultProps={{
baseScale: 1,
deviceType: 'phone',
phoneColor: 'black',
textureType: 'offthreadvideo',
}}
/>
</Folder>
<Folder name="gsap">
<Composition
id="gsap-showcase"
lazyComponent={() => import('./Gsap/Showcase')}
durationInFrames={210}
fps={30}
width={1280}
height={720}
/>
<Composition
id="gsap-fps-24"
lazyComponent={() => import('./Gsap/OpacityFixture')}
durationInFrames={48}
fps={24}
width={100}
height={100}
/>
<Composition
id="gsap-fps-30"
lazyComponent={() => import('./Gsap/OpacityFixture')}
durationInFrames={60}
fps={30}
width={100}
height={100}
/>
<Composition
id="gsap-fps-60"
lazyComponent={() => import('./Gsap/OpacityFixture')}
durationInFrames={120}
fps={60}
width={100}
height={100}
/>
<Composition
id="gsap-sequence"
lazyComponent={() => import('./Gsap/Sequence')}
durationInFrames={90}
fps={30}
width={100}
height={100}
/>
<Composition
id="gsap-nested-sequence"
lazyComponent={() => import('./Gsap/NestedSequence')}
durationInFrames={100}
fps={30}
width={100}
height={100}
/>
<Composition
id="gsap-surface"
lazyComponent={() => import('./Gsap/Surface')}
durationInFrames={75}
fps={30}
width={320}
height={180}
/>
<Composition
id="gsap-overlap"
lazyComponent={() => import('./Gsap/Overlap')}
durationInFrames={90}
fps={30}
width={320}
height={180}
/>
<Composition
id="gsap-same-property-overlap"
lazyComponent={() => import('./Gsap/SamePropertyOverlap')}
durationInFrames={60}
fps={30}
width={320}
height={120}
/>
<Composition
id="gsap-svg-root"
lazyComponent={() => import('./Gsap/SvgRoot')}
durationInFrames={60}
fps={30}
width={100}
height={100}
/>
<Composition
id="gsap-parity"
lazyComponent={() => import('./Gsap/ParityFixture')}
durationInFrames={90}
fps={30}
width={640}
height={300}
/>
</Folder>
<Folder name="lottie">
<Composition
id="cybertruck"
lazyComponent={() => import('./Lottie/Cybertruck')}
durationInFrames={500}
fps={30}
height={850}
width={850}
/>
<Composition
id="halloween-balloons"
lazyComponent={() => import('./Lottie/Halloween/Balloons')}
durationInFrames={90}
fps={30}
height={1080}
width={1080}
/>
<Composition
id="halloween-pumpkin"
lazyComponent={() => import('./Lottie/Halloween/Pumpkin')}
durationInFrames={150}
fps={30}
height={1200}
width={1600}
/>
<Composition
id="exploding-bird"
lazyComponent={() => import('./Lottie/ExplodingBird')}
durationInFrames={300}
fps={30}
height={850}
width={850}
/>
<Composition
id="image-in-lottie"
lazyComponent={() => import('./Lottie/ImageInLottie')}
durationInFrames={300}
fps={30}
height={850}
width={850}
/>
<Composition
id="LottieInitializationBugfix"
lazyComponent={() => import('./Lottie/LottieInitializationBugfix')}
durationInFrames={300}
fps={30}
height={850}
width={850}
/>
<Composition
id="loader"
lazyComponent={() => import('./Lottie/Loader')}
durationInFrames={240}
fps={60}
height={576}
width={576}
/>
</Folder>
<Folder name="paths">
<Composition
id="path-evolve"
lazyComponent={() => import('./Paths/PathEvolve')}
durationInFrames={500}
fps={30}
height={1080}
width={1080}
/>
<Composition
id="path-morph"
lazyComponent={() => import('./Paths/PathMorph')}
durationInFrames={500}
fps={30}
height={1080}
width={1080}
/>
<Composition
id="scale-path"
component={ScalePath}
durationInFrames={500}
fps={30}
height={1080}
width={1080}
/>
<Composition
id="path-warp"
component={WarpDemoOuter}
durationInFrames={500}
fps={30}
height={1080}
width={1080}
/>
<Composition
id="path-warp-2"
component={WarpDemo2}
durationInFrames={500}
fps={30}
height={1080}
width={1080}
/>
<Composition
id="shapes-morph"
component={ShapesMorph}
durationInFrames={500}
fps={30}
height={1080}
width={1080}
/>
<Composition
id="slice-path"
component={SlicePath}
durationInFrames={500}
fps={30}
height={1080}
width={1080}
/>
</Folder>
<Folder name="gif">
<Composition
id="gif"
lazyComponent={() => import('./GifTest')}
width={1080}
height={1080}
fps={30}
durationInFrames={250}
/>
<Composition
id="gif-duration"
lazyComponent={() => import('./GifTest/gif-duration')}
width={1080}
height={1080}
fps={30}
durationInFrames={150}
/>
<Composition
id="gif-fill-modes"
lazyComponent={() => import('./GifTest/fill-modes')}
width={1920}
height={1080}
fps={30}
durationInFrames={150}
/>
<Composition
id="gif-loop-behavior"
lazyComponent={() => import('./GifTest/loop-behavior')}
width={1920}
height={1080}
fps={30}
durationInFrames={540}
/>
</Folder>
<Folder name="og-images">
<Composition
id="expert"
component={Expert}
width={1200}
height={630}
fps={30}
durationInFrames={150}
/>
</Folder>
<Folder name="shapes">
<Composition
id="circle-test"
component={CircleTest}
width={1200}
height={630}
fps={30}
durationInFrames={150}
/>
<Composition
id="rect-test"
component={RectTest}
width={1200}
height={630}
fps={30}
durationInFrames={150}
/>
<Composition
id="triangle-test"
component={TriangleTest}
width={1200}
height={630}
fps={30}
durationInFrames={150}
/>
<Composition
id="ellipse-test"
component={EllipseTest}
width={1200}
height={630}
fps={30}
durationInFrames={150}
/>
<Composition
id="star-test"
component={StarTest}
width={1200}
height={630}
fps={30}
durationInFrames={150}
/>
<Composition
id="shape-effects-test"
component={ShapeEffectsTest}
width={1200}
height={630}
fps={30}
durationInFrames={150}
/>
</Folder>
<Folder name="Rive">
<Composition
id="rive-vehicle"
component={RiveVehicle}
width={1200}
height={630}
fps={30}
schema={z.object({
matrix: zMatrix(),
union: z.array(
z.discriminatedUnion('type', [
z.object({
type: z.literal('car'),
color: z.string(),
obj: z.array(
z.object({
link: z.string(),
}),
),
}),
z.object({
type: z.literal('boat'),
depth: z.number(),
}),
]),
),
})}
defaultProps={{
matrix: [0, 1, 1, 0],
union: [
{type: 'boat' as const, depth: 10},
{type: 'car' as const, color: 'blue', obj: [{link: 'hi there'}]},
{type: 'car' as const, color: '', obj: [{link: ''}]},
{type: 'car' as const, color: '', obj: [{link: ''}]},
{type: 'car' as const, color: '', obj: [{link: ''}]},
{type: 'car' as const, color: '', obj: [{link: ''}]},
{type: 'car' as const, color: '', obj: [{link: ''}]},
{type: 'car' as const, color: '', obj: [{link: ''}]},
{type: 'car' as const, color: '', obj: [{link: ''}]},
{type: 'car' as const, color: '', obj: [{link: ''}]},
{type: 'car' as const, color: '', obj: [{link: ''}]},
],
}}
durationInFrames={150}
/>
</Folder>
<Folder name="Effects">
<Composition
id="tear-test"
component={TearTest}
width={1280}
height={720}
fps={30}
durationInFrames={150}
/>
<RiveEffectsTestbed />
<GifEffectsTestbed />
<AnimatedImageEffects />
<Composition
id="effects-testbed"
component={EffectsTestbed}
width={1920}
height={1920}
fps={30}
durationInFrames={300}
/>
<Composition
id="halftone-gradient"
component={HalftoneGradient}
width={1920}
height={1920}
fps={30}
durationInFrames={300}
/>
<Composition
id="palette-map-effect"
component={PaletteMapEffect}
width={1920}
height={1080}
fps={30}
durationInFrames={150}
/>
<Composition
id="radial-progressive-blur-test"
component={RadialProgressiveBlurTest}
width={1920}
height={1080}
fps={30}
durationInFrames={120}
/>
<Composition
id="custom-effects-sample"
component={CustomEffectsSample}
width={1920}
height={1080}
fps={30}
durationInFrames={150}
/>
<Composition
id="video-effects-fast-refresh"
component={VideoEffectsFastRefresh}
width={1920}
height={1080}
fps={30}
durationInFrames={300}
/>
</Folder>
<Folder name="Premount">
<Composition
id="premounted"
component={PremountedExample}
fps={30}
height={1080}
durationInFrames={300}
width={1080}
/>
<Composition
id="premounted-remote"
component={PremountedRemoteVideos}
fps={30}
height={1080}
durationInFrames={300}
width={1080}
/>
</Folder>
<Folder name="AudioSmoothness">
<AudioSmoothnessNewVideoComp />
<AudioSmoothnessSlicedVideoComp />
<AudioSmoothnessBufferInterruptionComp />
<AudioSmoothnessTrimButtonComp />
<AudioSmoothnessTrimAfterLoopComp />
<AudioSmoothnessLoopedAudioComp />
<AudioSmoothnessShortAudioLoopComp />
</Folder>
<Folder name="Postmount">
<Composition
id="postmount-example"
component={PostmountExample}
fps={30}
height={1080}
durationInFrames={350}
width={1920}
/>
<Composition
id="postmount-with-styles"
component={PostmountWithStyles}
fps={30}
height={1080}
durationInFrames={230}
width={1920}
/>
</Folder>
<Folder name="Transitions">
<Composition
id="basic-transition"
component={BasicTransition}
fps={30}
height={1080}
durationInFrames={336}
width={1920}
/>
<Composition
id="transition-scene-b"
component={BasicTransitionSceneB}
fps={30}
height={1080}
durationInFrames={30}
width={1920}
/>
<Composition
id="webgl-transition"
component={WebGlTransition}
fps={30}
height={1080}
durationInFrames={300}
width={1920}
/>
<Composition
id="audio-transition"
component={AudioTransition}
fps={30}
height={1080}
durationInFrames={300}
width={1920}
/>
<Composition
id="custom-transition"
component={CustomTransition}
fps={30}
height={1080}
durationInFrames={300}
width={1920}
/>
<Composition
id="PushCutDemo"
component={PushCutDemo}
fps={30}
height={1080}
durationInFrames={PUSH_CUT_DEMO_DURATION_IN_FRAMES}
width={1920}
/>
</Folder>
<Folder name="Schema">
<Composition
id="schema-test"
component={SchemaTest}
width={1200}
height={630}
fps={30}
durationInFrames={150}
schema={schemaTestSchema}
defaultProps={{
title: 'sdasds',
delay: 5.2,
color: 'rgba(223, 42, 42, 0.46)',
list: [{name: 'first', age: 12}],
matrix: [0, 1, 1, 0] as const,
description: 'Sample description \nOn multiple lines',
country: 'Armenia' as const,
dropdown: 'a' as const,
superSchema: [
{type: 'a' as const, a: {a: 'hi'}},
{type: 'b' as const, b: {b: 'hi'}},
],
discriminatedUnion: {type: 'auto' as const},
tuple: ['foo', 42, {a: 'hi'}],
}}
/>
{/**
// @ts-expect-error intentional */}
<Composition
id="impossible-to-save"
component={SchemaTest}
width={1200}
height={630}
fps={30}
durationInFrames={150}
schema={schemaTestSchema}
/>
<Composition
id="zod-v4-schema-test"
component={ZodV4SchemaTest}
width={1920}
height={1080}
fps={30}
durationInFrames={150}
schema={zodV4Schema}
defaultProps={{
greeting: 'Hello from Zod v4!',
count: 42,
enabled: false,
items: [{label: 'alpha!', value: 1}],
mode: 'light' as const,
nested: {a: 'asdfadsf', b: 99},
}}
/>
<Composition
id="discriminated-union-root"
component={DiscriminatedUnionSchemaTest}
width={1920}
height={1080}
fps={30}
durationInFrames={150}
schema={discriminatedUnionRootSchema}
defaultProps={{
preset: 'Simple' as const,
track: 'Main audio',
fontSize: 48,
}}
/>
</Folder>
<Folder name="TailwindCSS">
<Composition
id="tailwind"
component={Tailwind}
width={1080}
height={1080}
fps={30}
durationInFrames={60}
/>
</Folder>
<Composition
id="Layers"
component={Layers}
width={1080}
height={1080}
durationInFrames={200}
fps={30}
defaultProps={{}}
/>
<Composition
id="WidthHeight"
component={WidthHeightSequences}
fps={30}
height={1080}
width={1080}
durationInFrames={120}
/>
<Composition
id="RetryDelayRender"
component={RetryDelayRender}
fps={30}
height={1080}
width={1080}
durationInFrames={120}
/>
{/**
*
*
* disabled for react 19
<Folder name="Skia">
<Composition
id="skia-shader"
component={RuntimeShaderDemo}
fps={30}
height={1080}
width={1080}
durationInFrames={120}
/>
<Composition
id="skia-zoomblur"
component={RuntimeShaderZoomBlur}
fps={30}
height={1080}
width={1080}
durationInFrames={120}
/>
</Folder>
*/}
<Folder name="studio-apis">
<Composition
id="save-default-props"
component={SaveDefaultProps}
fps={30}
durationInFrames={100}
height={200}
width={200}
schema={saveStudioSchema}
defaultProps={{color: 'green'}}
/>
<Composition
id="seek"
component={Seek}
fps={30}
durationInFrames={100}
height={200}
width={200}
schema={saveStudioSchema}
defaultProps={{color: 'green'}}
/>
<Composition
id="restart-studio"
component={ClickUpdate}
fps={30}
durationInFrames={100}
height={200}
width={200}
schema={saveStudioSchema}
defaultProps={{color: 'green'}}
/>
<Composition
id="write-static-file"
component={WriteStaticFile}
fps={30}
durationInFrames={100}
height={200}
width={200}
schema={saveStudioSchema}
defaultProps={{color: 'green'}}
/>
<Composition
id="delete-static-file"
component={DeleteStaticFile}
fps={30}
durationInFrames={100}
height={200}
width={200}
defaultProps={{color: 'green'}}
/>
<Composition
id="trigger-calculate-metadata"
component={TriggerCalculateMetadata}
fps={30}
durationInFrames={100}
height={200}
width={200}
calculateMetadata={async () => {
await new Promise((r) => {
setTimeout(r, 1000);
});
return {};
}}
defaultProps={{color: 'green'}}
/>
</Folder>
<Folder name="Artifacts">
<Composition
id="subtitle"
component={SubtitleArtifact}
fps={30}
height={1000}
width={1000}
durationInFrames={100}
/>
</Folder>
<Folder name="MediaErrorHandling">
<Composition
id="AudioError"
component={HandleAudioRenderError}
fps={30}
height={1080}
width={1080}
durationInFrames={10_000}
/>
<Composition
id="InfiniteAudio"
component={InfiniteAudio}
fps={30}
height={1080}
width={1080}
durationInFrames={1800}
/>
</Folder>
<Folder name="AnimatedEmojis">
<Composition
id="AnimatedEmojis"
component={UseanimatedEmojis}
fps={30}
height={1080}
width={1080}
durationInFrames={10_000}
/>
</Folder>
<Still id="Emojis" component={EmojiTestbed} height={800} width={1024} />
<Still id="HugeImage" component={HugeImage} height={9000} width={9000} />
<Folder name="3DEngine">
<Composition
id="3DContext"
component={ThreeDContext}
width={1080}
height={1080}
fps={30}
durationInFrames={1000}
/>
<Composition
id="ParseAndDownloadMedia"
component={ParseAndDownloadMedia}
width={1080}
height={1080}
fps={30}
durationInFrames={1000}
/>
<Composition
id="3DSVG"
component={ThreeDSvgContent}
width={574}
height={434}
fps={30}
durationInFrames={100}
/>
</Folder>
<SmoothTextTransition />
<Folder name="voice-visualization">
<Composition
id="voice-visualization"
component={VoiceVisualization}
width={1080}
height={1080}
fps={30}
durationInFrames={900}
/>
</Folder>
<Folder name="visual-controls">
<Composition
id="visual-controls"
component={VisualControls}
width={1920}
height={2400}
fps={30}
durationInFrames={900}
/>
</Folder>
<Still id="whisper-web" component={WhisperWeb} width={800} height={800} />
<Composition
id="empty"
component={Empty}
width={1080}
height={1080}
fps={30}
durationInFrames={900}
/>
<Folder name="MultiSceneSample-Scenes">
<Composition
id="MultiSceneSample-Opening"
component={OpeningScene}
width={1920}
height={1080}
fps={30}
durationInFrames={90}
/>
<Composition
id="MultiSceneSample-Feature"
component={FeatureScene}
width={1920}
height={1080}
fps={30}
durationInFrames={90}
/>
<Composition
id="MultiSceneSample-Closing"
component={ClosingScene}
width={1920}
height={1080}
fps={30}
durationInFrames={90}
/>
</Folder>
<Composition
id="MultiSceneSample"
component={MultiSceneVideo}
width={1920}
height={1080}
fps={30}
durationInFrames={270}
/>
<Composition
id="spring-season"
component={SpringSeason}
width={1080}
height={1080}
fps={30}
durationInFrames={900}
/>
<Composition
id="premount-on-transition-series"
component={PremountOnTransitionSeries}
width={1080}
height={1080}
fps={30}
durationInFrames={500}
/>
<Composition
id="TikTokTextBoxes"
component={TikTokTextBoxPlayground}
width={1080}
height={2160}
fps={30}
durationInFrames={500}
/>
<Composition
id="Triangle"
component={TriangleComp}
width={100}
height={100}
fps={30}
durationInFrames={100}
/>
<Composition
id="media-video-texture"
component={RemotionMediaVideoTexture}
width={1280}
height={720}
fps={30}
durationInFrames={600}
/>
<Folder name="light-leaks">
<Composition
id="light-leak"
component={LightLeakExample}
width={1080}
height={1080}
fps={30}
durationInFrames={90}
/>
<Composition
id="light-leak-animated-size"
component={LightLeakAnimatedSize}
width={1080}
height={1080}
fps={30}
durationInFrames={120}
/>
</Folder>
<Folder name="mac-cursors">
<Composition
id="mac-cursors"
component={MacCursorsExample}
width={1080}
height={1080}
fps={30}
durationInFrames={90}
/>
</Folder>
<Folder name="rough-notation">
<Composition
id="rough-notation-highlight"
component={RoughNotationHighlight}
width={1080}
height={500}
fps={30}
durationInFrames={90}
/>
<Composition
id="rough-notation-box"
component={RoughNotationBox}
width={1080}
height={500}
fps={30}
durationInFrames={90}
/>
<Composition
id="rough-notation-circle"
component={RoughNotationCircle}
width={1080}
height={500}
fps={30}
durationInFrames={90}
/>
<Composition
id="rough-notation-bracket"
component={RoughNotationBracket}
width={1080}
height={500}
fps={30}
durationInFrames={90}
/>
<Composition
id="rough-notation-crossed-off"
component={RoughNotationCrossedOff}
width={1080}
height={500}
fps={30}
durationInFrames={90}
/>
<Composition
id="rough-notation-strike-through"
component={RoughNotationStrikeThrough}
width={1080}
height={500}
fps={30}
durationInFrames={90}
/>
<Composition
id="rough-notation-underline"
component={RoughNotationUnderline}
width={1080}
height={500}
fps={30}
durationInFrames={90}
/>
</Folder>
<Folder name="starburst">
<Composition
id="starburst"
component={StarburstExample}
width={1080}
height={1080}
fps={30}
durationInFrames={90}
/>
<Composition
id="starburst-negative-from-resize"
component={TimelineNegativeFromResize}
width={1080}
height={1080}
fps={30}
durationInFrames={90}
/>
</Folder>
<Composition
id="controls-showcase"
component={ControlsShowcase}
width={2300}
height={1080}
fps={30}
durationInFrames={120}
/>
<Composition
id="visual-mode-3d"
component={VisualMode3D}
width={1080}
height={1080}
fps={30}
durationInFrames={120}
/>
<Composition
id="sequence-crop-controls"
component={SequenceCropTest}
width={1080}
height={1080}
fps={30}
durationInFrames={120}
/>
<Composition
id="sfx"
component={SfxExample}
width={1080}
height={1080}
fps={30}
durationInFrames={60}
/>
<Folder name="transition-series-overlay">
<Composition
id="overlay-basic"
component={OverlayBasic}
width={1080}
height={1080}
fps={30}
durationInFrames={120}
/>
<Composition
id="overlay-with-offset"
component={OverlayWithOffset}
width={1080}
height={1080}
fps={30}
durationInFrames={120}
/>
<Composition
id="overlay-multiple-scenes"
component={OverlayMultipleScenes}
width={1080}
height={1080}
fps={30}
durationInFrames={180}
/>
<Composition
id="overlay-and-transition-mixed"
component={OverlayAndTransitionMixed}
width={1080}
height={1080}
fps={30}
durationInFrames={165}
/>
</Folder>
<Folder name="tracks">
<Composition
id="track-audio-intrinsic-duration-repro"
component={TrackAudioIntrinsicDurationRepro}
width={1280}
height={720}
fps={30}
durationInFrames={90}
/>
<Composition
id="track-sequence-props"
component={TrackSequenceProps}
width={1280}
height={720}
fps={30}
durationInFrames={180}
/>
<Composition
id="track-prototype"
component={TrackPrototype}
width={1280}
height={720}
fps={30}
durationInFrames={240}
/>
</Folder>
<Folder name="video-editing">
<Composition
id="ActivityStressTest"
component={ActivityStressTest}
width={1280}
height={720}
fps={30}
durationInFrames={ACTIVITY_STRESS_TEST_DURATION}
/>
<Composition
id="hour-long-timeline"
component={HourLongTimelineTestbed}
width={1920}
height={1080}
fps={HOUR_LONG_TIMELINE_FPS}
durationInFrames={HOUR_LONG_TIMELINE_DURATION_IN_FRAMES}
/>
<Composition
id="video-editing-transition-series"
component={Issue8974TransitionSeriesTimeline}
width={1920}
height={1080}
fps={30}
durationInFrames={210}
/>
<Composition
id="video-editing-independent"
component={Issue8974IndependentVideosTimeline}
width={1920}
height={1080}
fps={30}
durationInFrames={366}
/>
<Composition
id="video-editing-series"
component={Issue8974SeriesTimeline}
width={1920}
height={1080}
fps={30}
durationInFrames={366}
/>
</Folder>
<Composition
id="media-timeline-testbed"
component={MediaTimelineTestbed}
width={1920}
height={720}
fps={60}
durationInFrames={180}
/>
<Composition
id="sequence-playback-rate-testbed"
component={SequencePlaybackRateTestbed}
width={1440}
height={1080}
fps={30}
durationInFrames={240}
/>
<Composition
id="intrinsic-duration-loop-testbed"
component={IntrinsicDurationLoopTestbed}
width={1920}
height={1080}
fps={30}
durationInFrames={300}
/>
<Composition
id="sequence-playback-rate-keyframes"
component={SequencePlaybackRateKeyframes}
width={1440}
height={1080}
fps={30}
durationInFrames={180}
/>
<Composition
id="sequence-playback-rate-loops"
component={SequencePlaybackRateLoops}
width={1440}
height={1080}
fps={30}
durationInFrames={300}
/>
<Folder name="VisualModeTests">
<Composition
id="keyframe-trim-testbed"
component={KeyframeTrimTestbed}
width={1920}
height={1440}
fps={30}
durationInFrames={180}
/>
<Composition
id="SourceSubscriptionChurn"
component={SourceSubscriptionChurn}
width={1280}
height={720}
fps={30}
durationInFrames={600}
/>
<Composition
id="caption-left-edge-trim-repro"
component={CaptionLeftEdgeTrimRepro}
width={1920}
height={1080}
fps={30}
durationInFrames={189}
/>
<Composition
id="keyframe-delete-flash"
component={KeyframeDeleteFlash}
width={1280}
height={720}
fps={30}
durationInFrames={420}
/>
<Composition
id="constant-multiplication"
component={ConstantMultiplication}
width={1280}
height={720}
fps={30}
durationInFrames={300}
/>
<Composition
id="affine-frame-clock"
component={AffineFrameClock}
width={1280}
height={720}
fps={30}
durationInFrames={60}
/>
<Composition
id="sequence-shift-repro"
component={SequenceShiftRepro}
width={1280}
height={720}
fps={30}
durationInFrames={30}
/>
<Composition
id="outline-selection-cases"
component={OutlineSelectionCases}
width={1920}
height={1080}
fps={30}
durationInFrames={2340}
/>
<Composition
id="layout-none-outlines"
component={LayoutNoneOutlines}
width={1280}
height={720}
fps={30}
durationInFrames={180}
/>
<Composition
id="fast-updates"
component={FastUpdates}
width={1080}
height={1080}
fps={30}
durationInFrames={60}
/>
<Composition
id="fast-updates-nested"
component={FastUpdatesNested}
width={1080}
height={1080}
fps={30}
durationInFrames={60}
/>
<Composition
id="interactive-html-elements"
component={InteractiveHtmlElements}
width={1080}
height={1080}
fps={30}
durationInFrames={90}
/>
<Composition
id="font-weight-controls"
component={FontWeightControls}
width={1280}
height={720}
fps={30}
durationInFrames={90}
/>
<Composition
id="interactive-svg-elements"
component={InteractiveSvgElements}
width={1080}
height={1080}
fps={30}
durationInFrames={90}
/>
<Composition
id="interactive-paths"
component={InteractivePaths}
width={1080}
height={1080}
fps={30}
durationInFrames={90}
/>
<Composition
id="issue-9582-svg-paint-schema"
component={SvgPaintSchema}
width={1080}
height={1080}
fps={30}
durationInFrames={90}
/>
<Composition
id="video-config-expressions"
component={VideoConfigExpressions}
width={1200}
height={800}
fps={30}
durationInFrames={300}
/>
<Composition
id="issue-9170-duration-subtraction"
component={Issue9170}
width={1200}
height={800}
fps={30}
durationInFrames={120}
/>
<Composition
id="sequence-duration-interpolation"
component={SequenceDurationInterpolation}
width={1200}
height={800}
fps={30}
durationInFrames={120}
/>
</Folder>
<ChangingTrimBeforeValue />
<Composition
id="drag-and-drop-payloads"
component={DragAndDropExample}
width={1280}
height={720}
fps={30}
durationInFrames={30}
/>
<Folder name="error-overlay">
<Composition
id="error-overlay-unsymbolicated-e2e"
component={UnsymbolicatedErrorOverlayRepro}
width={400}
height={400}
fps={30}
durationInFrames={30}
/>
</Folder>
<Composition
id="browser-test"
component={BrowserTest}
width={1280}
height={720}
fps={30}
durationInFrames={2 * 60 * 30}
/>
<Composition
id="variable-google-font"
component={VariableGoogleFont}
width={1280}
height={720}
fps={30}
durationInFrames={180}
/>
</>
);
};