🎥 Make videos programmatically with React
Internal: Add new roller ski commute edit
Jonny Burger3ae84dc85182
diff --git a/packages/jonnys-videos/remotion.config.ts b/packages/jonnys-videos/remotion.config.tsindex 265fe42380..5bd71a3474 100644--- a/packages/jonnys-videos/remotion.config.ts+++ b/packages/jonnys-videos/remotion.config.ts@@ -12,4 +12,6 @@ Config.setOverwriteOutput(true);Config.setChromiumOpenGlRenderer('angle');Config.setDefaultPremountInSeconds(2);Config.setExperimentalTracksEnabled(true);+Config.setExperimentalSequenceActivityEnabled(true);Config.setShowPremounting(false);+Config.setExperimentalSequenceActivityLimit(150);diff --git a/packages/jonnys-videos/src/Root.tsx b/packages/jonnys-videos/src/Root.tsxindex d00d0f9292..82a702ac7f 100644--- a/packages/jonnys-videos/src/Root.tsx+++ b/packages/jonnys-videos/src/Root.tsx@@ -56,6 +56,7 @@ import {ZURICH_PHOTO_DURATION_IN_FRAMES,ZurichPhoto,} from './how-can-remotion-be-free/ZurichPhoto';+import {RemotionRoot as RollerSkisNewRoot} from './roller-skis-new/Root';import {RemotionRoot as RollerSkisRoot} from './roller-skis/Root';export const RemotionRoot: React.FC = () => {@@ -326,6 +327,9 @@ export const RemotionRoot: React.FC = () => {/></Folder></Folder>+ <Folder name="RollerSkis-new">+ <RollerSkisNewRoot />+ </Folder><Folder name="RollerSkis"><RollerSkisRoot /></Folder>diff --git a/packages/jonnys-videos/src/roller-skis-new/RollerSkiCommute.tsx b/packages/jonnys-videos/src/roller-skis-new/RollerSkiCommute.tsxnew file mode 100644index 0000000000..4a77340f12--- /dev/null+++ b/packages/jonnys-videos/src/roller-skis-new/RollerSkiCommute.tsx@@ -0,0 +1,170 @@+import {Audio} from '@remotion/media';+import {linearTiming, TransitionSeries} from '@remotion/transitions';+import {fade} from '@remotion/transitions/fade';+import {pushCut} from '@remotion/transitions/push-cut';+import React from 'react';+import {+ AbsoluteFill,+ interpolate,+ useCurrentFrame,+ useVideoConfig,+} from 'remotion';+import {LightLeakOverlay} from './elements/LightLeakOverlay';+import {Arrival} from './scenes/Arrival';+import {BestCommute} from './scenes/BestCommute';+import {EndCard} from './scenes/EndCard';+import {GearUp} from './scenes/GearUp';+import {Intro} from './scenes/Intro';+import {Office} from './scenes/Office';+import {OffWeGo} from './scenes/OffWeGo';+import {RideMontage} from './scenes/RideMontage';+import {TheDecline} from './scenes/TheDecline';+import {Uphill} from './scenes/Uphill';++export const RollerSkiCommute: React.FC = () => {+ const {fps} = useVideoConfig();+ const frame = useCurrentFrame();++ return (+ <AbsoluteFill style={{backgroundColor: 'black'}}>+ <TransitionSeries name="Roller ski commute">+ <TransitionSeries.Sequence+ name="Intro"+ durationInFrames={529}+ premountFor={fps}+ >+ <Intro />+ </TransitionSeries.Sequence>+ <TransitionSeries.Sequence+ name="Gear up"+ durationInFrames={332}+ premountFor={fps}+ >+ <GearUp />+ </TransitionSeries.Sequence>+ <TransitionSeries.Sequence+ name="Off we go"+ durationInFrames={108}+ premountFor={fps}+ >+ <OffWeGo />+ </TransitionSeries.Sequence>+ <TransitionSeries.Sequence+ name="Uphill"+ durationInFrames={1517}+ premountFor={fps}+ >+ <Uphill />+ </TransitionSeries.Sequence>+ <TransitionSeries.Overlay durationInFrames={40} premountFor={fps}>+ <LightLeakOverlay />+ </TransitionSeries.Overlay>+ <TransitionSeries.Sequence+ name="Best commute"+ durationInFrames={512}+ premountFor={fps}+ >+ <BestCommute />+ </TransitionSeries.Sequence>+ <TransitionSeries.Sequence+ name="The decline"+ durationInFrames={1054}+ premountFor={fps}+ >+ <TheDecline />+ </TransitionSeries.Sequence>+ <TransitionSeries.Transition+ presentation={pushCut()}+ timing={linearTiming({durationInFrames: 10})}+ />+ <TransitionSeries.Sequence+ name="Ride montage"+ durationInFrames={221}+ premountFor={fps}+ >+ <RideMontage />+ </TransitionSeries.Sequence>+ <TransitionSeries.Sequence+ name="Arrival"+ durationInFrames={426}+ premountFor={fps}+ >+ <Arrival />+ </TransitionSeries.Sequence>+ <TransitionSeries.Sequence+ name="Office"+ durationInFrames={1081}+ premountFor={fps}+ >+ <Office />+ </TransitionSeries.Sequence>+ <TransitionSeries.Transition+ presentation={fade()}+ timing={linearTiming({durationInFrames: 20})}+ />+ <TransitionSeries.Sequence+ name="End card"+ durationInFrames={120}+ premountFor={fps}+ >+ <EndCard />+ </TransitionSeries.Sequence>+ </TransitionSeries>+ <Audio+ name="Music"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis-new/music/sunset-render-deja-vu.mp3'+ }+ trimBefore={1207}+ durationInFrames={4048}+ premountFor={fps}+ volume={interpolate(+ frame,+ [+ 0, 20, 520, 529, 611, 617, 656, 662, 722, 728, 786, 792, 969, 984,+ 2000, 2006, 2052, 2058, 2480, 2492, 2990, 3002, 3238, 3242, 3281,+ 3300, 4036, 4048,+ ],+ [+ 0, 0.07, 0.07, 0.5, 0.5, 0.14, 0.14, 0.5, 0.5, 0.14, 0.14, 0.5, 0.5,+ 0.08, 0.08, 0.22, 0.22, 0.08, 0.08, 0.11, 0.11, 0.08, 0.08, 0, 0,+ 0.08, 0.08, 0,+ ],+ {extrapolateLeft: 'clamp', extrapolateRight: 'clamp'},+ )}+ />+ <Audio+ name="Music (drop)"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis-new/music/sunset-render-deja-vu.mp3'+ }+ from={4042}+ trimBefore={3468}+ durationInFrames={1720}+ premountFor={fps}+ volume={interpolate(+ frame,+ [4042, 4046, 4392, 4404, 4689, 4699, 5740, 5762],+ [0, 0.55, 0.55, 0.1, 0.1, 0.07, 0.07, 0],+ {extrapolateLeft: 'clamp', extrapolateRight: 'clamp'},+ )}+ />+ <Audio+ name="Music (outro)"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis-new/music/sunset-render-deja-vu.mp3'+ }+ from={5750}+ trimBefore={6067}+ durationInFrames={120}+ premountFor={fps}+ volume={interpolate(+ frame,+ [5750, 5762, 5840, 5870],+ [0, 0.45, 0.45, 0],+ {extrapolateLeft: 'clamp', extrapolateRight: 'clamp'},+ )}+ />+ </AbsoluteFill>+ );+};diff --git a/packages/jonnys-videos/src/roller-skis-new/Root.tsx b/packages/jonnys-videos/src/roller-skis-new/Root.tsxnew file mode 100644index 0000000000..ec56c418bf--- /dev/null+++ b/packages/jonnys-videos/src/roller-skis-new/Root.tsx@@ -0,0 +1,190 @@+import {Composition, Folder} from 'remotion';+import {AwardBadge} from './elements/AwardBadge';+import {Callout} from './elements/Callout';+import {LocationLowerThird} from './elements/LocationLowerThird';+import {NameLowerThird} from './elements/NameLowerThird';+import {SpeedBadge} from './elements/SpeedBadge';+import {TitleCard} from './elements/TitleCard';+import {RollerSkiCommute} from './RollerSkiCommute';+import {Arrival} from './scenes/Arrival';+import {BestCommute} from './scenes/BestCommute';+import {EndCard} from './scenes/EndCard';+import {GearUp} from './scenes/GearUp';+import {Office} from './scenes/Office';+import {OffWeGo} from './scenes/OffWeGo';+import {RideMontage} from './scenes/RideMontage';+import {TheDecline} from './scenes/TheDecline';+import {Uphill} from './scenes/Uphill';++export const RemotionRoot: React.FC = () => {+ return (+ <>+ <Composition+ id="RollerSkiCommute-new"+ component={RollerSkiCommute}+ durationInFrames={5870}+ fps={30}+ width={1920}+ height={1080}+ />+ <Folder name="Scenes">+ <Composition+ id="GearUp-new"+ component={GearUp}+ durationInFrames={332}+ fps={30}+ width={1920}+ height={1080}+ />+ <Composition+ id="OffWeGo-new"+ component={OffWeGo}+ durationInFrames={108}+ fps={30}+ width={1920}+ height={1080}+ />+ <Composition+ id="Uphill-new"+ component={Uphill}+ durationInFrames={1517}+ fps={30}+ width={1920}+ height={1080}+ />+ <Composition+ id="BestCommute-new"+ component={BestCommute}+ durationInFrames={512}+ fps={30}+ width={1920}+ height={1080}+ />+ <Composition+ id="TheDecline-new"+ component={TheDecline}+ durationInFrames={1054}+ fps={30}+ width={1920}+ height={1080}+ />+ <Composition+ id="RideMontage-new"+ component={RideMontage}+ durationInFrames={221}+ fps={30}+ width={1920}+ height={1080}+ />+ <Composition+ id="Arrival-new"+ component={Arrival}+ durationInFrames={426}+ fps={30}+ width={1920}+ height={1080}+ />+ <Composition+ id="Office-new"+ component={Office}+ durationInFrames={1081}+ fps={30}+ width={1920}+ height={1080}+ />+ <Composition+ id="EndCard-new"+ component={EndCard}+ durationInFrames={120}+ fps={30}+ width={1920}+ height={1080}+ />+ </Folder>+ <Folder name="Elements">+ <Composition+ id="TitleCard-new"+ component={TitleCard}+ durationInFrames={84}+ fps={30}+ width={1920}+ height={1080}+ defaultProps={{+ line1: 'Roller ski',+ line2: 'Commute',+ kicker: 'Zürich · 8 AM',+ accentColor: '#2563eb',+ }}+ />+ <Composition+ id="LocationLowerThird-new"+ component={LocationLowerThird}+ durationInFrames={110}+ fps={30}+ width={1920}+ height={1080}+ defaultProps={{+ location: 'Zürich, Switzerland',+ time: '08:07',+ accentColor: '#2563eb',+ style: {position: 'absolute', left: 80, top: 70},+ }}+ />+ <Composition+ id="NameLowerThird-new"+ component={NameLowerThird}+ durationInFrames={100}+ fps={30}+ width={1920}+ height={1080}+ defaultProps={{+ personName: 'Mehmet',+ title: 'Already at work',+ accentColor: '#2563eb',+ style: {position: 'absolute', left: 80, top: 70},+ }}+ />+ <Composition+ id="Callout-new"+ component={Callout}+ durationInFrames={90}+ fps={30}+ width={1920}+ height={1080}+ defaultProps={{+ label: 'Feature',+ text: "Can't roll backwards",+ icon: 'check',+ accentColor: '#16a34a',+ style: {position: 'absolute', left: 80, top: 70},+ }}+ />+ <Composition+ id="SpeedBadge-new"+ component={SpeedBadge}+ durationInFrames={80}+ fps={30}+ width={1920}+ height={1080}+ defaultProps={{+ speed: '6×',+ style: {position: 'absolute', right: 80, top: 70},+ }}+ />+ <Composition+ id="AwardBadge-new"+ component={AwardBadge}+ durationInFrames={66}+ fps={30}+ width={1920}+ height={1080}+ defaultProps={{+ award: 'Best commute',+ winner: 'Jonny',+ style: {position: 'absolute', right: 80, top: 70},+ }}+ />+ </Folder>+ </>+ );+};diff --git a/packages/jonnys-videos/src/roller-skis-new/elements/AwardBadge.tsx b/packages/jonnys-videos/src/roller-skis-new/elements/AwardBadge.tsxnew file mode 100644index 0000000000..a033df771a--- /dev/null+++ b/packages/jonnys-videos/src/roller-skis-new/elements/AwardBadge.tsx@@ -0,0 +1,123 @@+import React from 'react';+import {+ Easing,+ Interactive,+ interpolate,+ useCurrentFrame,+ useVideoConfig,+ type InteractiveTransformProps,+ type InteractivitySchema,+} from 'remotion';+import {fontFamily} from './font';++type AwardBadgeProps = InteractiveTransformProps & {+ readonly award: string;+ readonly winner: string;+};++const AwardBadgeInner: React.FC<AwardBadgeProps> = ({award, winner, style}) => {+ const frame = useCurrentFrame();+ const {durationInFrames} = useVideoConfig();++ return (+ <Interactive.Div+ name="Award"+ showInTimeline={false}+ style={{+ display: 'flex',+ alignItems: 'center',+ gap: 26,+ padding: '22px 44px 22px 24px',+ borderRadius: 32,+ background: 'linear-gradient(135deg, #fde68a 0%, #f59e0b 100%)',+ boxShadow: '0 18px 50px rgba(0, 0, 0, 0.4)',+ fontFamily,+ whiteSpace: 'nowrap',+ scale: interpolate(+ frame,+ [0, 14, durationInFrames - 8, durationInFrames],+ [0.3, 1, 1, 0.8],+ {+ easing: [+ Easing.spring({damping: 10}),+ Easing.linear,+ Easing.in(Easing.cubic),+ ],+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ output: 'perceptual-scale',+ },+ ),+ rotate: interpolate(+ frame,+ [0, 6, 12, 18],+ ['-12deg', '6deg', '-3deg', '0deg'],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ },+ ),+ opacity: interpolate(+ frame,+ [0, 3, durationInFrames - 6, durationInFrames],+ [0, 1, 1, 0],+ {extrapolateLeft: 'clamp', extrapolateRight: 'clamp'},+ ),+ ...style,+ }}+ >+ <svg width={110} height={110} viewBox="0 0 64 64">+ <circle cx="32" cy="32" r="32" fill="#78350f" />+ <path+ d="M22 16 H42 V26 C42 32 38 36 32 36 C26 36 22 32 22 26 Z"+ fill="#fde68a"+ />+ <path+ d="M22 19 H15 C15 26 18 29 23 29 M42 19 H49 C49 26 46 29 41 29"+ fill="none"+ stroke="#fde68a"+ strokeWidth="3"+ strokeLinecap="round"+ />+ <rect x="29" y="36" width="6" height="7" fill="#fde68a" />+ <rect x="22" y="43" width="20" height="6" rx="2" fill="#fde68a" />+ </svg>+ <div style={{display: 'flex', flexDirection: 'column'}}>+ <div+ style={{+ color: '#78350f',+ fontSize: 30,+ fontWeight: 800,+ letterSpacing: 5,+ textTransform: 'uppercase',+ }}+ >+ {award}+ </div>+ <div+ style={{+ color: '#1c1917',+ fontSize: 72,+ fontWeight: 900,+ letterSpacing: -2,+ lineHeight: 1,+ }}+ >+ {winner}+ </div>+ </div>+ </Interactive.Div>+ );+};++const awardBadgeSchema = {+ award: {type: 'string', default: 'Award', description: 'Award'},+ winner: {type: 'string', default: 'Winner', description: 'Winner'},+} as const satisfies InteractivitySchema;++export const AwardBadge = Interactive.withSchema({+ Component: AwardBadgeInner,+ componentName: '<AwardBadge>',+ schema: awardBadgeSchema,+ wrapInSequence: true,+});diff --git a/packages/jonnys-videos/src/roller-skis-new/elements/Callout.tsx b/packages/jonnys-videos/src/roller-skis-new/elements/Callout.tsxnew file mode 100644index 0000000000..28dd2ba0e2--- /dev/null+++ b/packages/jonnys-videos/src/roller-skis-new/elements/Callout.tsx@@ -0,0 +1,144 @@+import React from 'react';+import {+ Easing,+ Interactive,+ interpolate,+ useCurrentFrame,+ useVideoConfig,+ type InteractiveTransformProps,+ type InteractivitySchema,+} from 'remotion';+import {fontFamily} from './font';++type CalloutIcon = 'check' | 'warning' | 'cross';++type CalloutProps = InteractiveTransformProps & {+ readonly label: string;+ readonly text: string;+ readonly icon: CalloutIcon;+ readonly accentColor: string;+};++const iconPaths: Record<CalloutIcon, string> = {+ check: 'M14 25 L21 32 L34 17',+ warning: 'M24 13 L24 27 M24 34 L24 35',+ cross: 'M16 16 L32 32 M32 16 L16 32',+};++const CalloutInner: React.FC<CalloutProps> = ({+ label,+ text,+ icon,+ accentColor,+ style,+}) => {+ const frame = useCurrentFrame();+ const {durationInFrames} = useVideoConfig();++ return (+ <Interactive.Div+ name="Callout"+ showInTimeline={false}+ style={{+ display: 'flex',+ alignItems: 'center',+ gap: 22,+ padding: '16px 40px 16px 16px',+ borderRadius: 999,+ backgroundColor: 'white',+ boxShadow: '0 14px 40px rgba(0, 0, 0, 0.35)',+ fontFamily,+ whiteSpace: 'nowrap',+ transformOrigin: 'left center',+ scale: interpolate(+ frame,+ [0, 12, durationInFrames - 8, durationInFrames],+ [0.4, 1, 1, 0.85],+ {+ easing: [+ Easing.spring({damping: 12}),+ Easing.linear,+ Easing.in(Easing.cubic),+ ],+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ output: 'perceptual-scale',+ },+ ),+ opacity: interpolate(+ frame,+ [0, 4, durationInFrames - 6, durationInFrames],+ [0, 1, 1, 0],+ {extrapolateLeft: 'clamp', extrapolateRight: 'clamp'},+ ),+ ...style,+ }}+ >+ <svg width={84} height={84} viewBox="0 0 48 48">+ <circle cx="24" cy="24" r="24" fill={accentColor} />+ <path+ d={iconPaths[icon]}+ pathLength={1}+ strokeDasharray={1}+ strokeDashoffset={interpolate(frame, [6, 16], [1, 0], {+ easing: Easing.out(Easing.cubic),+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ })}+ fill="none"+ stroke="white"+ strokeWidth={5}+ strokeLinecap="round"+ strokeLinejoin="round"+ />+ </svg>+ <div style={{display: 'flex', flexDirection: 'column'}}>+ <div+ style={{+ color: accentColor,+ fontSize: 28,+ fontWeight: 800,+ letterSpacing: 4,+ textTransform: 'uppercase',+ }}+ >+ {label}+ </div>+ <div+ style={{+ color: '#18181b',+ fontSize: 50,+ fontWeight: 800,+ letterSpacing: -1,+ lineHeight: 1.1,+ }}+ >+ {text}+ </div>+ </div>+ </Interactive.Div>+ );+};++const calloutSchema = {+ label: {type: 'string', default: 'Feature', description: 'Label'},+ text: {type: 'string', default: 'Text', description: 'Text'},+ icon: {+ type: 'enum',+ default: 'check',+ description: 'Icon',+ variants: {check: {}, warning: {}, cross: {}},+ },+ accentColor: {+ type: 'color',+ default: '#16a34a',+ description: 'Accent color',+ },+} as const satisfies InteractivitySchema;++export const Callout = Interactive.withSchema({+ Component: CalloutInner,+ componentName: '<Callout>',+ schema: calloutSchema,+ wrapInSequence: true,+});diff --git a/packages/jonnys-videos/src/roller-skis-new/elements/LightLeakOverlay.tsx b/packages/jonnys-videos/src/roller-skis-new/elements/LightLeakOverlay.tsxnew file mode 100644index 0000000000..f40d1a8153--- /dev/null+++ b/packages/jonnys-videos/src/roller-skis-new/elements/LightLeakOverlay.tsx@@ -0,0 +1,27 @@+import {lightLeak} from '@remotion/effects/light-leak';+import React from 'react';+import {interpolate, Solid, useCurrentFrame, useVideoConfig} from 'remotion';++export const LightLeakOverlay: React.FC = () => {+ const frame = useCurrentFrame();+ const {durationInFrames, fps, height, width} = useVideoConfig();++ return (+ <Solid+ name="Light leak"+ width={width}+ height={height}+ premountFor={fps}+ effects={[+ lightLeak({+ seed: 3,+ hueShift: 0,+ progress: interpolate(frame, [0, durationInFrames - 1], [0, 1], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ }),+ }),+ ]}+ />+ );+};diff --git a/packages/jonnys-videos/src/roller-skis-new/elements/LocationLowerThird.tsx b/packages/jonnys-videos/src/roller-skis-new/elements/LocationLowerThird.tsxnew file mode 100644index 0000000000..e00b657464--- /dev/null+++ b/packages/jonnys-videos/src/roller-skis-new/elements/LocationLowerThird.tsx@@ -0,0 +1,178 @@+import React from 'react';+import {+ Easing,+ Interactive,+ interpolate,+ useCurrentFrame,+ useVideoConfig,+ type InteractiveTransformProps,+ type InteractivitySchema,+} from 'remotion';+import {fontFamily} from './font';++type LocationLowerThirdProps = InteractiveTransformProps & {+ readonly location: string;+ readonly time: string;+ readonly accentColor: string;+};++const LocationLowerThirdInner: React.FC<LocationLowerThirdProps> = ({+ location,+ time,+ accentColor,+ style,+}) => {+ const frame = useCurrentFrame();+ const {durationInFrames} = useVideoConfig();++ return (+ <Interactive.Div+ name="Container"+ showInTimeline={false}+ style={{+ display: 'flex',+ alignItems: 'center',+ gap: 18,+ fontFamily,+ ...style,+ }}+ >+ <Interactive.Svg+ name="Location pin"+ viewBox="0 0 64 80"+ style={{+ width: 78,+ height: 98,+ overflow: 'visible',+ filter: 'drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35))',+ opacity: interpolate(+ frame,+ [0, 9, durationInFrames - 12, durationInFrames - 1],+ [0, 1, 1, 0],+ {extrapolateLeft: 'clamp', extrapolateRight: 'clamp'},+ ),+ translate: interpolate(+ frame,+ [0, 16, durationInFrames - 14, durationInFrames - 1],+ ['0px -14px', '0px 0px', '0px 0px', '0px -10px'],+ {+ easing: Easing.out(Easing.cubic),+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ },+ ),+ }}+ >+ <path+ d="M32 3C15.4 3 4 15.4 4 31C4 50.8 22.1 69.6 29.3 76.2C30.8 77.6 33.2 77.6 34.7 76.2C41.9 69.6 60 50.8 60 31C60 15.4 48.6 3 32 3Z"+ pathLength="1"+ fill={accentColor}+ fillOpacity={interpolate(+ frame,+ [5, 18, durationInFrames - 15, durationInFrames - 6],+ [0, 1, 1, 0],+ {extrapolateLeft: 'clamp', extrapolateRight: 'clamp'},+ )}+ stroke="white"+ strokeDasharray="1"+ strokeDashoffset={interpolate(+ frame,+ [0, 16, durationInFrames - 15, durationInFrames - 4],+ [1, 0, 0, 1],+ {+ easing: Easing.out(Easing.cubic),+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ },+ )}+ strokeLinecap="round"+ strokeLinejoin="round"+ strokeWidth="3"+ />+ <circle+ cx="32"+ cy="30"+ r={interpolate(+ frame,+ [10, 21, durationInFrames - 18, durationInFrames - 8],+ [0, 9, 9, 0],+ {+ easing: Easing.out(Easing.cubic),+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ },+ )}+ fill="white"+ />+ </Interactive.Svg>+ <Interactive.Div+ name="Label"+ cropRight={interpolate(+ frame,+ [10, 30, durationInFrames - 28, durationInFrames - 10],+ [1, 0, 0, 1],+ {+ easing: [+ Easing.bezier(0.65, 0, 0.35, 1),+ Easing.linear,+ Easing.bezier(0.65, 0, 0.35, 1),+ ],+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ },+ )}+ style={{+ display: 'flex',+ alignItems: 'center',+ gap: 18,+ padding: '16px 18px 16px 30px',+ borderRadius: 999,+ backgroundColor: 'white',+ boxShadow: '0 10px 30px rgba(0, 0, 0, 0.3)',+ whiteSpace: 'nowrap',+ }}+ >+ <div+ style={{+ color: '#18181b',+ fontSize: 50,+ fontWeight: 800,+ letterSpacing: -1,+ }}+ >+ {location}+ </div>+ <div+ style={{+ padding: '8px 18px',+ borderRadius: 999,+ backgroundColor: accentColor,+ color: 'white',+ fontSize: 34,+ fontWeight: 700,+ fontVariantNumeric: 'tabular-nums',+ }}+ >+ {time}+ </div>+ </Interactive.Div>+ </Interactive.Div>+ );+};++const locationLowerThirdSchema = {+ location: {type: 'string', default: 'Zürich', description: 'Location'},+ time: {type: 'string', default: '08:00', description: 'Time'},+ accentColor: {+ type: 'color',+ default: '#2563eb',+ description: 'Accent color',+ },+} as const satisfies InteractivitySchema;++export const LocationLowerThird = Interactive.withSchema({+ Component: LocationLowerThirdInner,+ componentName: '<LocationLowerThird>',+ schema: locationLowerThirdSchema,+ wrapInSequence: true,+});diff --git a/packages/jonnys-videos/src/roller-skis-new/elements/NameLowerThird.tsx b/packages/jonnys-videos/src/roller-skis-new/elements/NameLowerThird.tsxnew file mode 100644index 0000000000..c59748b4bc--- /dev/null+++ b/packages/jonnys-videos/src/roller-skis-new/elements/NameLowerThird.tsx@@ -0,0 +1,119 @@+import React from 'react';+import {+ Easing,+ Interactive,+ interpolate,+ useCurrentFrame,+ useVideoConfig,+ type InteractiveTransformProps,+ type InteractivitySchema,+} from 'remotion';+import {fontFamily} from './font';++type NameLowerThirdProps = InteractiveTransformProps & {+ readonly personName: string;+ readonly title: string;+ readonly accentColor: string;+};++const NameLowerThirdInner: React.FC<NameLowerThirdProps> = ({+ personName,+ title,+ accentColor,+ style,+}) => {+ const frame = useCurrentFrame();+ const {durationInFrames} = useVideoConfig();++ return (+ <Interactive.Div+ name="Container"+ showInTimeline={false}+ style={{+ display: 'flex',+ flexDirection: 'column',+ alignItems: 'flex-start',+ fontFamily,+ ...style,+ }}+ >+ <Interactive.Div+ name="Name bar"+ cropRight={interpolate(+ frame,+ [0, 20, durationInFrames - 24, durationInFrames - 4],+ [1, 0, 0, 1],+ {+ easing: [+ Easing.bezier(0.65, 0, 0.35, 1),+ Easing.linear,+ Easing.bezier(0.65, 0, 0.35, 1),+ ],+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ },+ )}+ style={{+ display: 'flex',+ alignItems: 'center',+ height: 84,+ padding: '0 30px',+ backgroundColor: accentColor,+ color: '#ffffff',+ fontSize: 50,+ fontWeight: 800,+ whiteSpace: 'nowrap',+ }}+ >+ {personName}+ </Interactive.Div>+ <Interactive.Div+ name="Title bar"+ cropRight={interpolate(+ frame,+ [4, 24, durationInFrames - 28, durationInFrames - 8],+ [1, 0, 0, 1],+ {+ easing: [+ Easing.bezier(0.65, 0, 0.35, 1),+ Easing.linear,+ Easing.bezier(0.65, 0, 0.35, 1),+ ],+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ },+ )}+ style={{+ display: 'flex',+ alignItems: 'center',+ height: 62,+ padding: '0 30px',+ backgroundColor: '#18181b',+ color: '#ffffff',+ fontSize: 34,+ fontWeight: 700,+ whiteSpace: 'nowrap',+ }}+ >+ {title}+ </Interactive.Div>+ </Interactive.Div>+ );+};++const nameLowerThirdSchema = {+ personName: {type: 'string', default: 'Name', description: 'Name'},+ title: {type: 'string', default: 'Title', description: 'Title'},+ accentColor: {+ type: 'color',+ default: '#2563eb',+ description: 'Accent color',+ },+} as const satisfies InteractivitySchema;++export const NameLowerThird = Interactive.withSchema({+ Component: NameLowerThirdInner,+ componentName: '<NameLowerThird>',+ schema: nameLowerThirdSchema,+ wrapInSequence: true,+});diff --git a/packages/jonnys-videos/src/roller-skis-new/elements/SpeedBadge.tsx b/packages/jonnys-videos/src/roller-skis-new/elements/SpeedBadge.tsxnew file mode 100644index 0000000000..91451cc416--- /dev/null+++ b/packages/jonnys-videos/src/roller-skis-new/elements/SpeedBadge.tsx@@ -0,0 +1,68 @@+import React from 'react';+import {+ Easing,+ Interactive,+ interpolate,+ useCurrentFrame,+ useVideoConfig,+ type InteractiveTransformProps,+ type InteractivitySchema,+} from 'remotion';+import {fontFamily} from './font';++type SpeedBadgeProps = InteractiveTransformProps & {+ readonly speed: string;+};++const SpeedBadgeInner: React.FC<SpeedBadgeProps> = ({speed, style}) => {+ const frame = useCurrentFrame();+ const {durationInFrames} = useVideoConfig();++ return (+ <Interactive.Div+ name="Speed badge"+ showInTimeline={false}+ style={{+ display: 'flex',+ alignItems: 'center',+ gap: 16,+ padding: '14px 30px 14px 24px',+ borderRadius: 999,+ backgroundColor: 'rgba(0, 0, 0, 0.55)',+ color: 'white',+ fontFamily,+ fontSize: 52,+ fontWeight: 800,+ fontVariantNumeric: 'tabular-nums',+ opacity: interpolate(+ frame,+ [0, 4, durationInFrames - 4, durationInFrames],+ [0, 1, 1, 0],+ {extrapolateLeft: 'clamp', extrapolateRight: 'clamp'},+ ),+ translate: interpolate(frame, [0, 8], ['0px -20px', '0px 0px'], {+ easing: Easing.out(Easing.cubic),+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ }),+ ...style,+ }}+ >+ <svg width={56} height={40} viewBox="0 0 56 40">+ <path d="M2 2 L26 20 L2 38 Z M28 2 L52 20 L28 38 Z" fill="white" />+ </svg>+ {speed}+ </Interactive.Div>+ );+};++const speedBadgeSchema = {+ speed: {type: 'string', default: '2×', description: 'Speed'},+} as const satisfies InteractivitySchema;++export const SpeedBadge = Interactive.withSchema({+ Component: SpeedBadgeInner,+ componentName: '<SpeedBadge>',+ schema: speedBadgeSchema,+ wrapInSequence: true,+});diff --git a/packages/jonnys-videos/src/roller-skis-new/elements/TitleCard.tsx b/packages/jonnys-videos/src/roller-skis-new/elements/TitleCard.tsxnew file mode 100644index 0000000000..13e2d1539b--- /dev/null+++ b/packages/jonnys-videos/src/roller-skis-new/elements/TitleCard.tsx@@ -0,0 +1,165 @@+import React from 'react';+import {+ AbsoluteFill,+ Easing,+ Interactive,+ interpolate,+ useCurrentFrame,+ useVideoConfig,+ type InteractiveTransformProps,+ type InteractivitySchema,+} from 'remotion';+import {fontFamily} from './font';++type TitleCardProps = InteractiveTransformProps & {+ readonly line1: string;+ readonly line2: string;+ readonly kicker: string;+ readonly accentColor: string;+};++const TitleCardInner: React.FC<TitleCardProps> = ({+ line1,+ line2,+ kicker,+ accentColor,+ style,+}) => {+ const frame = useCurrentFrame();+ const {durationInFrames} = useVideoConfig();++ return (+ <AbsoluteFill+ style={{+ justifyContent: 'center',+ alignItems: 'center',+ fontFamily,+ ...style,+ }}+ >+ <AbsoluteFill+ name="Shade"+ style={{+ background:+ 'radial-gradient(ellipse at center, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 70%)',+ opacity: interpolate(+ frame,+ [0, 4, durationInFrames - 8, durationInFrames],+ [0, 1, 1, 0],+ {extrapolateLeft: 'clamp', extrapolateRight: 'clamp'},+ ),+ }}+ />+ <Interactive.Div+ name="Title"+ style={{+ display: 'flex',+ flexDirection: 'column',+ alignItems: 'center',+ scale: interpolate(+ frame,+ [0, 10, durationInFrames - 8, durationInFrames],+ [1.25, 1, 1.03, 1.12],+ {+ easing: Easing.bezier(0.16, 1, 0.3, 1),+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ output: 'perceptual-scale',+ },+ ),+ opacity: interpolate(+ frame,+ [0, 3, durationInFrames - 6, durationInFrames],+ [0, 1, 1, 0],+ {extrapolateLeft: 'clamp', extrapolateRight: 'clamp'},+ ),+ }}+ >+ <div+ style={{+ color: 'white',+ fontSize: 44,+ fontWeight: 700,+ letterSpacing: 14,+ textTransform: 'uppercase',+ textShadow: '0 4px 20px rgba(0,0,0,0.5)',+ marginBottom: 18,+ opacity: interpolate(frame, [6, 14], [0, 1], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ }),+ }}+ >+ {kicker}+ </div>+ <div+ style={{+ color: 'white',+ fontSize: 200,+ fontWeight: 900,+ lineHeight: 0.95,+ letterSpacing: -4,+ textTransform: 'uppercase',+ textShadow: '0 10px 40px rgba(0,0,0,0.45)',+ }}+ >+ {line1}+ </div>+ <div+ style={{+ position: 'relative',+ marginTop: 14,+ padding: '0px 36px',+ }}+ >+ <Interactive.Div+ name="Marker"+ cropRight={interpolate(frame, [3, 14], [1, 0], {+ easing: Easing.bezier(0.65, 0, 0.35, 1),+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ })}+ style={{+ position: 'absolute',+ inset: 0,+ backgroundColor: accentColor,+ borderRadius: 18,+ rotate: '-1.5deg',+ }}+ />+ <div+ style={{+ position: 'relative',+ color: 'white',+ fontSize: 200,+ fontWeight: 900,+ lineHeight: 1.05,+ letterSpacing: -4,+ textTransform: 'uppercase',+ }}+ >+ {line2}+ </div>+ </div>+ </Interactive.Div>+ </AbsoluteFill>+ );+};++const titleCardSchema = {+ line1: {type: 'string', default: 'Roller ski', description: 'First line'},+ line2: {type: 'string', default: 'Commute', description: 'Second line'},+ kicker: {type: 'string', default: '', description: 'Kicker'},+ accentColor: {+ type: 'color',+ default: '#2563eb',+ description: 'Accent color',+ },+} as const satisfies InteractivitySchema;++export const TitleCard = Interactive.withSchema({+ Component: TitleCardInner,+ componentName: '<TitleCard>',+ schema: titleCardSchema,+ wrapInSequence: true,+});diff --git a/packages/jonnys-videos/src/roller-skis-new/elements/font.ts b/packages/jonnys-videos/src/roller-skis-new/elements/font.tsnew file mode 100644index 0000000000..bfce461078--- /dev/null+++ b/packages/jonnys-videos/src/roller-skis-new/elements/font.ts@@ -0,0 +1,6 @@+import {loadFont} from '@remotion/google-fonts/Montserrat';++export const {fontFamily} = loadFont('normal', {+ weights: ['600', '700', '800', '900'],+ subsets: ['latin'],+});diff --git a/packages/jonnys-videos/src/roller-skis-new/elements/popping-word-captions.tsx b/packages/jonnys-videos/src/roller-skis-new/elements/popping-word-captions.tsxnew file mode 100644index 0000000000..6ca3d8372f--- /dev/null+++ b/packages/jonnys-videos/src/roller-skis-new/elements/popping-word-captions.tsx@@ -0,0 +1,278 @@+import type {Caption, TikTokPage, TikTokToken} from '@remotion/captions';+import {createTikTokStyleCaptions} from '@remotion/captions';+import {loadFont} from '@remotion/google-fonts/Montserrat';+import {fitText} from '@remotion/layout-utils';+import React, {useEffect, useMemo, useState} from 'react';+import {+ cancelRender,+ Interactive,+ interpolate,+ spring,+ useCurrentFrame,+ useVideoConfig,+ type InteractiveTransformProps,+ type InteractivitySchema,+ type SequenceProps,+} from 'remotion';++type PoppingWordCaptionsProps = InteractiveTransformProps &+ Pick<SequenceProps, 'width'> & {+ readonly captions: Caption[];+ readonly combineTokensWithinMilliseconds: number | null;+ };++const desiredFontSize = 80;+const fontWeight = '700';+const textColor = '#ffffff';+const highlightColor = '#2563eb';+const activeWordScale = 1.03;+const defaultCombineTokensWithinMilliseconds = 800;+const defaultWidth = 682;++const poppingWordCaptionsSchema = {+ ...Interactive.captionsSchema,+ width: {+ type: 'number',+ min: 1,+ step: 1,+ default: undefined,+ description: 'Caption area width',+ hiddenFromList: false,+ },+ combineTokensWithinMilliseconds: {+ type: 'number',+ min: 0,+ step: 50,+ default: defaultCombineTokensWithinMilliseconds,+ description: 'Time between caption pages',+ hiddenFromList: false,+ },+} as const satisfies InteractivitySchema;++const {fontFamily, waitUntilDone} = loadFont('normal', {+ weights: [fontWeight],+ subsets: ['latin'],+});++const isTimeWithinHalfOpenInterval = (+ timeMs: number,+ fromMs: number,+ toMs: number,+) => timeMs >= fromMs && timeMs < toMs;++const getActivePageIndex = (+ pages: readonly Pick<TikTokPage, 'startMs' | 'durationMs'>[],+ timeMs: number,+) =>+ pages.findIndex((page) =>+ isTimeWithinHalfOpenInterval(+ timeMs,+ page.startMs,+ page.startMs + page.durationMs,+ ),+ );++const getActiveTokenIndex = (+ tokens: readonly Pick<TikTokToken, 'fromMs' | 'toMs'>[],+ timeMs: number,+) =>+ tokens.findIndex((token) =>+ isTimeWithinHalfOpenInterval(timeMs, token.fromMs, token.toMs),+ );++const getTokenScale = ({+ currentTimeMs,+ fps,+ token,+}: {+ readonly currentTimeMs: number;+ readonly fps: number;+ readonly token: Pick<TikTokToken, 'fromMs' | 'toMs'>;+}) => {+ if (!isTimeWithinHalfOpenInterval(currentTimeMs, token.fromMs, token.toMs)) {+ return 1;+ }++ const tokenDurationInFrames = ((token.toMs - token.fromMs) / 1000) * fps;+ const tokenLocalFrame = ((currentTimeMs - token.fromMs) / 1000) * fps;+ const animationDurationInFrames = Math.min(4, tokenDurationInFrames / 2);+ const enterProgress = spring({+ config: {damping: 200},+ durationInFrames: animationDurationInFrames,+ fps,+ frame: tokenLocalFrame,+ });+ const exitProgress = interpolate(+ tokenLocalFrame,+ [tokenDurationInFrames - animationDurationInFrames, tokenDurationInFrames],+ [1, 0],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ },+ );++ return 1 + Math.min(enterProgress, exitProgress) * (activeWordScale - 1);+};++const CaptionPage: React.FC<{+ readonly captionAreaWidth: number | null;+ readonly currentTimeMs: number;+ readonly fps: number;+ readonly page: TikTokPage;+ readonly pageIndex: number;+}> = ({captionAreaWidth, currentTimeMs, fps, page, pageIndex}) => {+ const {width: compositionWidth} = useVideoConfig();+ const availableWidth = captionAreaWidth ?? compositionWidth;+ const fontSize = useMemo(() => {+ const maximumTokenWidth = Math.max(1, availableWidth / activeWordScale);+ const tokenFontSizes = page.tokens+ .map((token) => token.text.trim())+ .filter(Boolean)+ .map(+ (text) =>+ fitText({+ fontFamily,+ fontWeight,+ text,+ validateFontIsLoaded: true,+ withinWidth: maximumTokenWidth,+ }).fontSize,+ );++ return Math.min(+ desiredFontSize,+ fitText({+ fontFamily,+ fontWeight,+ text: page.text,+ validateFontIsLoaded: true,+ withinWidth: availableWidth,+ }).fontSize,+ ...tokenFontSizes,+ );+ }, [availableWidth, page.text, page.tokens]);+ const activeTokenIndex = getActiveTokenIndex(page.tokens, currentTimeMs);+ const textStrokeWidth = fontSize / 7;++ return (+ <div+ style={{+ alignItems: 'center',+ display: 'flex',+ height: '100%',+ justifyContent: 'center',+ width: '100%',+ }}+ >+ <div+ style={{+ color: textColor,+ fontFamily,+ fontSize,+ fontWeight,+ lineHeight: 1.5,+ paintOrder: 'stroke fill',+ textAlign: 'center',+ WebkitTextStroke: `${textStrokeWidth}px #000000`,+ whiteSpace: 'normal',+ width: '100%',+ }}+ >+ {page.tokens.map((token, tokenIndex) => {+ const isActive = tokenIndex === activeTokenIndex;+ const visibleText = token.text.trim();+ const visibleTextIndex = token.text.indexOf(visibleText);+ const leadingWhitespace = visibleText+ ? token.text.slice(0, visibleTextIndex)+ : token.text;+ const trailingWhitespace = visibleText+ ? token.text.slice(visibleTextIndex + visibleText.length)+ : '';++ return (+ <React.Fragment+ key={`${pageIndex}-${page.startMs}-${token.fromMs}-${tokenIndex}`}+ >+ {leadingWhitespace}+ <span+ style={{+ color: isActive ? highlightColor : textColor,+ display: 'inline-block',+ scale: getTokenScale({currentTimeMs, fps, token}),+ transformOrigin: 'center bottom',+ whiteSpace: 'pre',+ }}+ >+ {visibleText}+ </span>+ {trailingWhitespace}+ </React.Fragment>+ );+ })}+ </div>+ </div>+ );+};++const PoppingWordCaptionsContent: React.FC<PoppingWordCaptionsProps> = ({+ captions,+ combineTokensWithinMilliseconds,+ style,+ width = defaultWidth,+}) => {+ const [fontLoaded, setFontLoaded] = useState(false);++ useEffect(() => {+ waitUntilDone()+ .then(() => {+ setFontLoaded(true);+ })+ .catch((error) => {+ cancelRender(error instanceof Error ? error : new Error(String(error)));+ });+ }, []);++ const frame = useCurrentFrame();+ const {fps} = useVideoConfig();+ const pages = useMemo(+ () =>+ createTikTokStyleCaptions({+ captions,+ combineTokensWithinMilliseconds:+ combineTokensWithinMilliseconds ??+ defaultCombineTokensWithinMilliseconds,+ }).pages,+ [captions, combineTokensWithinMilliseconds],+ );+ const currentTimeMs = (frame / fps) * 1000;+ const activePageIndex = getActivePageIndex(pages, currentTimeMs);+ const page = pages[activePageIndex];++ return (+ <div+ style={{+ width,+ ...style,+ }}+ >+ {fontLoaded && page ? (+ <CaptionPage+ key={`${activePageIndex}-${page.startMs}`}+ captionAreaWidth={width ?? null}+ currentTimeMs={currentTimeMs}+ fps={fps}+ page={page}+ pageIndex={activePageIndex}+ />+ ) : null}+ </div>+ );+};++export const PoppingWordCaptions = Interactive.withSchema({+ Component: PoppingWordCaptionsContent,+ componentName: '<PoppingWordCaptions>',+ schema: poppingWordCaptionsSchema,+ wrapInSequence: true,+});diff --git a/packages/jonnys-videos/src/roller-skis-new/scenes/Arrival.tsx b/packages/jonnys-videos/src/roller-skis-new/scenes/Arrival.tsxnew file mode 100644index 0000000000..73832edd57--- /dev/null+++ b/packages/jonnys-videos/src/roller-skis-new/scenes/Arrival.tsx@@ -0,0 +1,259 @@+import {Audio, Video} from '@remotion/media';+import React from 'react';+import {+ AbsoluteFill,+ Easing,+ Interactive,+ interpolate,+ Series,+ useCurrentFrame,+ useVideoConfig,+ type InteractiveTransformProps,+} from 'remotion';+import {LocationLowerThird} from '../elements/LocationLowerThird';+import {PoppingWordCaptions} from '../elements/popping-word-captions';++const ArrivalInner: React.FC<InteractiveTransformProps> = ({style}) => {+ const {fps} = useVideoConfig();+ const frame = useCurrentFrame();++ return (+ <AbsoluteFill style={{backgroundColor: 'black', ...style}}>+ <Series>+ <Series.Sequence+ name="Low angle"+ trimBefore={75}+ durationInFrames={135}+ premountFor={fps}+ >+ <Video+ name="IMG_0471"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis-new/footage/IMG_0471.mp4'+ }+ volume={1}+ premountFor={fps}+ objectFit="cover"+ style={{width: '100%', height: '100%'}}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Remotion headquarters"+ trimBefore={98}+ durationInFrames={124}+ premountFor={fps}+ >+ <Video+ name="IMG_0472"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis-new/footage/IMG_0472.mp4'+ }+ volume={1}+ premountFor={fps}+ objectFit="cover"+ style={{+ width: '100%',+ height: '100%',+ scale: interpolate(frame, [193, 202], [1, 1.1], {+ easing: Easing.bezier(0.16, 1, 0.3, 1),+ output: 'perceptual-scale',+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ }),+ }}+ />+ <PoppingWordCaptions+ combineTokensWithinMilliseconds={null}+ name="Captions"+ premountFor={fps}+ width={1600}+ style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}+ captions={[+ {+ text: ' Here',+ startMs: 3500,+ endMs: 3680,+ timestampMs: 3590,+ confidence: null,+ },+ {+ text: ' we',+ startMs: 3680,+ endMs: 3860,+ timestampMs: 3770,+ confidence: null,+ },+ {+ text: ' are',+ startMs: 3860,+ endMs: 4220,+ timestampMs: 4040,+ confidence: null,+ },+ {+ text: ' baby,',+ startMs: 4220,+ endMs: 5060,+ timestampMs: 4640,+ confidence: null,+ },+ {+ text: ' Remotion',+ startMs: 5340,+ endMs: 6760,+ timestampMs: 6050,+ confidence: null,+ },+ {+ text: ' headquarters!',+ startMs: 6760,+ endMs: 7280,+ timestampMs: 7020,+ confidence: null,+ },+ ]}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Here we are"+ trimBefore={60}+ durationInFrames={50}+ premountFor={fps}+ >+ <Video+ name="IMG_0474"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0474.MOV'+ }+ volume={1}+ premountFor={fps}+ objectFit="cover"+ style={{width: '100%', height: '100%'}}+ />+ <PoppingWordCaptions+ combineTokensWithinMilliseconds={null}+ name="Captions"+ premountFor={fps}+ width={1600}+ style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}+ captions={[+ {+ text: ' Here',+ startMs: 2340,+ endMs: 2580,+ timestampMs: 2460,+ confidence: null,+ },+ {+ text: ' we',+ startMs: 2580,+ endMs: 2940,+ timestampMs: 2760,+ confidence: null,+ },+ {+ text: ' are!',+ startMs: 2940,+ endMs: 3667,+ timestampMs: 3304,+ confidence: null,+ },+ ]}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Mehmet is working"+ trimBefore={125}+ durationInFrames={117}+ premountFor={fps}+ >+ <Video+ name="IMG_0474"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0474.MOV'+ }+ volume={1}+ premountFor={fps}+ objectFit="cover"+ style={{width: '100%', height: '100%'}}+ />+ <PoppingWordCaptions+ combineTokensWithinMilliseconds={null}+ name="Captions"+ premountFor={fps}+ width={1600}+ style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}+ captions={[+ {+ text: ' Mehmet',+ startMs: 4400,+ endMs: 4700,+ timestampMs: 4550,+ confidence: null,+ },+ {+ text: ' is',+ startMs: 4700,+ endMs: 5060,+ timestampMs: 4880,+ confidence: null,+ },+ {+ text: ' already',+ startMs: 5060,+ endMs: 5580,+ timestampMs: 5320,+ confidence: null,+ },+ {+ text: ' working,',+ startMs: 5580,+ endMs: 6100,+ timestampMs: 5840,+ confidence: null,+ },+ {+ text: ' doing',+ startMs: 6840,+ endMs: 7500,+ timestampMs: 7170,+ confidence: null,+ },+ {+ text: ' business!',+ startMs: 7500,+ endMs: 8040,+ timestampMs: 7770,+ confidence: null,+ },+ ]}+ />+ </Series.Sequence>+ </Series>+ <LocationLowerThird+ name="Location"+ from={15}+ durationInFrames={244}+ premountFor={fps}+ location="Remotion HQ"+ time="08:52"+ accentColor="#2563eb"+ style={{position: 'absolute', left: 80, top: 70}}+ />+ <Audio+ name="Whoosh"+ src="https://remotion.media/whoosh.wav"+ from={13}+ volume={0.4}+ premountFor={fps}+ />+ </AbsoluteFill>+ );+};++export const Arrival = Interactive.withSchema({+ Component: ArrivalInner,+ componentName: '<Arrival>',+ schema: {},+ wrapInSequence: true,+});diff --git a/packages/jonnys-videos/src/roller-skis-new/scenes/BestCommute.tsx b/packages/jonnys-videos/src/roller-skis-new/scenes/BestCommute.tsxnew file mode 100644index 0000000000..1db3ea54a1--- /dev/null+++ b/packages/jonnys-videos/src/roller-skis-new/scenes/BestCommute.tsx@@ -0,0 +1,517 @@+import {Audio, Video} from '@remotion/media';+import React from 'react';+import {+ AbsoluteFill,+ Easing,+ Interactive,+ interpolate,+ Series,+ useCurrentFrame,+ useVideoConfig,+ type InteractiveTransformProps,+} from 'remotion';+import {AwardBadge} from '../elements/AwardBadge';+import {PoppingWordCaptions} from '../elements/popping-word-captions';++const BestCommuteInner: React.FC<InteractiveTransformProps> = ({style}) => {+ const {fps} = useVideoConfig();+ const frame = useCurrentFrame();++ return (+ <AbsoluteFill style={{backgroundColor: 'black', ...style}}>+ <Series>+ <Series.Sequence+ name="Tech bros"+ trimBefore={47}+ durationInFrames={87}+ premountFor={fps}+ >+ <Video+ name="IMG_0463"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0463.MOV'+ }+ volume={0.83}+ premountFor={fps}+ objectFit="cover"+ style={{width: '100%', height: '100%'}}+ />+ <PoppingWordCaptions+ combineTokensWithinMilliseconds={null}+ name="Captions"+ premountFor={fps}+ width={1600}+ style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}+ captions={[+ {+ text: ' Guys,',+ startMs: 1880,+ endMs: 1960,+ timestampMs: 1920,+ confidence: null,+ },+ {+ text: ' out',+ startMs: 2240,+ endMs: 2380,+ timestampMs: 2310,+ confidence: null,+ },+ {+ text: ' of',+ startMs: 2380,+ endMs: 2780,+ timestampMs: 2580,+ confidence: null,+ },+ {+ text: ' all',+ startMs: 2780,+ endMs: 2960,+ timestampMs: 2870,+ confidence: null,+ },+ {+ text: ' of',+ startMs: 2960,+ endMs: 3120,+ timestampMs: 3040,+ confidence: null,+ },+ {+ text: ' the',+ startMs: 3120,+ endMs: 3300,+ timestampMs: 3210,+ confidence: null,+ },+ {+ text: ' tech',+ startMs: 3300,+ endMs: 3600,+ timestampMs: 3450,+ confidence: null,+ },+ {+ text: ' bros',+ startMs: 3600,+ endMs: 3920,+ timestampMs: 3760,+ confidence: null,+ },+ {+ text: ' out',+ startMs: 3920,+ endMs: 4360,+ timestampMs: 4140,+ confidence: null,+ },+ {+ text: ' there,',+ startMs: 4100,+ endMs: 4420,+ timestampMs: 4260,+ confidence: null,+ },+ ]}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Best commute"+ trimBefore={170}+ durationInFrames={112}+ premountFor={fps}+ >+ <Video+ name="IMG_0463"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0463.MOV'+ }+ volume={0.83}+ premountFor={fps}+ objectFit="cover"+ style={{width: '100%', height: '100%'}}+ />+ <Video+ name="Sunrise"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis-new/footage/IMG_0462.mp4'+ }+ from={170}+ trimBefore={9}+ muted+ premountFor={fps}+ objectFit="cover"+ style={{position: 'absolute', width: '100%', height: '100%'}}+ />+ <PoppingWordCaptions+ combineTokensWithinMilliseconds={null}+ name="Captions"+ premountFor={fps}+ width={1600}+ style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}+ captions={[+ {+ text: ' I',+ startMs: 5880,+ endMs: 6160,+ timestampMs: 6020,+ confidence: null,+ },+ {+ text: ' do',+ startMs: 6160,+ endMs: 6820,+ timestampMs: 6490,+ confidence: null,+ },+ {+ text: ' probably',+ startMs: 6820,+ endMs: 8160,+ timestampMs: 7490,+ confidence: null,+ },+ {+ text: ' have',+ startMs: 8160,+ endMs: 8360,+ timestampMs: 8260,+ confidence: null,+ },+ {+ text: ' the',+ startMs: 8360,+ endMs: 8580,+ timestampMs: 8470,+ confidence: null,+ },+ {+ text: ' best',+ startMs: 8580,+ endMs: 8940,+ timestampMs: 8760,+ confidence: null,+ },+ {+ text: ' commute,',+ startMs: 8940,+ endMs: 9200,+ timestampMs: 9070,+ confidence: null,+ },+ {+ text: ' right?',+ startMs: 9200,+ endMs: 9400,+ timestampMs: 9300,+ confidence: null,+ },+ ]}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Chickens cows mountains"+ trimBefore={302}+ durationInFrames={154}+ premountFor={fps}+ >+ <Video+ name="IMG_0463"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0463.MOV'+ }+ volume={0.83}+ premountFor={fps}+ objectFit="cover"+ style={{width: '100%', height: '100%'}}+ />+ <Video+ name="Chickens"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0463.MOV'+ }+ from={347}+ durationInFrames={38}+ trimBefore={219}+ muted+ premountFor={fps}+ objectFit="cover"+ style={{position: 'absolute', width: '100%', height: '100%'}}+ />+ <Video+ name="Cows"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0459.MOV'+ }+ from={384}+ durationInFrames={30}+ trimBefore={1794}+ muted+ premountFor={fps}+ objectFit="cover"+ style={{position: 'absolute', width: '100%', height: '100%'}}+ />+ <Video+ name="Mountains"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0461.MOV'+ }+ from={414}+ trimBefore={6}+ muted+ premountFor={fps}+ objectFit="cover"+ style={{position: 'absolute', width: '100%', height: '100%'}}+ />+ <PoppingWordCaptions+ combineTokensWithinMilliseconds={null}+ name="Captions"+ premountFor={fps}+ width={1600}+ style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}+ captions={[+ {+ text: ' Come',+ startMs: 10300,+ endMs: 10700,+ timestampMs: 10500,+ confidence: null,+ },+ {+ text: ' on!',+ startMs: 10700,+ endMs: 11280,+ timestampMs: 10990,+ confidence: null,+ },+ {+ text: ' Chickens,',+ startMs: 11600,+ endMs: 12740,+ timestampMs: 12170,+ confidence: null,+ },+ {+ text: ' cows,',+ startMs: 12920,+ endMs: 13480,+ timestampMs: 13200,+ confidence: null,+ },+ {+ text: ' mountains!',+ startMs: 13960,+ endMs: 15000,+ timestampMs: 14480,+ confidence: null,+ },+ ]}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Roller skis"+ trimBefore={456}+ durationInFrames={65}+ premountFor={fps}+ >+ <Video+ name="IMG_0463"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0463.MOV'+ }+ volume={0.83}+ premountFor={fps}+ objectFit="cover"+ style={{width: '100%', height: '100%'}}+ />+ <Video+ name="Skis"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0459.MOV'+ }+ from={456}+ trimBefore={609}+ muted+ premountFor={fps}+ objectFit="cover"+ style={{position: 'absolute', width: '100%', height: '100%'}}+ />+ <PoppingWordCaptions+ combineTokensWithinMilliseconds={null}+ name="Captions"+ premountFor={fps}+ width={1600}+ style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}+ captions={[+ {+ text: ' What',+ startMs: 15260,+ endMs: 15480,+ timestampMs: 15370,+ confidence: null,+ },+ {+ text: ' more',+ startMs: 15480,+ endMs: 15700,+ timestampMs: 15590,+ confidence: null,+ },+ {+ text: ' could',+ startMs: 15700,+ endMs: 15800,+ timestampMs: 15750,+ confidence: null,+ },+ {+ text: ' you',+ startMs: 15800,+ endMs: 16160,+ timestampMs: 15980,+ confidence: null,+ },+ {+ text: ' want?',+ startMs: 16160,+ endMs: 16280,+ timestampMs: 16220,+ confidence: null,+ },+ {+ text: ' Roller',+ startMs: 16740,+ endMs: 17080,+ timestampMs: 16910,+ confidence: null,+ },+ {+ text: ' skis?',+ startMs: 17080,+ endMs: 17367,+ timestampMs: 17224,+ confidence: null,+ },+ ]}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Best commute goes to Jonny"+ trimBefore={534}+ durationInFrames={94}+ premountFor={fps}+ >+ <Video+ name="IMG_0463"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0463.MOV'+ }+ volume={0.83}+ premountFor={fps}+ objectFit="cover"+ style={{+ width: '100%',+ height: '100%',+ rotate: '180deg',+ scale: interpolate(frame, [442, 451], [1, 1.1], {+ easing: Easing.bezier(0.16, 1, 0.3, 1),+ output: 'perceptual-scale',+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ }),+ }}+ />+ <PoppingWordCaptions+ combineTokensWithinMilliseconds={null}+ name="Captions"+ premountFor={fps}+ width={1600}+ style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}+ captions={[+ {+ text: ' Come',+ startMs: 18100,+ endMs: 18360,+ timestampMs: 18230,+ confidence: null,+ },+ {+ text: ' on,',+ startMs: 18360,+ endMs: 18640,+ timestampMs: 18500,+ confidence: null,+ },+ {+ text: ' best',+ startMs: 18780,+ endMs: 19140,+ timestampMs: 18960,+ confidence: null,+ },+ {+ text: ' commute',+ startMs: 19140,+ endMs: 19940,+ timestampMs: 19540,+ confidence: null,+ },+ {+ text: ' goes',+ startMs: 19940,+ endMs: 20160,+ timestampMs: 20050,+ confidence: null,+ },+ {+ text: ' to',+ startMs: 20160,+ endMs: 20300,+ timestampMs: 20230,+ confidence: null,+ },+ {+ text: ' Jonny,',+ startMs: 20300,+ endMs: 20500,+ timestampMs: 20400,+ confidence: null,+ },+ {+ text: ' alright?',+ startMs: 20740,+ endMs: 20840,+ timestampMs: 20790,+ confidence: null,+ },+ ]}+ />+ </Series.Sequence>+ </Series>+ <AwardBadge+ name="Award"+ from={445}+ durationInFrames={67}+ premountFor={fps}+ award="Best commute"+ winner="Jonny"+ style={{position: 'absolute', right: 80, top: 70}}+ />+ <Audio+ name="Whoosh"+ src="https://remotion.media/whoosh.wav"+ from={445}+ volume={0.5}+ premountFor={fps}+ />+ </AbsoluteFill>+ );+};++export const BestCommute = Interactive.withSchema({+ Component: BestCommuteInner,+ componentName: '<BestCommute>',+ schema: {},+ wrapInSequence: true,+});diff --git a/packages/jonnys-videos/src/roller-skis-new/scenes/EndCard.tsx b/packages/jonnys-videos/src/roller-skis-new/scenes/EndCard.tsxnew file mode 100644index 0000000000..d08f8f7fda--- /dev/null+++ b/packages/jonnys-videos/src/roller-skis-new/scenes/EndCard.tsx@@ -0,0 +1,137 @@+import {Audio, Video} from '@remotion/media';+import React from 'react';+import {+ AbsoluteFill,+ Easing,+ Interactive,+ interpolate,+ Sequence,+ useCurrentFrame,+ useVideoConfig,+ type InteractiveTransformProps,+} from 'remotion';+import {fontFamily} from '../elements/font';++const EndCardInner: React.FC<InteractiveTransformProps> = ({style}) => {+ const {fps} = useVideoConfig();+ const frame = useCurrentFrame();++ return (+ <AbsoluteFill style={{backgroundColor: 'black', fontFamily, ...style}}>+ <Sequence name="Last frame" freeze={3328} premountFor={fps}>+ <Video+ name="IMG_0475"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0475.MOV'+ }+ muted+ premountFor={fps}+ objectFit="cover"+ style={{+ width: '100%',+ height: '100%',+ filter: 'blur(16px) brightness(0.45)',+ scale: interpolate(frame, [0, 120], [1.1, 1.18], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ }),+ }}+ />+ </Sequence>+ <AbsoluteFill+ style={{+ justifyContent: 'center',+ alignItems: 'center',+ }}+ >+ <Interactive.Div+ name="Next time"+ style={{+ color: 'white',+ fontSize: 64,+ fontWeight: 700,+ letterSpacing: 16,+ textTransform: 'uppercase',+ opacity: interpolate(frame, [4, 14], [0, 1], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ }),+ translate: interpolate(frame, [4, 18], ['0px 30px', '0px 0px'], {+ easing: Easing.bezier(0.16, 1, 0.3, 1),+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ }),+ }}+ >+ Next time:+ </Interactive.Div>+ <Interactive.Div+ name="Brakes"+ style={{+ position: 'relative',+ marginTop: 10,+ padding: '0px 48px',+ scale: interpolate(frame, [14, 28], [0.3, 1], {+ easing: Easing.spring({damping: 11}),+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ output: 'perceptual-scale',+ }),+ opacity: interpolate(frame, [14, 17], [0, 1], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ }),+ rotate: interpolate(frame, [14, 30], ['-8deg', '-2deg'], {+ easing: Easing.bezier(0.16, 1, 0.3, 1),+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ }),+ }}+ >+ <Interactive.Div+ name="Marker"+ cropRight={interpolate(frame, [20, 32], [1, 0], {+ easing: Easing.bezier(0.65, 0, 0.35, 1),+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ })}+ style={{+ position: 'absolute',+ inset: 0,+ backgroundColor: '#dc2626',+ borderRadius: 24,+ }}+ />+ <div+ style={{+ position: 'relative',+ color: 'white',+ fontSize: 260,+ fontWeight: 900,+ letterSpacing: -6,+ lineHeight: 1.05,+ textTransform: 'uppercase',+ textShadow: '0 12px 40px rgba(0,0,0,0.4)',+ }}+ >+ Brakes.+ </div>+ </Interactive.Div>+ </AbsoluteFill>+ <Audio+ name="Whoosh"+ src="https://remotion.media/whoosh.wav"+ from={12}+ volume={0.6}+ premountFor={fps}+ />+ </AbsoluteFill>+ );+};++export const EndCard = Interactive.withSchema({+ Component: EndCardInner,+ componentName: '<EndCard>',+ schema: {},+ wrapInSequence: true,+});diff --git a/packages/jonnys-videos/src/roller-skis-new/scenes/GearUp.tsx b/packages/jonnys-videos/src/roller-skis-new/scenes/GearUp.tsxnew file mode 100644index 0000000000..1d5d82f267--- /dev/null+++ b/packages/jonnys-videos/src/roller-skis-new/scenes/GearUp.tsx@@ -0,0 +1,211 @@+import {Video} from '@remotion/media';+import React from 'react';+import {+ AbsoluteFill,+ Interactive,+ Series,+ useVideoConfig,+ type InteractiveTransformProps,+} from 'remotion';+import {PoppingWordCaptions} from '../elements/popping-word-captions';+import {SpeedBadge} from '../elements/SpeedBadge';+import {TitleCard} from '../elements/TitleCard';++const GearUpInner: React.FC<InteractiveTransformProps> = ({style}) => {+ const {fps} = useVideoConfig();++ return (+ <AbsoluteFill style={{backgroundColor: 'black', ...style}}>+ <Series>+ <Series.Sequence+ name="Strapping in (6x)"+ trimBefore={60}+ durationInFrames={528}+ playbackRate={6}+ premountFor={fps}+ >+ <Video+ name="IMG_0457"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0457.MOV'+ }+ muted+ premountFor={fps}+ objectFit="cover"+ style={{width: '100%', height: '100%'}}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Damn it"+ trimBefore={591}+ durationInFrames={39}+ premountFor={fps}+ >+ <Video+ name="IMG_0457"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0457.MOV'+ }+ volume={4}+ premountFor={fps}+ objectFit="cover"+ style={{width: '100%', height: '100%'}}+ />+ <PoppingWordCaptions+ combineTokensWithinMilliseconds={null}+ name="Captions"+ premountFor={fps}+ width={1600}+ style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}+ captions={[+ {+ text: ' Damn it!',+ startMs: 20180,+ endMs: 20560,+ timestampMs: 20370,+ confidence: null,+ },+ ]}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Strapping in (8x)"+ trimBefore={630}+ durationInFrames={576}+ playbackRate={12}+ premountFor={fps}+ >+ <Video+ name="IMG_0457"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0457.MOV'+ }+ muted+ premountFor={fps}+ objectFit="cover"+ style={{width: '100%', height: '100%'}}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Lets get to work"+ trimBefore={1202}+ durationInFrames={58}+ premountFor={fps}+ >+ <Video+ name="IMG_0457"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0457.MOV'+ }+ volume={3.5}+ premountFor={fps}+ objectFit="cover"+ style={{width: '100%', height: '100%'}}+ />+ <PoppingWordCaptions+ combineTokensWithinMilliseconds={null}+ name="Captions"+ premountFor={fps}+ width={1600}+ style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}+ captions={[+ {+ text: ' Alright,',+ startMs: 40340,+ endMs: 40580,+ timestampMs: 40460,+ confidence: null,+ },+ {+ text: " let's",+ startMs: 40700,+ endMs: 40940,+ timestampMs: 40820,+ confidence: null,+ },+ {+ text: ' get',+ startMs: 40940,+ endMs: 41120,+ timestampMs: 41030,+ confidence: null,+ },+ {+ text: ' to',+ startMs: 41120,+ endMs: 41380,+ timestampMs: 41250,+ confidence: null,+ },+ {+ text: ' work!',+ startMs: 41380,+ endMs: 41680,+ timestampMs: 41530,+ confidence: null,+ },+ ]}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Skiing off (2x)"+ trimBefore={1260}+ durationInFrames={150}+ playbackRate={2}+ premountFor={fps}+ >+ <Video+ name="IMG_0457"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0457.MOV'+ }+ muted+ premountFor={fps}+ objectFit="cover"+ style={{width: '100%', height: '100%'}}+ />+ </Series.Sequence>+ </Series>+ <TitleCard+ name="Title"+ durationInFrames={84}+ premountFor={fps}+ line1="Roller ski"+ line2="Commute"+ kicker="Zürich · 8 AM"+ accentColor="#2563eb"+ />+ <SpeedBadge+ name="6x badge"+ from={6}+ durationInFrames={82}+ premountFor={fps}+ speed="6×"+ style={{position: 'absolute', right: 80, top: 70}}+ />+ <SpeedBadge+ name="8x badge"+ from={127}+ durationInFrames={72}+ premountFor={fps}+ speed={'12x'}+ style={{position: 'absolute', right: 80, top: 70}}+ />+ <SpeedBadge+ name="2x badge"+ from={257}+ durationInFrames={75}+ premountFor={fps}+ speed="2×"+ style={{position: 'absolute', right: 80, top: 70}}+ />+ </AbsoluteFill>+ );+};++export const GearUp = Interactive.withSchema({+ Component: GearUpInner,+ componentName: '<GearUp>',+ schema: {},+ wrapInSequence: true,+});diff --git a/packages/jonnys-videos/src/roller-skis-new/scenes/Intro.tsx b/packages/jonnys-videos/src/roller-skis-new/scenes/Intro.tsxnew file mode 100644index 0000000000..022a77250c--- /dev/null+++ b/packages/jonnys-videos/src/roller-skis-new/scenes/Intro.tsx@@ -0,0 +1,363 @@+import {Audio, Video} from '@remotion/media';+import React from 'react';+import {+ AbsoluteFill,+ Easing,+ Interactive,+ interpolate,+ Series,+ useCurrentFrame,+ useVideoConfig,+ type InteractiveTransformProps,+} from 'remotion';+import {LocationLowerThird} from '../elements/LocationLowerThird';+import {PoppingWordCaptions} from '../elements/popping-word-captions';++const IntroInner: React.FC<InteractiveTransformProps> = ({style}) => {+ const {fps} = useVideoConfig();+ const frame = useCurrentFrame();++ return (+ <AbsoluteFill style={{backgroundColor: 'black', ...style}}>+ <Series>+ <Series.Sequence+ name="Good morning"+ trimBefore={45}+ durationInFrames={239}+ premountFor={fps}+ >+ <Video+ name="IMG_0455"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis-new/footage/IMG_0455.mp4'+ }+ volume={1}+ premountFor={fps}+ objectFit="cover"+ style={{width: '100%', height: '100%'}}+ />+ <PoppingWordCaptions+ combineTokensWithinMilliseconds={null}+ name="Captions"+ premountFor={fps}+ width={1600}+ style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}+ captions={[+ {+ text: ' Good',+ startMs: 1820,+ endMs: 2200,+ timestampMs: 2010,+ confidence: null,+ },+ {+ text: ' morning',+ startMs: 2200,+ endMs: 2700,+ timestampMs: 2450,+ confidence: null,+ },+ {+ text: ' everyone!',+ startMs: 2700,+ endMs: 3100,+ timestampMs: 2900,+ confidence: null,+ },+ {+ text: ' It',+ startMs: 3160,+ endMs: 3360,+ timestampMs: 3260,+ confidence: null,+ },+ {+ text: ' is',+ startMs: 3360,+ endMs: 3700,+ timestampMs: 3530,+ confidence: null,+ },+ {+ text: ' 8am',+ startMs: 3700,+ endMs: 4280,+ timestampMs: 3990,+ confidence: null,+ },+ {+ text: ' in',+ startMs: 4280,+ endMs: 4740,+ timestampMs: 4510,+ confidence: null,+ },+ {+ text: ' beautiful',+ startMs: 4740,+ endMs: 5080,+ timestampMs: 4910,+ confidence: null,+ },+ {+ text: ' Zurich,',+ startMs: 5080,+ endMs: 5240,+ timestampMs: 5160,+ confidence: null,+ },+ {+ text: ' Switzerland',+ startMs: 5460,+ endMs: 6580,+ timestampMs: 6020,+ confidence: null,+ },+ {+ text: ' and',+ startMs: 6580,+ endMs: 7020,+ timestampMs: 6800,+ confidence: null,+ },+ {+ text: ' I',+ startMs: 7020,+ endMs: 7120,+ timestampMs: 7070,+ confidence: null,+ },+ {+ text: ' am',+ startMs: 7120,+ endMs: 7440,+ timestampMs: 7280,+ confidence: null,+ },+ {+ text: ' now',+ startMs: 7440,+ endMs: 8000,+ timestampMs: 7720,+ confidence: null,+ },+ {+ text: ' commuting',+ startMs: 8000,+ endMs: 8560,+ timestampMs: 8280,+ confidence: null,+ },+ {+ text: ' to',+ startMs: 8560,+ endMs: 8940,+ timestampMs: 8750,+ confidence: null,+ },+ {+ text: ' work.',+ startMs: 8940,+ endMs: 9467,+ timestampMs: 9204,+ confidence: null,+ },+ ]}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Roller skis"+ trimBefore={312}+ durationInFrames={290}+ premountFor={fps}+ >+ <Video+ name="IMG_0455"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis-new/footage/IMG_0455.mp4'+ }+ volume={1}+ premountFor={fps}+ objectFit="cover"+ style={{+ width: '100%',+ height: '100%',+ scale: interpolate(frame, [471, 481], [1, 1.14], {+ easing: Easing.bezier(0.16, 1, 0.3, 1),+ output: 'perceptual-scale',+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ }),+ }}+ />+ <PoppingWordCaptions+ combineTokensWithinMilliseconds={null}+ name="Captions"+ premountFor={fps}+ width={1600}+ style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}+ captions={[+ {+ text: ' Not',+ startMs: 10640,+ endMs: 10840,+ timestampMs: 10740,+ confidence: null,+ },+ {+ text: ' with',+ startMs: 10840,+ endMs: 10980,+ timestampMs: 10910,+ confidence: null,+ },+ {+ text: ' the',+ startMs: 10980,+ endMs: 11220,+ timestampMs: 11100,+ confidence: null,+ },+ {+ text: ' car',+ startMs: 11220,+ endMs: 11500,+ timestampMs: 11360,+ confidence: null,+ },+ {+ text: ' like',+ startMs: 11500,+ endMs: 11780,+ timestampMs: 11640,+ confidence: null,+ },+ {+ text: ' all',+ startMs: 11780,+ endMs: 11900,+ timestampMs: 11840,+ confidence: null,+ },+ {+ text: ' the',+ startMs: 11900,+ endMs: 12020,+ timestampMs: 11960,+ confidence: null,+ },+ {+ text: ' other',+ startMs: 12020,+ endMs: 12440,+ timestampMs: 12230,+ confidence: null,+ },+ {+ text: ' people,',+ startMs: 12440,+ endMs: 13100,+ timestampMs: 12770,+ confidence: null,+ },+ {+ text: ' but',+ startMs: 13440,+ endMs: 15120,+ timestampMs: 14280,+ confidence: null,+ },+ {+ text: ' with',+ startMs: 15120,+ endMs: 15460,+ timestampMs: 15290,+ confidence: null,+ },+ {+ text: ' my',+ startMs: 15460,+ endMs: 16020,+ timestampMs: 15740,+ confidence: null,+ },+ {+ text: ' roller',+ startMs: 16020,+ endMs: 16520,+ timestampMs: 16270,+ confidence: null,+ },+ {+ text: ' skis!',+ startMs: 16520,+ endMs: 17840,+ timestampMs: 17180,+ confidence: null,+ },+ {+ text: ' Oh',+ startMs: 18280,+ endMs: 18680,+ timestampMs: 18480,+ confidence: null,+ },+ {+ text: ' yes,',+ startMs: 18680,+ endMs: 18860,+ timestampMs: 18770,+ confidence: null,+ },+ {+ text: " let's",+ startMs: 19060,+ endMs: 19400,+ timestampMs: 19230,+ confidence: null,+ },+ {+ text: ' get',+ startMs: 19400,+ endMs: 19740,+ timestampMs: 19570,+ confidence: null,+ },+ {+ text: ' it!',+ startMs: 19740,+ endMs: 20000,+ timestampMs: 19870,+ confidence: null,+ },+ ]}+ />+ </Series.Sequence>+ </Series>+ <LocationLowerThird+ name="Location"+ from={81}+ durationInFrames={110}+ premountFor={fps}+ location="Zürich, Switzerland"+ time="08:07"+ accentColor="#2563eb"+ style={{position: 'absolute', left: 80, top: 70}}+ />+ <Audio+ name="Whoosh"+ src="https://remotion.media/whoosh.wav"+ from={521}+ volume={0.6}+ premountFor={fps}+ />+ </AbsoluteFill>+ );+};++export const Intro = Interactive.withSchema({+ Component: IntroInner,+ componentName: '<Intro>',+ schema: {},+ wrapInSequence: true,+});diff --git a/packages/jonnys-videos/src/roller-skis-new/scenes/OffWeGo.tsx b/packages/jonnys-videos/src/roller-skis-new/scenes/OffWeGo.tsxnew file mode 100644index 0000000000..5b333c4d29--- /dev/null+++ b/packages/jonnys-videos/src/roller-skis-new/scenes/OffWeGo.tsx@@ -0,0 +1,44 @@+import {Video} from '@remotion/media';+import React from 'react';+import {+ AbsoluteFill,+ Interactive,+ Series,+ useVideoConfig,+ type InteractiveTransformProps,+} from 'remotion';++const OffWeGoInner: React.FC<InteractiveTransformProps> = ({style}) => {+ const {fps} = useVideoConfig();++ return (+ <AbsoluteFill style={{backgroundColor: 'black', ...style}}>+ <Series>+ <Series.Sequence+ name="Skiing away"+ trimBefore={486}+ durationInFrames={108}+ premountFor={fps}+ >+ <Video+ name="IMG_0458"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis-new/footage/IMG_0458.mp4'+ }+ volume={1.5}+ premountFor={fps}+ objectFit="cover"+ style={{width: '100%', height: '100%'}}+ />+ </Series.Sequence>+ </Series>+ </AbsoluteFill>+ );+};++export const OffWeGo = Interactive.withSchema({+ Component: OffWeGoInner,+ componentName: '<OffWeGo>',+ schema: {},+ wrapInSequence: true,+});diff --git a/packages/jonnys-videos/src/roller-skis-new/scenes/Office.tsx b/packages/jonnys-videos/src/roller-skis-new/scenes/Office.tsxnew file mode 100644index 0000000000..5f2c1e3216--- /dev/null+++ b/packages/jonnys-videos/src/roller-skis-new/scenes/Office.tsx@@ -0,0 +1,924 @@+import {Audio, Video} from '@remotion/media';+import React from 'react';+import {+ AbsoluteFill,+ Interactive,+ Series,+ useVideoConfig,+ type InteractiveTransformProps,+} from 'remotion';+import {Callout} from '../elements/Callout';+import {NameLowerThird} from '../elements/NameLowerThird';+import {PoppingWordCaptions} from '../elements/popping-word-captions';++const OfficeInner: React.FC<InteractiveTransformProps> = ({style}) => {+ const {fps} = useVideoConfig();++ return (+ <AbsoluteFill style={{backgroundColor: 'black', ...style}}>+ <Series>+ <Series.Sequence+ name="Mehmet"+ trimBefore={1324}+ durationInFrames={38}+ premountFor={fps}+ >+ <Video+ name="IMG_0475"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0475.MOV'+ }+ volume={1}+ premountFor={fps}+ objectFit="cover"+ style={{width: '100%', height: '100%'}}+ />+ <PoppingWordCaptions+ combineTokensWithinMilliseconds={null}+ name="Captions"+ premountFor={fps}+ width={1600}+ style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}+ captions={[+ {+ text: ' Mehmet,',+ startMs: 44133,+ endMs: 44800,+ timestampMs: 44467,+ confidence: null,+ },+ ]}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Would you try it"+ trimBefore={1378}+ durationInFrames={32}+ premountFor={fps}+ >+ <Video+ name="IMG_0475"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0475.MOV'+ }+ volume={1}+ premountFor={fps}+ objectFit="cover"+ style={{width: '100%', height: '100%'}}+ />+ <PoppingWordCaptions+ combineTokensWithinMilliseconds={null}+ name="Captions"+ premountFor={fps}+ width={1600}+ style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}+ captions={[+ {+ text: ' would',+ startMs: 45950,+ endMs: 46380,+ timestampMs: 46165,+ confidence: null,+ },+ {+ text: ' you',+ startMs: 46380,+ endMs: 46540,+ timestampMs: 46460,+ confidence: null,+ },+ {+ text: ' try',+ startMs: 46540,+ endMs: 46800,+ timestampMs: 46670,+ confidence: null,+ },+ {+ text: ' it?',+ startMs: 46800,+ endMs: 46980,+ timestampMs: 46890,+ confidence: null,+ },+ ]}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Scared to be honest"+ trimBefore={1502}+ durationInFrames={244}+ premountFor={fps}+ >+ <Video+ name="IMG_0475"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0475.MOV'+ }+ volume={4.5}+ premountFor={fps}+ objectFit="cover"+ style={{width: '100%', height: '100%'}}+ />+ <PoppingWordCaptions+ combineTokensWithinMilliseconds={null}+ name="Captions"+ premountFor={fps}+ width={1600}+ style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}+ captions={[+ {+ text: ' If',+ startMs: 50067,+ endMs: 50420,+ timestampMs: 50244,+ confidence: null,+ },+ {+ text: ' you',+ startMs: 50420,+ endMs: 50700,+ timestampMs: 50560,+ confidence: null,+ },+ {+ text: ' give',+ startMs: 50700,+ endMs: 51160,+ timestampMs: 50930,+ confidence: null,+ },+ {+ text: ' me',+ startMs: 51160,+ endMs: 51380,+ timestampMs: 51270,+ confidence: null,+ },+ {+ text: ' a',+ startMs: 51380,+ endMs: 51580,+ timestampMs: 51480,+ confidence: null,+ },+ {+ text: ' one',+ startMs: 51580,+ endMs: 51680,+ timestampMs: 51630,+ confidence: null,+ },+ {+ text: '-on',+ startMs: 51680,+ endMs: 52060,+ timestampMs: 51870,+ confidence: null,+ },+ {+ text: '-one,',+ startMs: 52060,+ endMs: 52900,+ timestampMs: 52480,+ confidence: null,+ },+ {+ text: ' then',+ startMs: 53120,+ endMs: 53600,+ timestampMs: 53360,+ confidence: null,+ },+ {+ text: ' maybe',+ startMs: 53600,+ endMs: 53920,+ timestampMs: 53760,+ confidence: null,+ },+ {+ text: ' I',+ startMs: 53920,+ endMs: 54180,+ timestampMs: 54050,+ confidence: null,+ },+ {+ text: ' would.',+ startMs: 54180,+ endMs: 54400,+ timestampMs: 54290,+ confidence: null,+ },+ {+ text: ' But',+ startMs: 55300,+ endMs: 55640,+ timestampMs: 55470,+ confidence: null,+ },+ {+ text: ' I',+ startMs: 55640,+ endMs: 56520,+ timestampMs: 56080,+ confidence: null,+ },+ {+ text: ' would',+ startMs: 56520,+ endMs: 56700,+ timestampMs: 56610,+ confidence: null,+ },+ {+ text: ' be',+ startMs: 56700,+ endMs: 57000,+ timestampMs: 56850,+ confidence: null,+ },+ {+ text: ' scared',+ startMs: 57000,+ endMs: 57400,+ timestampMs: 57200,+ confidence: null,+ },+ {+ text: ' to',+ startMs: 57400,+ endMs: 57560,+ timestampMs: 57480,+ confidence: null,+ },+ {+ text: ' be',+ startMs: 57560,+ endMs: 57820,+ timestampMs: 57690,+ confidence: null,+ },+ {+ text: ' honest.',+ startMs: 57820,+ endMs: 58000,+ timestampMs: 57910,+ confidence: null,+ },+ ]}+ />+ </Series.Sequence>+ <Series.Sequence+ name="No brakes"+ trimBefore={1844}+ durationInFrames={51}+ premountFor={fps}+ >+ <Video+ name="IMG_0475"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0475.MOV'+ }+ volume={1}+ premountFor={fps}+ objectFit="cover"+ style={{width: '100%', height: '100%'}}+ />+ <PoppingWordCaptions+ combineTokensWithinMilliseconds={null}+ name="Captions"+ premountFor={fps}+ width={1600}+ style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}+ captions={[+ {+ text: ' Yes,',+ startMs: 61740,+ endMs: 61900,+ timestampMs: 61820,+ confidence: null,+ },+ {+ text: ' there',+ startMs: 62200,+ endMs: 62320,+ timestampMs: 62260,+ confidence: null,+ },+ {+ text: ' are',+ startMs: 62320,+ endMs: 62480,+ timestampMs: 62400,+ confidence: null,+ },+ {+ text: ' no',+ startMs: 62480,+ endMs: 62780,+ timestampMs: 62630,+ confidence: null,+ },+ {+ text: ' brakes.',+ startMs: 62780,+ endMs: 63167,+ timestampMs: 62974,+ confidence: null,+ },+ ]}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Brake tomorrow"+ trimBefore={2346}+ durationInFrames={209}+ premountFor={fps}+ >+ <Video+ name="IMG_0475"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0475.MOV'+ }+ volume={1}+ premountFor={fps}+ objectFit="cover"+ style={{width: '100%', height: '100%'}}+ />+ <PoppingWordCaptions+ combineTokensWithinMilliseconds={null}+ name="Captions"+ premountFor={fps}+ width={1600}+ style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}+ captions={[+ {+ text: ' I',+ startMs: 78400,+ endMs: 78820,+ timestampMs: 78610,+ confidence: null,+ },+ {+ text: " don't",+ startMs: 78820,+ endMs: 79000,+ timestampMs: 78910,+ confidence: null,+ },+ {+ text: ' have',+ startMs: 79000,+ endMs: 79140,+ timestampMs: 79070,+ confidence: null,+ },+ {+ text: ' a',+ startMs: 79140,+ endMs: 79300,+ timestampMs: 79220,+ confidence: null,+ },+ {+ text: ' brake',+ startMs: 79300,+ endMs: 79520,+ timestampMs: 79410,+ confidence: null,+ },+ {+ text: ' right',+ startMs: 79520,+ endMs: 79900,+ timestampMs: 79710,+ confidence: null,+ },+ {+ text: ' now,',+ startMs: 79900,+ endMs: 80000,+ timestampMs: 79950,+ confidence: null,+ },+ {+ text: ' but',+ startMs: 80760,+ endMs: 81120,+ timestampMs: 80940,+ confidence: null,+ },+ {+ text: ' I',+ startMs: 81120,+ endMs: 81420,+ timestampMs: 81270,+ confidence: null,+ },+ {+ text: ' will',+ startMs: 81420,+ endMs: 82600,+ timestampMs: 82010,+ confidence: null,+ },+ {+ text: ' mount',+ startMs: 82600,+ endMs: 82780,+ timestampMs: 82690,+ confidence: null,+ },+ {+ text: ' a',+ startMs: 82780,+ endMs: 83020,+ timestampMs: 82900,+ confidence: null,+ },+ {+ text: ' brake',+ startMs: 83000,+ endMs: 83240,+ timestampMs: 83120,+ confidence: null,+ },+ {+ text: ' on',+ startMs: 83240,+ endMs: 83420,+ timestampMs: 83330,+ confidence: null,+ },+ {+ text: ' my',+ startMs: 83420,+ endMs: 83660,+ timestampMs: 83540,+ confidence: null,+ },+ {+ text: ' shoes',+ startMs: 83660,+ endMs: 84760,+ timestampMs: 84210,+ confidence: null,+ },+ {+ text: ' tomorrow.',+ startMs: 84760,+ endMs: 85000,+ timestampMs: 84880,+ confidence: null,+ },+ ]}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Rolls on one side"+ trimBefore={2771}+ durationInFrames={183}+ premountFor={fps}+ >+ <Video+ name="IMG_0475"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0475.MOV'+ }+ volume={1}+ premountFor={fps}+ objectFit="cover"+ style={{width: '100%', height: '100%'}}+ />+ <PoppingWordCaptions+ combineTokensWithinMilliseconds={null}+ name="Captions"+ premountFor={fps}+ width={1600}+ style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}+ captions={[+ {+ text: ' And',+ startMs: 92560,+ endMs: 93580,+ timestampMs: 93070,+ confidence: null,+ },+ {+ text: ' here',+ startMs: 93580,+ endMs: 93720,+ timestampMs: 93650,+ confidence: null,+ },+ {+ text: ' you',+ startMs: 93720,+ endMs: 93860,+ timestampMs: 93790,+ confidence: null,+ },+ {+ text: ' can',+ startMs: 93860,+ endMs: 94040,+ timestampMs: 93950,+ confidence: null,+ },+ {+ text: ' also',+ startMs: 94040,+ endMs: 94260,+ timestampMs: 94150,+ confidence: null,+ },+ {+ text: ' see',+ startMs: 94260,+ endMs: 94500,+ timestampMs: 94380,+ confidence: null,+ },+ {+ text: ' very',+ startMs: 94500,+ endMs: 94760,+ timestampMs: 94630,+ confidence: null,+ },+ {+ text: ' well',+ startMs: 94760,+ endMs: 95020,+ timestampMs: 94890,+ confidence: null,+ },+ {+ text: ' that',+ startMs: 95020,+ endMs: 95860,+ timestampMs: 95440,+ confidence: null,+ },+ {+ text: ' it',+ startMs: 95860,+ endMs: 96120,+ timestampMs: 95990,+ confidence: null,+ },+ {+ text: ' rolls',+ startMs: 96120,+ endMs: 96300,+ timestampMs: 96210,+ confidence: null,+ },+ {+ text: ' on',+ startMs: 96300,+ endMs: 96840,+ timestampMs: 96570,+ confidence: null,+ },+ {+ text: ' one',+ startMs: 96840,+ endMs: 97140,+ timestampMs: 96990,+ confidence: null,+ },+ {+ text: ' side,',+ startMs: 97140,+ endMs: 97440,+ timestampMs: 97290,+ confidence: null,+ },+ {+ text: ' but',+ startMs: 97840,+ endMs: 98000,+ timestampMs: 97920,+ confidence: null,+ },+ {+ text: ' then',+ startMs: 98080,+ endMs: 98300,+ timestampMs: 98190,+ confidence: null,+ },+ {+ text: '...',+ startMs: 98300,+ endMs: 98340,+ timestampMs: 98310,+ confidence: null,+ },+ ]}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Go up a hill"+ trimBefore={2957}+ durationInFrames={246}+ premountFor={fps}+ >+ <Video+ name="IMG_0475"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0475.MOV'+ }+ volume={1}+ premountFor={fps}+ objectFit="cover"+ style={{width: '100%', height: '100%'}}+ />+ <PoppingWordCaptions+ combineTokensWithinMilliseconds={null}+ name="Captions"+ premountFor={fps}+ width={1600}+ style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}+ captions={[+ {+ text: ' It',+ startMs: 98640,+ endMs: 98940,+ timestampMs: 98790,+ confidence: null,+ },+ {+ text: " doesn't?",+ startMs: 98940,+ endMs: 99360,+ timestampMs: 99150,+ confidence: null,+ },+ {+ text: ' Oh,',+ startMs: 99580,+ endMs: 100620,+ timestampMs: 100100,+ confidence: null,+ },+ {+ text: ' wow.',+ startMs: 101260,+ endMs: 101720,+ timestampMs: 101490,+ confidence: null,+ },+ {+ text: ' This',+ startMs: 101820,+ endMs: 102000,+ timestampMs: 101910,+ confidence: null,+ },+ {+ text: ' is',+ startMs: 102080,+ endMs: 102340,+ timestampMs: 102210,+ confidence: null,+ },+ {+ text: ' cool.',+ startMs: 102340,+ endMs: 102380,+ timestampMs: 102350,+ confidence: null,+ },+ {+ text: ' Locked',+ startMs: 102540,+ endMs: 102740,+ timestampMs: 102640,+ confidence: null,+ },+ {+ text: ' on',+ startMs: 102740,+ endMs: 102840,+ timestampMs: 102790,+ confidence: null,+ },+ {+ text: ' the',+ startMs: 102840,+ endMs: 103000,+ timestampMs: 102920,+ confidence: null,+ },+ {+ text: ' other',+ startMs: 103000,+ endMs: 103280,+ timestampMs: 103140,+ confidence: null,+ },+ {+ text: ' side.',+ startMs: 103280,+ endMs: 103440,+ timestampMs: 103360,+ confidence: null,+ },+ {+ text: ' So',+ startMs: 103540,+ endMs: 104200,+ timestampMs: 103870,+ confidence: null,+ },+ {+ text: ' you',+ startMs: 104200,+ endMs: 104440,+ timestampMs: 104320,+ confidence: null,+ },+ {+ text: ' can',+ startMs: 104440,+ endMs: 105360,+ timestampMs: 104900,+ confidence: null,+ },+ {+ text: ' really',+ startMs: 105360,+ endMs: 105720,+ timestampMs: 105540,+ confidence: null,+ },+ {+ text: ' easily',+ startMs: 105720,+ endMs: 105940,+ timestampMs: 105830,+ confidence: null,+ },+ {+ text: ' go',+ startMs: 105940,+ endMs: 106160,+ timestampMs: 106050,+ confidence: null,+ },+ {+ text: ' up',+ startMs: 106160,+ endMs: 106280,+ timestampMs: 106220,+ confidence: null,+ },+ {+ text: ' a',+ startMs: 106280,+ endMs: 106440,+ timestampMs: 106360,+ confidence: null,+ },+ {+ text: ' hill.',+ startMs: 106440,+ endMs: 106480,+ timestampMs: 106460,+ confidence: null,+ },+ ]}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Yeah I see"+ trimBefore={3254}+ durationInFrames={78}+ premountFor={fps}+ >+ <Video+ name="IMG_0475"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0475.MOV'+ }+ volume={2.5}+ premountFor={fps}+ objectFit="cover"+ style={{width: '100%', height: '100%'}}+ />+ <PoppingWordCaptions+ combineTokensWithinMilliseconds={null}+ name="Captions"+ premountFor={fps}+ width={1600}+ style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}+ captions={[+ {+ text: ' Yeah,',+ startMs: 108660,+ endMs: 108780,+ timestampMs: 108720,+ confidence: null,+ },+ {+ text: ' you',+ startMs: 108800,+ endMs: 108980,+ timestampMs: 108890,+ confidence: null,+ },+ {+ text: ' can',+ startMs: 108980,+ endMs: 109180,+ timestampMs: 109080,+ confidence: null,+ },+ {+ text: ' really,',+ startMs: 109180,+ endMs: 109320,+ timestampMs: 109250,+ confidence: null,+ },+ {+ text: ' yeah,',+ startMs: 109500,+ endMs: 109680,+ timestampMs: 109590,+ confidence: null,+ },+ {+ text: ' I',+ startMs: 109720,+ endMs: 109960,+ timestampMs: 109840,+ confidence: null,+ },+ {+ text: ' see,',+ startMs: 109960,+ endMs: 110080,+ timestampMs: 110020,+ confidence: null,+ },+ {+ text: ' I',+ startMs: 110220,+ endMs: 110360,+ timestampMs: 110290,+ confidence: null,+ },+ {+ text: ' see.',+ startMs: 110360,+ endMs: 110400,+ timestampMs: 110380,+ confidence: null,+ },+ ]}+ />+ </Series.Sequence>+ </Series>+ <NameLowerThird+ name="Mehmet"+ from={6}+ durationInFrames={284}+ premountFor={fps}+ personName="Mehmet"+ title="Already at work"+ accentColor="#2563eb"+ style={{position: 'absolute', left: 80, top: 70}}+ />+ <Callout+ name="Confirmed callout"+ from={314}+ durationInFrames={101}+ premountFor={fps}+ label="Confirmed"+ text="Still no brakes"+ icon="cross"+ accentColor="#dc2626"+ style={{position: 'absolute', left: 80, top: 70}}+ />+ <Audio+ name="Error"+ src="https://remotion.media/windows-xp-error.wav"+ from={316}+ volume={0.35}+ premountFor={fps}+ />+ </AbsoluteFill>+ );+};++export const Office = Interactive.withSchema({+ Component: OfficeInner,+ componentName: '<Office>',+ schema: {},+ wrapInSequence: true,+});diff --git a/packages/jonnys-videos/src/roller-skis-new/scenes/RideMontage.tsx b/packages/jonnys-videos/src/roller-skis-new/scenes/RideMontage.tsxnew file mode 100644index 0000000000..c997136f7b--- /dev/null+++ b/packages/jonnys-videos/src/roller-skis-new/scenes/RideMontage.tsx@@ -0,0 +1,69 @@+import {Audio, Video} from '@remotion/media';+import React from 'react';+import {+ AbsoluteFill,+ Interactive,+ Series,+ useVideoConfig,+ type InteractiveTransformProps,+} from 'remotion';++const RideMontageInner: React.FC<InteractiveTransformProps> = ({style}) => {+ const {fps} = useVideoConfig();++ return (+ <AbsoluteFill style={{backgroundColor: 'black', ...style}}>+ <Series>+ <Series.Sequence+ name="Under the trees"+ trimBefore={99}+ durationInFrames={145}+ playbackRate={1.25}+ premountFor={fps}+ >+ <Video+ name="IMG_0466"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis-new/footage/IMG_0466.mp4'+ }+ volume={0.4}+ premountFor={fps}+ objectFit="cover"+ style={{width: '100%', height: '100%'}}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Pass-by"+ trimBefore={1422}+ durationInFrames={105}+ premountFor={fps}+ >+ <Video+ name="IMG_0458"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis-new/footage/IMG_0458.mp4'+ }+ volume={1.5}+ premountFor={fps}+ objectFit="cover"+ style={{width: '100%', height: '100%'}}+ />+ </Series.Sequence>+ </Series>+ <Audio+ name="Whoosh"+ src="https://remotion.media/whoosh.wav"+ from={0}+ volume={0.5}+ premountFor={fps}+ />+ </AbsoluteFill>+ );+};++export const RideMontage = Interactive.withSchema({+ Component: RideMontageInner,+ componentName: '<RideMontage>',+ schema: {},+ wrapInSequence: true,+});diff --git a/packages/jonnys-videos/src/roller-skis-new/scenes/TheDecline.tsx b/packages/jonnys-videos/src/roller-skis-new/scenes/TheDecline.tsxnew file mode 100644index 0000000000..50f06de63f--- /dev/null+++ b/packages/jonnys-videos/src/roller-skis-new/scenes/TheDecline.tsx@@ -0,0 +1,1052 @@+import {Audio, Video} from '@remotion/media';+import React from 'react';+import {+ AbsoluteFill,+ Easing,+ Interactive,+ interpolate,+ Series,+ useCurrentFrame,+ useVideoConfig,+ type InteractiveTransformProps,+} from 'remotion';+import {Callout} from '../elements/Callout';+import {PoppingWordCaptions} from '../elements/popping-word-captions';++const TheDeclineInner: React.FC<InteractiveTransformProps> = ({style}) => {+ const {fps} = useVideoConfig();+ const frame = useCurrentFrame();++ return (+ <AbsoluteFill style={{backgroundColor: 'black', ...style}}>+ <Series>+ <Series.Sequence+ name="Standing on top"+ trimBefore={30}+ durationInFrames={68}+ premountFor={fps}+ >+ <Video+ name="IMG_0464"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0464.MOV'+ }+ volume={0.87}+ premountFor={fps}+ objectFit="cover"+ style={{width: '100%', height: '100%'}}+ />+ <PoppingWordCaptions+ combineTokensWithinMilliseconds={null}+ name="Captions"+ premountFor={fps}+ width={1600}+ style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}+ captions={[+ {+ text: ' Okay,',+ startMs: 1220,+ endMs: 1340,+ timestampMs: 1280,+ confidence: null,+ },+ {+ text: " I'm",+ startMs: 1340,+ endMs: 1740,+ timestampMs: 1540,+ confidence: null,+ },+ {+ text: ' standing',+ startMs: 1740,+ endMs: 1940,+ timestampMs: 1840,+ confidence: null,+ },+ {+ text: ' on',+ startMs: 1940,+ endMs: 2400,+ timestampMs: 2170,+ confidence: null,+ },+ {+ text: ' top',+ startMs: 2400,+ endMs: 2800,+ timestampMs: 2600,+ confidence: null,+ },+ {+ text: ' of',+ startMs: 2800,+ endMs: 3180,+ timestampMs: 2990,+ confidence: null,+ },+ ]}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Small decline"+ trimBefore={113}+ durationInFrames={83}+ premountFor={fps}+ >+ <Video+ name="IMG_0464"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0464.MOV'+ }+ volume={0.87}+ premountFor={fps}+ objectFit="cover"+ style={{width: '100%', height: '100%'}}+ />+ <PoppingWordCaptions+ combineTokensWithinMilliseconds={null}+ name="Captions"+ premountFor={fps}+ width={1600}+ style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}+ captions={[+ {+ text: ' a',+ startMs: 3767,+ endMs: 4060,+ timestampMs: 3914,+ confidence: null,+ },+ {+ text: ' small',+ startMs: 4060,+ endMs: 4620,+ timestampMs: 4340,+ confidence: null,+ },+ {+ text: ' decline',+ startMs: 4620,+ endMs: 4980,+ timestampMs: 4800,+ confidence: null,+ },+ {+ text: ' and',+ startMs: 4980,+ endMs: 5120,+ timestampMs: 5050,+ confidence: null,+ },+ {+ text: ' it',+ startMs: 5120,+ endMs: 5360,+ timestampMs: 5240,+ confidence: null,+ },+ {+ text: ' goes',+ startMs: 5360,+ endMs: 5680,+ timestampMs: 5520,+ confidence: null,+ },+ {+ text: ' right',+ startMs: 5680,+ endMs: 5940,+ timestampMs: 5810,+ confidence: null,+ },+ {+ text: ' onto',+ startMs: 5940,+ endMs: 6100,+ timestampMs: 6020,+ confidence: null,+ },+ {+ text: ' the',+ startMs: 5980,+ endMs: 6100,+ timestampMs: 6040,+ confidence: null,+ },+ {+ text: ' street.',+ startMs: 6100,+ endMs: 6500,+ timestampMs: 6300,+ confidence: null,+ },+ ]}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Problems with roller skis"+ trimBefore={257}+ durationInFrames={93}+ premountFor={fps}+ >+ <Video+ name="IMG_0464"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0464.MOV'+ }+ volume={0.87}+ premountFor={fps}+ objectFit="cover"+ style={{width: '100%', height: '100%'}}+ />+ <PoppingWordCaptions+ combineTokensWithinMilliseconds={null}+ name="Captions"+ premountFor={fps}+ width={1600}+ style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}+ captions={[+ {+ text: ' here',+ startMs: 8720,+ endMs: 9020,+ timestampMs: 8870,+ confidence: null,+ },+ {+ text: ' comes',+ startMs: 9020,+ endMs: 9320,+ timestampMs: 9170,+ confidence: null,+ },+ {+ text: ' one',+ startMs: 9320,+ endMs: 9520,+ timestampMs: 9420,+ confidence: null,+ },+ {+ text: ' of',+ startMs: 9520,+ endMs: 9660,+ timestampMs: 9590,+ confidence: null,+ },+ {+ text: ' the',+ startMs: 9660,+ endMs: 10160,+ timestampMs: 9910,+ confidence: null,+ },+ {+ text: ' problems',+ startMs: 10160,+ endMs: 10540,+ timestampMs: 10350,+ confidence: null,+ },+ {+ text: ' with',+ startMs: 10540,+ endMs: 10940,+ timestampMs: 10740,+ confidence: null,+ },+ {+ text: ' roller',+ startMs: 10940,+ endMs: 11240,+ timestampMs: 11090,+ confidence: null,+ },+ {+ text: ' skis.',+ startMs: 11240,+ endMs: 11640,+ timestampMs: 11440,+ confidence: null,+ },+ ]}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Freeze"+ durationInFrames={39}+ freeze={349}+ premountFor={fps}+ >+ <Video+ name="IMG_0464"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0464.MOV'+ }+ muted+ premountFor={fps}+ objectFit="cover"+ style={{+ width: '100%',+ height: '100%',+ filter: 'saturate(0.35) contrast(1.15)',+ scale: interpolate(frame, [244, 283], [1, 1.12], {+ easing: Easing.bezier(0.16, 1, 0.3, 1),+ output: 'perceptual-scale',+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ }),+ }}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Stopped filming"+ trimBefore={22}+ durationInFrames={113}+ premountFor={fps}+ >+ <Video+ name="IMG_0465"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0465.MOV'+ }+ volume={0.85}+ premountFor={fps}+ objectFit="cover"+ style={{width: '100%', height: '100%'}}+ />+ <PoppingWordCaptions+ combineTokensWithinMilliseconds={null}+ name="Captions"+ premountFor={fps}+ width={1600}+ style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}+ captions={[+ {+ text: ' Okay,',+ startMs: 940,+ endMs: 1100,+ timestampMs: 1020,+ confidence: null,+ },+ {+ text: ' I',+ startMs: 1100,+ endMs: 1360,+ timestampMs: 1230,+ confidence: null,+ },+ {+ text: ' stopped',+ startMs: 1360,+ endMs: 1900,+ timestampMs: 1630,+ confidence: null,+ },+ {+ text: ' filming',+ startMs: 1900,+ endMs: 2320,+ timestampMs: 2110,+ confidence: null,+ },+ {+ text: ' right',+ startMs: 2320,+ endMs: 2620,+ timestampMs: 2470,+ confidence: null,+ },+ {+ text: ' there',+ startMs: 2620,+ endMs: 2980,+ timestampMs: 2800,+ confidence: null,+ },+ {+ text: ' because',+ startMs: 2980,+ endMs: 3400,+ timestampMs: 3190,+ confidence: null,+ },+ {+ text: ' a',+ startMs: 3400,+ endMs: 3460,+ timestampMs: 3430,+ confidence: null,+ },+ {+ text: ' group',+ startMs: 3460,+ endMs: 3800,+ timestampMs: 3630,+ confidence: null,+ },+ {+ text: ' of',+ startMs: 3800,+ endMs: 3960,+ timestampMs: 3880,+ confidence: null,+ },+ {+ text: ' kindergarten',+ startMs: 3960,+ endMs: 4470,+ timestampMs: 4215,+ confidence: null,+ },+ ]}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Kindergarten kids"+ trimBefore={151}+ durationInFrames={51}+ premountFor={fps}+ >+ <Video+ name="IMG_0465"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0465.MOV'+ }+ volume={0.85}+ premountFor={fps}+ objectFit="cover"+ style={{width: '100%', height: '100%'}}+ />+ <PoppingWordCaptions+ combineTokensWithinMilliseconds={null}+ name="Captions"+ premountFor={fps}+ width={1600}+ style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}+ captions={[+ {+ text: ' kids',+ startMs: 5040,+ endMs: 5400,+ timestampMs: 5220,+ confidence: null,+ },+ {+ text: ' was',+ startMs: 5400,+ endMs: 5700,+ timestampMs: 5550,+ confidence: null,+ },+ {+ text: ' coming',+ startMs: 5700,+ endMs: 6300,+ timestampMs: 6000,+ confidence: null,+ },+ {+ text: ' towards',+ startMs: 6300,+ endMs: 6580,+ timestampMs: 6440,+ confidence: null,+ },+ {+ text: ' me',+ startMs: 6580,+ endMs: 6733,+ timestampMs: 6657,+ confidence: null,+ },+ ]}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Did not want to"+ trimBefore={221}+ durationInFrames={23}+ premountFor={fps}+ >+ <Video+ name="IMG_0465"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0465.MOV'+ }+ volume={0.85}+ premountFor={fps}+ objectFit="cover"+ style={{width: '100%', height: '100%'}}+ />+ <PoppingWordCaptions+ combineTokensWithinMilliseconds={null}+ name="Captions"+ premountFor={fps}+ width={1600}+ style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}+ captions={[+ {+ text: ' I',+ startMs: 7380,+ endMs: 7580,+ timestampMs: 7480,+ confidence: null,+ },+ {+ text: " didn't",+ startMs: 7580,+ endMs: 7780,+ timestampMs: 7680,+ confidence: null,+ },+ {+ text: ' want',+ startMs: 7780,+ endMs: 8080,+ timestampMs: 7930,+ confidence: null,+ },+ {+ text: ' to',+ startMs: 7950,+ endMs: 8120,+ timestampMs: 8035,+ confidence: null,+ },+ ]}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Film with them around"+ trimBefore={261}+ durationInFrames={115}+ premountFor={fps}+ >+ <Video+ name="IMG_0465"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0465.MOV'+ }+ volume={0.85}+ premountFor={fps}+ objectFit="cover"+ style={{width: '100%', height: '100%'}}+ />+ <PoppingWordCaptions+ combineTokensWithinMilliseconds={null}+ name="Captions"+ premountFor={fps}+ width={1600}+ style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}+ captions={[+ {+ text: ' film',+ startMs: 8920,+ endMs: 9200,+ timestampMs: 9060,+ confidence: null,+ },+ {+ text: ' with',+ startMs: 9200,+ endMs: 9420,+ timestampMs: 9310,+ confidence: null,+ },+ {+ text: ' them',+ startMs: 9420,+ endMs: 9600,+ timestampMs: 9510,+ confidence: null,+ },+ {+ text: ' being',+ startMs: 9600,+ endMs: 10000,+ timestampMs: 9800,+ confidence: null,+ },+ {+ text: ' around',+ startMs: 10000,+ endMs: 10260,+ timestampMs: 10130,+ confidence: null,+ },+ {+ text: ' and',+ startMs: 10260,+ endMs: 10320,+ timestampMs: 10290,+ confidence: null,+ },+ {+ text: ' talking',+ startMs: 10600,+ endMs: 10780,+ timestampMs: 10690,+ confidence: null,+ },+ {+ text: ' to',+ startMs: 10780,+ endMs: 10880,+ timestampMs: 10830,+ confidence: null,+ },+ {+ text: ' a',+ startMs: 10880,+ endMs: 11200,+ timestampMs: 11040,+ confidence: null,+ },+ {+ text: ' camera',+ startMs: 11200,+ endMs: 11400,+ timestampMs: 11300,+ confidence: null,+ },+ {+ text: ' while',+ startMs: 11400,+ endMs: 11640,+ timestampMs: 11520,+ confidence: null,+ },+ {+ text: ' being',+ startMs: 11640,+ endMs: 11840,+ timestampMs: 11740,+ confidence: null,+ },+ {+ text: ' on',+ startMs: 11840,+ endMs: 12120,+ timestampMs: 11980,+ confidence: null,+ },+ {+ text: ' roller',+ startMs: 12120,+ endMs: 12380,+ timestampMs: 12250,+ confidence: null,+ },+ {+ text: ' skis',+ startMs: 12300,+ endMs: 12500,+ timestampMs: 12400,+ confidence: null,+ },+ ]}+ />+ </Series.Sequence>+ <Series.Sequence+ name="And falling"+ trimBefore={392}+ durationInFrames={34}+ premountFor={fps}+ >+ <Video+ name="IMG_0465"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0465.MOV'+ }+ volume={0.85}+ premountFor={fps}+ objectFit="cover"+ style={{width: '100%', height: '100%'}}+ />+ <PoppingWordCaptions+ combineTokensWithinMilliseconds={null}+ name="Captions"+ premountFor={fps}+ width={1600}+ style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}+ captions={[+ {+ text: ' and',+ startMs: 13280,+ endMs: 13640,+ timestampMs: 13460,+ confidence: null,+ },+ {+ text: ' falling',+ startMs: 13640,+ endMs: 14140,+ timestampMs: 13890,+ confidence: null,+ },+ ]}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Down this decline"+ trimBefore={446}+ durationInFrames={63}+ premountFor={fps}+ >+ <Video+ name="IMG_0465"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0465.MOV'+ }+ volume={0.85}+ premountFor={fps}+ objectFit="cover"+ style={{width: '100%', height: '100%'}}+ />+ <PoppingWordCaptions+ combineTokensWithinMilliseconds={null}+ name="Captions"+ premountFor={fps}+ width={1600}+ style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}+ captions={[+ {+ text: ' down',+ startMs: 14867,+ endMs: 16080,+ timestampMs: 15474,+ confidence: null,+ },+ {+ text: ' this',+ startMs: 16080,+ endMs: 16540,+ timestampMs: 16310,+ confidence: null,+ },+ {+ text: ' decline.',+ startMs: 16540,+ endMs: 16967,+ timestampMs: 16754,+ confidence: null,+ },+ ]}+ />+ </Series.Sequence>+ <Series.Sequence+ name="How it went"+ trimBefore={548}+ durationInFrames={372}+ premountFor={fps}+ >+ <Video+ name="IMG_0465"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0465.MOV'+ }+ volume={0.85}+ premountFor={fps}+ objectFit="cover"+ style={{+ width: '100%',+ height: '100%',+ scale: interpolate(+ frame,+ [926, 933, 953, 1052],+ [1, 1.12, 1.12, 1.22],+ {+ easing: Easing.bezier(0.16, 1, 0.3, 1),+ output: 'perceptual-scale',+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ },+ ),+ }}+ />+ <PoppingWordCaptions+ combineTokensWithinMilliseconds={null}+ name="Captions"+ premountFor={fps}+ width={1600}+ style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}+ captions={[+ {+ text: ' So',+ startMs: 18400,+ endMs: 18500,+ timestampMs: 18450,+ confidence: null,+ },+ {+ text: ' let',+ startMs: 18500,+ endMs: 18600,+ timestampMs: 18550,+ confidence: null,+ },+ {+ text: ' me',+ startMs: 18600,+ endMs: 18740,+ timestampMs: 18670,+ confidence: null,+ },+ {+ text: ' tell',+ startMs: 18740,+ endMs: 18820,+ timestampMs: 18780,+ confidence: null,+ },+ {+ text: ' you',+ startMs: 18820,+ endMs: 18960,+ timestampMs: 18890,+ confidence: null,+ },+ {+ text: ' how',+ startMs: 18960,+ endMs: 19080,+ timestampMs: 19020,+ confidence: null,+ },+ {+ text: ' it',+ startMs: 19080,+ endMs: 19200,+ timestampMs: 19140,+ confidence: null,+ },+ {+ text: ' went.',+ startMs: 19200,+ endMs: 19400,+ timestampMs: 19300,+ confidence: null,+ },+ {+ text: ' I',+ startMs: 19500,+ endMs: 19900,+ timestampMs: 19700,+ confidence: null,+ },+ {+ text: ' only',+ startMs: 19900,+ endMs: 20500,+ timestampMs: 20200,+ confidence: null,+ },+ {+ text: ' almost',+ startMs: 20500,+ endMs: 21020,+ timestampMs: 20760,+ confidence: null,+ },+ {+ text: ' fell',+ startMs: 21020,+ endMs: 21240,+ timestampMs: 21130,+ confidence: null,+ },+ {+ text: ' on',+ startMs: 21240,+ endMs: 21420,+ timestampMs: 21330,+ confidence: null,+ },+ {+ text: ' my',+ startMs: 21420,+ endMs: 21780,+ timestampMs: 21600,+ confidence: null,+ },+ {+ text: ' ass',+ startMs: 21780,+ endMs: 22800,+ timestampMs: 22290,+ confidence: null,+ },+ {+ text: ' but',+ startMs: 22800,+ endMs: 23100,+ timestampMs: 22950,+ confidence: null,+ },+ {+ text: ' I',+ startMs: 23100,+ endMs: 23480,+ timestampMs: 23290,+ confidence: null,+ },+ {+ text: ' managed',+ startMs: 23480,+ endMs: 23680,+ timestampMs: 23580,+ confidence: null,+ },+ {+ text: ' to',+ startMs: 23700,+ endMs: 23980,+ timestampMs: 23840,+ confidence: null,+ },+ {+ text: ' rescue',+ startMs: 24000,+ endMs: 24600,+ timestampMs: 24300,+ confidence: null,+ },+ {+ text: ' myself',+ startMs: 24600,+ endMs: 25460,+ timestampMs: 25030,+ confidence: null,+ },+ {+ text: ' in',+ startMs: 25460,+ endMs: 25560,+ timestampMs: 25510,+ confidence: null,+ },+ {+ text: ' the',+ startMs: 25560,+ endMs: 25740,+ timestampMs: 25650,+ confidence: null,+ },+ {+ text: ' last',+ startMs: 25740,+ endMs: 26060,+ timestampMs: 25900,+ confidence: null,+ },+ {+ text: ' second.',+ startMs: 26060,+ endMs: 26340,+ timestampMs: 26200,+ confidence: null,+ },+ {+ text: " Let's",+ startMs: 26500,+ endMs: 26780,+ timestampMs: 26640,+ confidence: null,+ },+ {+ text: ' go.',+ startMs: 26780,+ endMs: 27160,+ timestampMs: 26970,+ confidence: null,+ },+ {+ text: ' Because',+ startMs: 27460,+ endMs: 27660,+ timestampMs: 27560,+ confidence: null,+ },+ {+ text: ' last',+ startMs: 27660,+ endMs: 28000,+ timestampMs: 27830,+ confidence: null,+ },+ {+ text: ' time',+ startMs: 28000,+ endMs: 29220,+ timestampMs: 28610,+ confidence: null,+ },+ {+ text: ' it',+ startMs: 29220,+ endMs: 29480,+ timestampMs: 29350,+ confidence: null,+ },+ {+ text: ' went',+ startMs: 29480,+ endMs: 29760,+ timestampMs: 29620,+ confidence: null,+ },+ {+ text: ' way',+ startMs: 29760,+ endMs: 29960,+ timestampMs: 29860,+ confidence: null,+ },+ {+ text: ' more',+ startMs: 29960,+ endMs: 30300,+ timestampMs: 30130,+ confidence: null,+ },+ {+ text: ' poorly.',+ startMs: 30300,+ endMs: 30480,+ timestampMs: 30390,+ confidence: null,+ },+ ]}+ />+ </Series.Sequence>+ </Series>+ <Callout+ name="Problem callout"+ from={244}+ durationInFrames={152}+ premountFor={fps}+ label="Problem"+ text="No brakes"+ icon="warning"+ accentColor="#dc2626"+ style={{position: 'absolute', left: 80, top: 70}}+ />+ <Audio+ name="Record scratch"+ src="https://remotion.media/record-scratch.wav"+ from={244}+ volume={0.6}+ premountFor={fps}+ />+ </AbsoluteFill>+ );+};++export const TheDecline = Interactive.withSchema({+ Component: TheDeclineInner,+ componentName: '<TheDecline>',+ schema: {},+ wrapInSequence: true,+});diff --git a/packages/jonnys-videos/src/roller-skis-new/scenes/Uphill.tsx b/packages/jonnys-videos/src/roller-skis-new/scenes/Uphill.tsxnew file mode 100644index 0000000000..e0f64eed4e--- /dev/null+++ b/packages/jonnys-videos/src/roller-skis-new/scenes/Uphill.tsx@@ -0,0 +1,1395 @@+import {Audio, Video} from '@remotion/media';+import React from 'react';+import {+ AbsoluteFill,+ Easing,+ Interactive,+ interpolate,+ Series,+ useCurrentFrame,+ useVideoConfig,+ type InteractiveTransformProps,+} from 'remotion';+import {Callout} from '../elements/Callout';+import {PoppingWordCaptions} from '../elements/popping-word-captions';++const UphillInner: React.FC<InteractiveTransformProps> = ({style}) => {+ const {fps} = useVideoConfig();+ const frame = useCurrentFrame();++ return (+ <AbsoluteFill style={{backgroundColor: 'black', ...style}}>+ <Series>+ <Series.Sequence+ name="Incline"+ trimBefore={28}+ durationInFrames={83}+ premountFor={fps}+ >+ <Video+ name="IMG_0459"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0459.MOV'+ }+ volume={0.8}+ premountFor={fps}+ objectFit="cover"+ style={{width: '100%', height: '100%'}}+ />+ <PoppingWordCaptions+ combineTokensWithinMilliseconds={null}+ name="Captions"+ premountFor={fps}+ width={1600}+ style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}+ captions={[+ {+ text: ' Okay,',+ startMs: 1180,+ endMs: 1360,+ timestampMs: 1270,+ confidence: null,+ },+ {+ text: ' so',+ startMs: 1400,+ endMs: 1580,+ timestampMs: 1490,+ confidence: null,+ },+ {+ text: ' now',+ startMs: 1580,+ endMs: 1720,+ timestampMs: 1650,+ confidence: null,+ },+ {+ text: ' we',+ startMs: 1720,+ endMs: 1900,+ timestampMs: 1810,+ confidence: null,+ },+ {+ text: ' have',+ startMs: 1900,+ endMs: 2060,+ timestampMs: 1980,+ confidence: null,+ },+ {+ text: ' a',+ startMs: 2060,+ endMs: 2300,+ timestampMs: 2180,+ confidence: null,+ },+ {+ text: ' bit',+ startMs: 2300,+ endMs: 2480,+ timestampMs: 2390,+ confidence: null,+ },+ {+ text: ' of',+ startMs: 2480,+ endMs: 2600,+ timestampMs: 2540,+ confidence: null,+ },+ {+ text: ' an',+ startMs: 2600,+ endMs: 2820,+ timestampMs: 2710,+ confidence: null,+ },+ {+ text: ' incline,',+ startMs: 2820,+ endMs: 3240,+ timestampMs: 3030,+ confidence: null,+ },+ {+ text: ' so',+ startMs: 3280,+ endMs: 3420,+ timestampMs: 3350,+ confidence: null,+ },+ {+ text: " it's",+ startMs: 3420,+ endMs: 3660,+ timestampMs: 3540,+ confidence: null,+ },+ ]}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Awesome features"+ trimBefore={131}+ durationInFrames={145}+ premountFor={fps}+ >+ <Video+ name="IMG_0459"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0459.MOV'+ }+ volume={0.8}+ premountFor={fps}+ objectFit="cover"+ style={{width: '100%', height: '100%'}}+ />+ <PoppingWordCaptions+ combineTokensWithinMilliseconds={null}+ name="Captions"+ premountFor={fps}+ width={1600}+ style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}+ captions={[+ {+ text: ' a',+ startMs: 4367,+ endMs: 4600,+ timestampMs: 4484,+ confidence: null,+ },+ {+ text: ' great',+ startMs: 4600,+ endMs: 4880,+ timestampMs: 4740,+ confidence: null,+ },+ {+ text: ' time',+ startMs: 4880,+ endMs: 5060,+ timestampMs: 4970,+ confidence: null,+ },+ {+ text: ' to',+ startMs: 5060,+ endMs: 5240,+ timestampMs: 5150,+ confidence: null,+ },+ {+ text: ' show',+ startMs: 5240,+ endMs: 5400,+ timestampMs: 5320,+ confidence: null,+ },+ {+ text: ' you',+ startMs: 5400,+ endMs: 5660,+ timestampMs: 5530,+ confidence: null,+ },+ {+ text: ' one',+ startMs: 5660,+ endMs: 5780,+ timestampMs: 5720,+ confidence: null,+ },+ {+ text: ' of',+ startMs: 5780,+ endMs: 5940,+ timestampMs: 5860,+ confidence: null,+ },+ {+ text: ' the',+ startMs: 5940,+ endMs: 6080,+ timestampMs: 6010,+ confidence: null,+ },+ {+ text: ' awesome',+ startMs: 6440,+ endMs: 6880,+ timestampMs: 6660,+ confidence: null,+ },+ {+ text: ' features',+ startMs: 6880,+ endMs: 8080,+ timestampMs: 7480,+ confidence: null,+ },+ {+ text: ' of',+ startMs: 8080,+ endMs: 8320,+ timestampMs: 8200,+ confidence: null,+ },+ {+ text: ' these',+ startMs: 8320,+ endMs: 8540,+ timestampMs: 8430,+ confidence: null,+ },+ {+ text: ' ski',+ startMs: 8540,+ endMs: 9000,+ timestampMs: 8770,+ confidence: null,+ },+ {+ text: ' rollers,',+ startMs: 9000,+ endMs: 9200,+ timestampMs: 9100,+ confidence: null,+ },+ ]}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Which is"+ trimBefore={299}+ durationInFrames={24}+ premountFor={fps}+ >+ <Video+ name="IMG_0459"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0459.MOV'+ }+ volume={0.8}+ premountFor={fps}+ objectFit="cover"+ style={{width: '100%', height: '100%'}}+ />+ <PoppingWordCaptions+ combineTokensWithinMilliseconds={null}+ name="Captions"+ premountFor={fps}+ width={1600}+ style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}+ captions={[+ {+ text: ' which',+ startMs: 10120,+ endMs: 10380,+ timestampMs: 10250,+ confidence: null,+ },+ {+ text: ' is',+ startMs: 10380,+ endMs: 10700,+ timestampMs: 10540,+ confidence: null,+ },+ ]}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Cannot roll backwards"+ trimBefore={342}+ durationInFrames={48}+ premountFor={fps}+ >+ <Video+ name="IMG_0459"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0459.MOV'+ }+ volume={0.8}+ premountFor={fps}+ objectFit="cover"+ style={{width: '100%', height: '100%'}}+ />+ <PoppingWordCaptions+ combineTokensWithinMilliseconds={null}+ name="Captions"+ premountFor={fps}+ width={1600}+ style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}+ captions={[+ {+ text: ' that',+ startMs: 11420,+ endMs: 11560,+ timestampMs: 11490,+ confidence: null,+ },+ {+ text: ' you',+ startMs: 11500,+ endMs: 11740,+ timestampMs: 11620,+ confidence: null,+ },+ {+ text: ' cannot',+ startMs: 11740,+ endMs: 12200,+ timestampMs: 11970,+ confidence: null,+ },+ {+ text: ' roll',+ startMs: 12200,+ endMs: 12760,+ timestampMs: 12480,+ confidence: null,+ },+ {+ text: ' backwards.',+ startMs: 12760,+ endMs: 12960,+ timestampMs: 12860,+ confidence: null,+ },+ ]}+ />+ </Series.Sequence>+ <Series.Sequence+ name="So I can just"+ trimBefore={416}+ durationInFrames={21}+ premountFor={fps}+ >+ <Video+ name="IMG_0459"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0459.MOV'+ }+ volume={0.8}+ premountFor={fps}+ objectFit="cover"+ style={{width: '100%', height: '100%'}}+ />+ <PoppingWordCaptions+ combineTokensWithinMilliseconds={null}+ name="Captions"+ premountFor={fps}+ width={1600}+ style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}+ captions={[+ {+ text: ' So',+ startMs: 14020,+ endMs: 14180,+ timestampMs: 14100,+ confidence: null,+ },+ {+ text: ' I',+ startMs: 14180,+ endMs: 14300,+ timestampMs: 14240,+ confidence: null,+ },+ {+ text: ' can',+ startMs: 14300,+ endMs: 14540,+ timestampMs: 14420,+ confidence: null,+ },+ {+ text: ' just',+ startMs: 14300,+ endMs: 14560,+ timestampMs: 14430,+ confidence: null,+ },+ ]}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Walk"+ trimBefore={465}+ durationInFrames={24}+ premountFor={fps}+ >+ <Video+ name="IMG_0459"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0459.MOV'+ }+ volume={0.8}+ premountFor={fps}+ objectFit="cover"+ style={{width: '100%', height: '100%'}}+ />+ <PoppingWordCaptions+ combineTokensWithinMilliseconds={null}+ name="Captions"+ premountFor={fps}+ width={1600}+ style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}+ captions={[+ {+ text: ' walk,',+ startMs: 15980,+ endMs: 16280,+ timestampMs: 16130,+ confidence: null,+ },+ ]}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Super chill"+ trimBefore={539}+ durationInFrames={40}+ premountFor={fps}+ >+ <Video+ name="IMG_0459"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0459.MOV'+ }+ volume={0.8}+ premountFor={fps}+ objectFit="cover"+ style={{width: '100%', height: '100%'}}+ />+ <PoppingWordCaptions+ combineTokensWithinMilliseconds={null}+ name="Captions"+ premountFor={fps}+ width={1600}+ style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}+ captions={[+ {+ text: ' super',+ startMs: 18160,+ endMs: 18480,+ timestampMs: 18320,+ confidence: null,+ },+ {+ text: ' chill,',+ startMs: 18480,+ endMs: 19280,+ timestampMs: 18880,+ confidence: null,+ },+ ]}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Super casual"+ trimBefore={642}+ durationInFrames={37}+ premountFor={fps}+ >+ <Video+ name="IMG_0459"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0459.MOV'+ }+ volume={0.8}+ premountFor={fps}+ objectFit="cover"+ style={{width: '100%', height: '100%'}}+ />+ <PoppingWordCaptions+ combineTokensWithinMilliseconds={null}+ name="Captions"+ premountFor={fps}+ width={1600}+ style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}+ captions={[+ {+ text: ' super',+ startMs: 21640,+ endMs: 22080,+ timestampMs: 21860,+ confidence: null,+ },+ {+ text: ' casual,',+ startMs: 22080,+ endMs: 22560,+ timestampMs: 22320,+ confidence: null,+ },+ ]}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Really super cool"+ trimBefore={1050}+ durationInFrames={29}+ premountFor={fps}+ >+ <Video+ name="IMG_0459"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0459.MOV'+ }+ volume={0.8}+ premountFor={fps}+ objectFit="cover"+ style={{width: '100%', height: '100%'}}+ />+ <PoppingWordCaptions+ combineTokensWithinMilliseconds={null}+ name="Captions"+ premountFor={fps}+ width={1600}+ style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}+ captions={[+ {+ text: ' Really',+ startMs: 35240,+ endMs: 35480,+ timestampMs: 35360,+ confidence: null,+ },+ {+ text: ' super',+ startMs: 35480,+ endMs: 35780,+ timestampMs: 35630,+ confidence: null,+ },+ {+ text: ' cool.',+ startMs: 35780,+ endMs: 35967,+ timestampMs: 35874,+ confidence: null,+ },+ ]}+ />+ </Series.Sequence>+ <Series.Sequence+ name="One thing"+ trimBefore={1141}+ durationInFrames={64}+ premountFor={fps}+ >+ <Video+ name="IMG_0459"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0459.MOV'+ }+ volume={0.8}+ premountFor={fps}+ objectFit="cover"+ style={{width: '100%', height: '100%', rotate: '180deg'}}+ />+ <PoppingWordCaptions+ combineTokensWithinMilliseconds={null}+ name="Captions"+ premountFor={fps}+ width={1600}+ style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}+ captions={[+ {+ text: ' One',+ startMs: 38220,+ endMs: 38400,+ timestampMs: 38310,+ confidence: null,+ },+ {+ text: ' thing',+ startMs: 38400,+ endMs: 38580,+ timestampMs: 38490,+ confidence: null,+ },+ {+ text: ' I',+ startMs: 38580,+ endMs: 38720,+ timestampMs: 38650,+ confidence: null,+ },+ {+ text: ' have',+ startMs: 38720,+ endMs: 38840,+ timestampMs: 38780,+ confidence: null,+ },+ {+ text: ' to',+ startMs: 38840,+ endMs: 39040,+ timestampMs: 38940,+ confidence: null,+ },+ {+ text: ' tell',+ startMs: 39040,+ endMs: 39140,+ timestampMs: 39090,+ confidence: null,+ },+ {+ text: ' you',+ startMs: 39140,+ endMs: 39320,+ timestampMs: 39230,+ confidence: null,+ },+ {+ text: ' though',+ startMs: 39320,+ endMs: 39560,+ timestampMs: 39440,+ confidence: null,+ },+ {+ text: ' is',+ startMs: 39560,+ endMs: 39840,+ timestampMs: 39700,+ confidence: null,+ },+ ]}+ />+ </Series.Sequence>+ <Series.Sequence+ name="People look weird"+ trimBefore={1224}+ durationInFrames={95}+ premountFor={fps}+ >+ <Video+ name="IMG_0459"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0459.MOV'+ }+ volume={0.8}+ premountFor={fps}+ objectFit="cover"+ style={{+ width: '100%',+ height: '100%',+ rotate: '180deg',+ scale: interpolate(frame, [578, 587], [1, 1.1], {+ easing: Easing.bezier(0.16, 1, 0.3, 1),+ output: 'perceptual-scale',+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ }),+ }}+ />+ <PoppingWordCaptions+ combineTokensWithinMilliseconds={null}+ name="Captions"+ premountFor={fps}+ width={1600}+ style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}+ captions={[+ {+ text: ' that',+ startMs: 40800,+ endMs: 41340,+ timestampMs: 41070,+ confidence: null,+ },+ {+ text: ' all',+ startMs: 41340,+ endMs: 41460,+ timestampMs: 41400,+ confidence: null,+ },+ {+ text: ' the',+ startMs: 41460,+ endMs: 41740,+ timestampMs: 41600,+ confidence: null,+ },+ {+ text: ' people',+ startMs: 41740,+ endMs: 42640,+ timestampMs: 42190,+ confidence: null,+ },+ {+ text: ' are',+ startMs: 42640,+ endMs: 42900,+ timestampMs: 42770,+ confidence: null,+ },+ {+ text: ' looking',+ startMs: 42900,+ endMs: 43120,+ timestampMs: 43010,+ confidence: null,+ },+ {+ text: ' a',+ startMs: 43120,+ endMs: 43260,+ timestampMs: 43190,+ confidence: null,+ },+ {+ text: ' bit',+ startMs: 43260,+ endMs: 43560,+ timestampMs: 43410,+ confidence: null,+ },+ {+ text: ' weird.',+ startMs: 43560,+ endMs: 43840,+ timestampMs: 43700,+ confidence: null,+ },+ ]}+ />+ </Series.Sequence>+ <Series.Sequence+ name="What is cool"+ trimBefore={1335}+ durationInFrames={257}+ premountFor={fps}+ >+ <Video+ name="IMG_0459"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0459.MOV'+ }+ volume={0.8}+ premountFor={fps}+ objectFit="cover"+ style={{width: '100%', height: '100%', rotate: '180deg'}}+ />+ <PoppingWordCaptions+ combineTokensWithinMilliseconds={null}+ name="Captions"+ premountFor={fps}+ width={1600}+ style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}+ captions={[+ {+ text: ' They',+ startMs: 44700,+ endMs: 44860,+ timestampMs: 44780,+ confidence: null,+ },+ {+ text: ' do',+ startMs: 44860,+ endMs: 45020,+ timestampMs: 44940,+ confidence: null,+ },+ {+ text: ' not',+ startMs: 45020,+ endMs: 45260,+ timestampMs: 45140,+ confidence: null,+ },+ {+ text: ' seem',+ startMs: 45260,+ endMs: 45540,+ timestampMs: 45400,+ confidence: null,+ },+ {+ text: ' to',+ startMs: 45500,+ endMs: 47260,+ timestampMs: 46380,+ confidence: null,+ },+ {+ text: ' have',+ startMs: 47260,+ endMs: 47620,+ timestampMs: 47440,+ confidence: null,+ },+ {+ text: ' that',+ startMs: 47620,+ endMs: 48660,+ timestampMs: 48140,+ confidence: null,+ },+ {+ text: ' wide',+ startMs: 48660,+ endMs: 50020,+ timestampMs: 49340,+ confidence: null,+ },+ {+ text: ' of',+ startMs: 50020,+ endMs: 51180,+ timestampMs: 50600,+ confidence: null,+ },+ {+ text: ' understanding',+ startMs: 51180,+ endMs: 51680,+ timestampMs: 51430,+ confidence: null,+ },+ {+ text: ' of',+ startMs: 51680,+ endMs: 51880,+ timestampMs: 51780,+ confidence: null,+ },+ {+ text: ' what',+ startMs: 51880,+ endMs: 52020,+ timestampMs: 51950,+ confidence: null,+ },+ {+ text: ' is',+ startMs: 52020,+ endMs: 52200,+ timestampMs: 52110,+ confidence: null,+ },+ {+ text: ' cool',+ startMs: 52200,+ endMs: 52420,+ timestampMs: 52310,+ confidence: null,+ },+ {+ text: ' and',+ startMs: 52420,+ endMs: 52560,+ timestampMs: 52490,+ confidence: null,+ },+ {+ text: ' what',+ startMs: 52560,+ endMs: 52680,+ timestampMs: 52620,+ confidence: null,+ },+ {+ text: ' is',+ startMs: 52680,+ endMs: 52920,+ timestampMs: 52800,+ confidence: null,+ },+ {+ text: ' not.',+ startMs: 52920,+ endMs: 53000,+ timestampMs: 52960,+ confidence: null,+ },+ ]}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Even the cows"+ trimBefore={1751}+ durationInFrames={168}+ premountFor={fps}+ >+ <Video+ name="IMG_0459"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0459.MOV'+ }+ volume={0.8}+ premountFor={fps}+ objectFit="cover"+ style={{width: '100%', height: '100%'}}+ />+ <Video+ name="Cow close-up"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0460.MOV'+ }+ from={1872}+ trimBefore={75}+ muted+ premountFor={fps}+ objectFit="cover"+ style={{position: 'absolute', width: '100%', height: '100%'}}+ />+ <PoppingWordCaptions+ combineTokensWithinMilliseconds={null}+ name="Captions"+ premountFor={fps}+ width={1600}+ style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}+ captions={[+ {+ text: ' I',+ startMs: 58440,+ endMs: 58540,+ timestampMs: 58490,+ confidence: null,+ },+ {+ text: ' feel',+ startMs: 58540,+ endMs: 58700,+ timestampMs: 58620,+ confidence: null,+ },+ {+ text: ' like',+ startMs: 58700,+ endMs: 58860,+ timestampMs: 58780,+ confidence: null,+ },+ {+ text: ' even',+ startMs: 58860,+ endMs: 59000,+ timestampMs: 58930,+ confidence: null,+ },+ {+ text: ' the',+ startMs: 59000,+ endMs: 59400,+ timestampMs: 59200,+ confidence: null,+ },+ {+ text: ' cows,',+ startMs: 59400,+ endMs: 59580,+ timestampMs: 59490,+ confidence: null,+ },+ {+ text: " they're",+ startMs: 61620,+ endMs: 61940,+ timestampMs: 61780,+ confidence: null,+ },+ {+ text: ' looking',+ startMs: 61940,+ endMs: 62140,+ timestampMs: 62040,+ confidence: null,+ },+ {+ text: ' a',+ startMs: 62140,+ endMs: 62280,+ timestampMs: 62210,+ confidence: null,+ },+ {+ text: ' bit',+ startMs: 62280,+ endMs: 62580,+ timestampMs: 62430,+ confidence: null,+ },+ {+ text: ' skeptically',+ startMs: 62580,+ endMs: 63100,+ timestampMs: 62840,+ confidence: null,+ },+ {+ text: ' at',+ startMs: 63100,+ endMs: 63320,+ timestampMs: 63210,+ confidence: null,+ },+ {+ text: ' me.',+ startMs: 63320,+ endMs: 63900,+ timestampMs: 63610,+ confidence: null,+ },+ ]}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Cow stare"+ trimBefore={122}+ durationInFrames={51}+ premountFor={fps}+ >+ <Video+ name="IMG_0460"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0460.MOV'+ }+ muted+ premountFor={fps}+ objectFit="cover"+ style={{+ width: '100%',+ height: '100%',+ scale: interpolate(frame, [1035, 1044, 1086], [1, 1.2, 1.3], {+ easing: Easing.bezier(0.16, 1, 0.3, 1),+ output: 'perceptual-scale',+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ }),+ }}+ />+ </Series.Sequence>+ <Series.Sequence+ name="But you know"+ trimBefore={1932}+ durationInFrames={22}+ premountFor={fps}+ >+ <Video+ name="IMG_0459"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0459.MOV'+ }+ volume={0.8}+ premountFor={fps}+ objectFit="cover"+ style={{width: '100%', height: '100%'}}+ />+ <PoppingWordCaptions+ combineTokensWithinMilliseconds={null}+ name="Captions"+ premountFor={fps}+ width={1600}+ style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}+ captions={[+ {+ text: ' But',+ startMs: 64540,+ endMs: 64600,+ timestampMs: 64570,+ confidence: null,+ },+ {+ text: ' you',+ startMs: 64600,+ endMs: 64780,+ timestampMs: 64690,+ confidence: null,+ },+ {+ text: ' know,',+ startMs: 64780,+ endMs: 65080,+ timestampMs: 64930,+ confidence: null,+ },+ ]}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Stand for your values"+ trimBefore={2018}+ durationInFrames={255}+ premountFor={fps}+ >+ <Video+ name="IMG_0459"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0459.MOV'+ }+ volume={0.8}+ premountFor={fps}+ objectFit="cover"+ style={{width: '100%', height: '100%', rotate: '180deg'}}+ />+ <PoppingWordCaptions+ combineTokensWithinMilliseconds={null}+ name="Captions"+ premountFor={fps}+ width={1600}+ style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}+ captions={[+ {+ text: ' sometimes',+ startMs: 67600,+ endMs: 67920,+ timestampMs: 67760,+ confidence: null,+ },+ {+ text: ' you',+ startMs: 67920,+ endMs: 68120,+ timestampMs: 68020,+ confidence: null,+ },+ {+ text: ' just',+ startMs: 68120,+ endMs: 68400,+ timestampMs: 68260,+ confidence: null,+ },+ {+ text: ' gotta',+ startMs: 68400,+ endMs: 70120,+ timestampMs: 69260,+ confidence: null,+ },+ {+ text: ' stand',+ startMs: 70120,+ endMs: 71100,+ timestampMs: 70610,+ confidence: null,+ },+ {+ text: ' for',+ startMs: 71100,+ endMs: 71280,+ timestampMs: 71190,+ confidence: null,+ },+ {+ text: ' your',+ startMs: 71280,+ endMs: 71660,+ timestampMs: 71470,+ confidence: null,+ },+ {+ text: ' values',+ startMs: 71660,+ endMs: 72720,+ timestampMs: 72190,+ confidence: null,+ },+ {+ text: ' and',+ startMs: 72720,+ endMs: 73120,+ timestampMs: 72920,+ confidence: null,+ },+ {+ text: ' slowly',+ startMs: 73120,+ endMs: 75460,+ timestampMs: 74290,+ confidence: null,+ },+ {+ text: ' go',+ startMs: 75460,+ endMs: 75760,+ timestampMs: 75610,+ confidence: null,+ },+ ]}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Step by step"+ trimBefore={2273}+ durationInFrames={87}+ premountFor={fps}+ >+ <Video+ name="IMG_0459"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0459.MOV'+ }+ volume={0.8}+ premountFor={fps}+ objectFit="cover"+ style={{width: '100%', height: '100%'}}+ />+ <PoppingWordCaptions+ combineTokensWithinMilliseconds={null}+ name="Captions"+ premountFor={fps}+ width={1600}+ style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}+ captions={[+ {+ text: ' up',+ startMs: 75767,+ endMs: 76700,+ timestampMs: 76234,+ confidence: null,+ },+ {+ text: ' the',+ startMs: 76700,+ endMs: 76980,+ timestampMs: 76840,+ confidence: null,+ },+ {+ text: ' hill,',+ startMs: 76980,+ endMs: 77240,+ timestampMs: 77110,+ confidence: null,+ },+ {+ text: ' step',+ startMs: 77940,+ endMs: 78100,+ timestampMs: 78020,+ confidence: null,+ },+ {+ text: ' by',+ startMs: 78100,+ endMs: 78440,+ timestampMs: 78270,+ confidence: null,+ },+ {+ text: ' step,',+ startMs: 78440,+ endMs: 78667,+ timestampMs: 78554,+ confidence: null,+ },+ ]}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Reached the top"+ trimBefore={2416}+ durationInFrames={67}+ premountFor={fps}+ >+ <Video+ name="IMG_0459"+ src={+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0459.MOV'+ }+ volume={0.8}+ premountFor={fps}+ objectFit="cover"+ style={{width: '100%', height: '100%'}}+ />+ <PoppingWordCaptions+ combineTokensWithinMilliseconds={null}+ name="Captions"+ premountFor={fps}+ width={1600}+ style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}+ captions={[+ {+ text: ' until',+ startMs: 80820,+ endMs: 81740,+ timestampMs: 81280,+ confidence: null,+ },+ {+ text: ' you',+ startMs: 81740,+ endMs: 81880,+ timestampMs: 81810,+ confidence: null,+ },+ {+ text: ' have',+ startMs: 81880,+ endMs: 82120,+ timestampMs: 82000,+ confidence: null,+ },+ {+ text: ' reached',+ startMs: 82120,+ endMs: 82280,+ timestampMs: 82200,+ confidence: null,+ },+ {+ text: ' the',+ startMs: 82280,+ endMs: 82500,+ timestampMs: 82390,+ confidence: null,+ },+ {+ text: ' top.',+ startMs: 82500,+ endMs: 82640,+ timestampMs: 82570,+ confidence: null,+ },+ ]}+ />+ </Series.Sequence>+ </Series>+ <Callout+ name="Feature callout"+ from={258}+ durationInFrames={164}+ premountFor={fps}+ label="Feature"+ text="Can't roll backwards"+ icon="check"+ accentColor="#16a34a"+ style={{position: 'absolute', left: 80, top: 70}}+ />+ <Audio+ name="Ding"+ src="https://remotion.media/ding.wav"+ from={258}+ volume={0.35}+ premountFor={fps}+ />+ <Audio+ name="Vine boom"+ src="https://remotion.media/vine-boom.wav"+ from={1035}+ volume={0.5}+ premountFor={fps}+ />+ </AbsoluteFill>+ );+};++export const Uphill = Interactive.withSchema({+ Component: UphillInner,+ componentName: '<Uphill>',+ schema: {},+ wrapInSequence: true,+});