Skip to content

🎥 Make videos programmatically with React

Simplify RollerSkiCommute timeline and refresh reveal screenshot

JonnyBurger47b48fd4ec84
diff --git a/packages/brand/public/timeline-reveal/after.png b/packages/brand/public/timeline-reveal/after.png
index 484976177b..fd9e1fef02 100644
Binary files a/packages/brand/public/timeline-reveal/after.png and b/packages/brand/public/timeline-reveal/after.png differ
diff --git a/packages/jonnys-videos/src/roller-skis-new/Root.tsx b/packages/jonnys-videos/src/roller-skis-new/Root.tsx
index ec56c418bf..647b25c8a5 100644
--- a/packages/jonnys-videos/src/roller-skis-new/Root.tsx
+++ b/packages/jonnys-videos/src/roller-skis-new/Root.tsx
@@ -1,15 +1,26 @@
import {Composition, Folder} from 'remotion';
import {AwardBadge} from './elements/AwardBadge';
+import {CalloutWithSound} from './elements/Callout';
import {Callout} from './elements/Callout';
+import {EndCardTitle} from './elements/EndCardTitle';
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 {CommuteAward} from './scenes/BestCommute';
import {BestCommute} from './scenes/BestCommute';
+import {
+ TechBrosShot,
+ BestCommuteShot,
+ SceneryShot,
+ RollerSkisShot,
+ CommuteWinnerShot,
+} from './scenes/BestCommuteShots';
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';
@@ -28,6 +39,14 @@ export const RemotionRoot: React.FC = () => {
height={1080}
/>
<Folder name="Scenes">
+ <Composition
+ id="Intro-new"
+ component={Intro}
+ durationInFrames={529}
+ fps={30}
+ width={1920}
+ height={1080}
+ />
<Composition
id="GearUp-new"
component={GearUp}
@@ -101,7 +120,89 @@ export const RemotionRoot: React.FC = () => {
height={1080}
/>
</Folder>
+ <Folder name="Best-commute-shots">
+ <Composition
+ id="TechBrosShot-new"
+ component={TechBrosShot}
+ durationInFrames={87}
+ fps={30}
+ width={1920}
+ height={1080}
+ defaultProps={{trimBefore: 47}}
+ />
+ <Composition
+ id="BestCommuteShot-new"
+ component={BestCommuteShot}
+ durationInFrames={112}
+ fps={30}
+ width={1920}
+ height={1080}
+ defaultProps={{trimBefore: 170}}
+ />
+ <Composition
+ id="SceneryShot-new"
+ component={SceneryShot}
+ durationInFrames={154}
+ fps={30}
+ width={1920}
+ height={1080}
+ defaultProps={{trimBefore: 302}}
+ />
+ <Composition
+ id="RollerSkisShot-new"
+ component={RollerSkisShot}
+ durationInFrames={65}
+ fps={30}
+ width={1920}
+ height={1080}
+ defaultProps={{trimBefore: 456}}
+ />
+ <Composition
+ id="CommuteWinnerShot-new"
+ component={CommuteWinnerShot}
+ durationInFrames={94}
+ fps={30}
+ width={1920}
+ height={1080}
+ defaultProps={{trimBefore: 534}}
+ />
+ </Folder>
<Folder name="Elements">
+ <Composition
+ id="CommuteAward-new"
+ component={CommuteAward}
+ durationInFrames={67}
+ fps={30}
+ width={1920}
+ height={1080}
+ />
+ <Composition
+ id="EndCardTitle-new"
+ component={EndCardTitle}
+ durationInFrames={120}
+ fps={30}
+ width={1920}
+ height={1080}
+ defaultProps={{heading: 'Next time:', title: 'Brakes.'}}
+ />
+ <Composition
+ id="CalloutWithSound-new"
+ component={CalloutWithSound}
+ durationInFrames={164}
+ fps={30}
+ width={1920}
+ height={1080}
+ defaultProps={{
+ label: 'Feature',
+ text: "Can't roll backwards",
+ icon: 'check',
+ accentColor: '#16a34a',
+ sound: 'https://remotion.media/ding.wav',
+ soundVolume: 0.35,
+ soundFrom: 0,
+ style: {position: 'absolute', left: 80, top: 70},
+ }}
+ />
<Composition
id="TitleCard-new"
component={TitleCard}
diff --git a/packages/jonnys-videos/src/roller-skis-new/elements/Callout.tsx b/packages/jonnys-videos/src/roller-skis-new/elements/Callout.tsx
index 22d070f903..0f1235bd40 100644
--- a/packages/jonnys-videos/src/roller-skis-new/elements/Callout.tsx
+++ b/packages/jonnys-videos/src/roller-skis-new/elements/Callout.tsx
@@ -1,3 +1,4 @@
+import {Audio} from '@remotion/media';
import React from 'react';
import {
Easing,
@@ -36,9 +37,7 @@ const CalloutInner: React.FC<CalloutProps> = ({
const {durationInFrames} = useVideoConfig();
return (
- <Interactive.Div
- name="Callout"
- showInTimeline={false}
+ <div
style={{
display: 'flex',
alignItems: 'center',
@@ -116,7 +115,7 @@ const CalloutInner: React.FC<CalloutProps> = ({
{text}
</div>
</div>
- </Interactive.Div>
+ </div>
);
};
@@ -139,5 +138,52 @@ const calloutSchema = {
export const Callout = Interactive.create({
Component: CalloutInner,
componentName: '<Callout>',
+ layout: 'none',
schema: calloutSchema,
});
+
+type CalloutWithSoundProps = CalloutProps & {
+ readonly sound: string;
+ readonly soundVolume: number;
+ readonly soundFrom: number;
+};
+const CalloutWithSoundInner: React.FC<CalloutWithSoundProps> = ({
+ sound,
+ soundVolume,
+ soundFrom,
+ ...props
+}) => (
+ <>
+ <CalloutInner {...props} />
+ <Audio
+ name="Callout sound"
+ src={sound}
+ from={soundFrom}
+ volume={soundVolume}
+ />
+ </>
+);
+export const CalloutWithSound = Interactive.create({
+ Component: CalloutWithSoundInner,
+ layout: 'none',
+ schema: {
+ ...calloutSchema,
+ sound: {
+ type: 'string',
+ default: 'https://remotion.media/ding.wav',
+ description: 'Sound',
+ },
+ soundVolume: {
+ type: 'number',
+ default: 0.35,
+ description: 'Sound volume',
+ hiddenFromList: false,
+ },
+ soundFrom: {
+ type: 'number',
+ default: 0,
+ description: 'Sound delay in frames',
+ hiddenFromList: false,
+ },
+ },
+});
diff --git a/packages/jonnys-videos/src/roller-skis-new/elements/EndCardTitle.tsx b/packages/jonnys-videos/src/roller-skis-new/elements/EndCardTitle.tsx
new file mode 100644
index 0000000000..340d86e8a8
--- /dev/null
+++ b/packages/jonnys-videos/src/roller-skis-new/elements/EndCardTitle.tsx
@@ -0,0 +1,114 @@
+import {Audio} from '@remotion/media';
+import {Easing, Interactive, interpolate, useCurrentFrame} from 'remotion';
+import {fontFamily} from './font';
+const EndCardTitleInner = ({
+ heading,
+ title,
+}: {
+ readonly heading: string;
+ readonly title: string;
+}) => {
+ const frame = useCurrentFrame();
+ return (
+ <>
+ <div
+ style={{
+ position: 'absolute',
+ inset: 0,
+ display: 'flex',
+ flexDirection: 'column',
+ fontFamily,
+ justifyContent: 'center',
+ alignItems: 'center',
+ }}
+ >
+ <div
+ 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',
+ }),
+ }}
+ >
+ {heading}
+ </div>
+ <div
+ 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',
+ }),
+ }}
+ >
+ <div
+ style={{
+ position: 'absolute',
+ inset: 0,
+ backgroundColor: '#dc2626',
+ clipPath: `inset(0% ${
+ interpolate(frame, [20, 32], [1, 0], {
+ easing: Easing.bezier(0.65, 0, 0.35, 1),
+ extrapolateLeft: 'clamp',
+ extrapolateRight: 'clamp',
+ }) * 100
+ }% 0% 0% round 24px)`,
+ 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)',
+ }}
+ >
+ {title}
+ </div>
+ </div>
+ </div>
+ <Audio
+ name="Whoosh"
+ src="https://remotion.media/whoosh.wav"
+ from={12}
+ volume={0.6}
+ />
+ </>
+ );
+};
+export const EndCardTitle = Interactive.create({
+ Component: EndCardTitleInner,
+ layout: 'absolute-fill',
+ schema: {
+ heading: {type: 'string', default: 'Next time:', description: 'Heading'},
+ title: {type: 'string', default: 'Brakes.', description: 'Title'},
+ },
+});
diff --git a/packages/jonnys-videos/src/roller-skis-new/scenes/Arrival.tsx b/packages/jonnys-videos/src/roller-skis-new/scenes/Arrival.tsx
index 36ab1dfc89..c6dec96b23 100644
--- a/packages/jonnys-videos/src/roller-skis-new/scenes/Arrival.tsx
+++ b/packages/jonnys-videos/src/roller-skis-new/scenes/Arrival.tsx
@@ -1,12 +1,7 @@
import {Audio, Video} from '@remotion/media';
+import {TransitionSeries} from '@remotion/transitions';
import React from 'react';
-import {
- Easing,
- Interactive,
- interpolate,
- Series,
- useCurrentFrame,
-} from 'remotion';
+import {Easing, Interactive, interpolate, useCurrentFrame} from 'remotion';
import {LocationLowerThird} from '../elements/LocationLowerThird';
import {PoppingWordCaptions} from '../elements/popping-word-captions';
@@ -15,8 +10,8 @@ const ArrivalInner: React.FC = () => {
return (
<>
- <Series>
- <Series.Sequence
+ <TransitionSeries name="Arrival shots">
+ <TransitionSeries.Sequence
name="Low angle"
trimBefore={75}
durationInFrames={135}
@@ -30,8 +25,8 @@ const ArrivalInner: React.FC = () => {
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
- </Series.Sequence>
- <Series.Sequence
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Sequence
name="Remotion headquarters"
trimBefore={98}
durationInFrames={124}
@@ -104,8 +99,8 @@ const ArrivalInner: React.FC = () => {
},
]}
/>
- </Series.Sequence>
- <Series.Sequence
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Sequence
name="Here we are"
trimBefore={60}
durationInFrames={50}
@@ -148,8 +143,8 @@ const ArrivalInner: React.FC = () => {
},
]}
/>
- </Series.Sequence>
- <Series.Sequence
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Sequence
name="Mehmet is working"
trimBefore={125}
durationInFrames={117}
@@ -213,8 +208,8 @@ const ArrivalInner: React.FC = () => {
},
]}
/>
- </Series.Sequence>
- </Series>
+ </TransitionSeries.Sequence>
+ </TransitionSeries>
<LocationLowerThird
name="Location"
from={15}
diff --git a/packages/jonnys-videos/src/roller-skis-new/scenes/BestCommute.tsx b/packages/jonnys-videos/src/roller-skis-new/scenes/BestCommute.tsx
index f269759a4b..d079d5029e 100644
--- a/packages/jonnys-videos/src/roller-skis-new/scenes/BestCommute.tsx
+++ b/packages/jonnys-videos/src/roller-skis-new/scenes/BestCommute.tsx
@@ -1,482 +1,56 @@
-import {Audio, Video} from '@remotion/media';
-import React from 'react';
-import {
- Easing,
- Interactive,
- interpolate,
- Series,
- Track,
- useCurrentFrame,
-} from 'remotion';
+import {Audio} from '@remotion/media';
+import {TransitionSeries} from '@remotion/transitions';
+import {Interactive} from 'remotion';
import {AwardBadge} from '../elements/AwardBadge';
-import {PoppingWordCaptions} from '../elements/popping-word-captions';
+import {
+ TechBrosShot,
+ BestCommuteShot,
+ SceneryShot,
+ RollerSkisShot,
+ CommuteWinnerShot,
+} from './BestCommuteShots';
const BestCommuteInner: React.FC = () => {
- const frame = useCurrentFrame();
-
return (
<>
- <Series>
- <Series.Sequence name="Tech bros" trimBefore={47} durationInFrames={87}>
- <Video
- name="IMG_0463"
- src={
- 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0463.MOV'
- }
- volume={0.83}
- objectFit="cover"
- style={{width: '100%', height: '100%'}}
- />
- <PoppingWordCaptions
- combineTokensWithinMilliseconds={null}
- name="Captions"
- 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
+ <TransitionSeries name="Best commute shots">
+ <TransitionSeries.Sequence
+ name="Tech bros"
+ trimBefore={47}
+ durationInFrames={87}
+ >
+ <TechBrosShot />
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Sequence
name="Best commute"
trimBefore={170}
durationInFrames={112}
>
- <Video
- name="IMG_0463"
- src={
- 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0463.MOV'
- }
- volume={0.83}
- 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
- objectFit="cover"
- style={{position: 'absolute', width: '100%', height: '100%'}}
- />
- <PoppingWordCaptions
- combineTokensWithinMilliseconds={null}
- name="Captions"
- 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
+ <BestCommuteShot />
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Sequence
name="Chickens cows mountains"
trimBefore={302}
durationInFrames={154}
>
- <Video
- name="IMG_0463"
- src={
- 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0463.MOV'
- }
- volume={0.83}
- objectFit="cover"
- style={{width: '100%', height: '100%'}}
- />
- <Track name="Chickens, cows, mountains">
- <Video
- name="Chickens"
- src={
- 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0463.MOV'
- }
- from={347}
- durationInFrames={37}
- trimBefore={219}
- muted
- 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
- 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
- objectFit="cover"
- style={{position: 'absolute', width: '100%', height: '100%'}}
- />
- </Track>
- <PoppingWordCaptions
- combineTokensWithinMilliseconds={null}
- name="Captions"
- 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
+ <SceneryShot />
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Sequence
name="Roller skis"
trimBefore={456}
durationInFrames={65}
>
- <Video
- name="IMG_0463"
- src={
- 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0463.MOV'
- }
- volume={0.83}
- 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
- objectFit="cover"
- style={{position: 'absolute', width: '100%', height: '100%'}}
- />
- <PoppingWordCaptions
- combineTokensWithinMilliseconds={null}
- name="Captions"
- 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
+ <RollerSkisShot />
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Sequence
name="Best commute goes to Jonny"
trimBefore={534}
durationInFrames={94}
>
- <Video
- name="IMG_0463"
- src={
- 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0463-rotated-180-v1.mp4'
- }
- volume={0.83}
- objectFit="cover"
- style={{
- width: '100%',
- height: '100%',
- 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"
- 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}
- 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}
- />
+ <CommuteWinnerShot />
+ </TransitionSeries.Sequence>
+ </TransitionSeries>
+ <CommuteAward name="Commute award" from={445} durationInFrames={67} />
</>
);
};
@@ -485,3 +59,19 @@ export const BestCommute = Interactive.create({
Component: BestCommuteInner,
layout: 'absolute-fill',
});
+
+const CommuteAwardInner: React.FC = () => (
+ <>
+ <AwardBadge
+ name="Award"
+ award="Best commute"
+ winner="Jonny"
+ style={{position: 'absolute', right: 80, top: 70}}
+ />
+ <Audio name="Whoosh" src="https://remotion.media/whoosh.wav" volume={0.5} />
+ </>
+);
+export const CommuteAward = Interactive.create({
+ Component: CommuteAwardInner,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/roller-skis-new/scenes/BestCommuteShots.tsx b/packages/jonnys-videos/src/roller-skis-new/scenes/BestCommuteShots.tsx
new file mode 100644
index 0000000000..21bb929e1f
--- /dev/null
+++ b/packages/jonnys-videos/src/roller-skis-new/scenes/BestCommuteShots.tsx
@@ -0,0 +1,484 @@
+import {Video} from '@remotion/media';
+import {
+ Easing,
+ Interactive,
+ interpolate,
+ Track,
+ useCurrentFrame,
+} from 'remotion';
+import {PoppingWordCaptions} from '../elements/popping-word-captions';
+
+const TechBrosShotInner: React.FC = () => {
+ return (
+ <>
+ <Video
+ name="IMG_0463"
+ src={
+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0463.MOV'
+ }
+ volume={0.83}
+ objectFit="cover"
+ style={{width: '100%', height: '100%'}}
+ />
+ <PoppingWordCaptions
+ combineTokensWithinMilliseconds={null}
+ name="Captions"
+ 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,
+ },
+ ]}
+ />
+ </>
+ );
+};
+export const TechBrosShot = Interactive.create({
+ Component: TechBrosShotInner,
+ layout: 'absolute-fill',
+});
+
+const BestCommuteShotInner: React.FC = () => {
+ return (
+ <>
+ <Video
+ name="IMG_0463"
+ src={
+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0463.MOV'
+ }
+ volume={0.83}
+ 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
+ objectFit="cover"
+ style={{position: 'absolute', width: '100%', height: '100%'}}
+ />
+ <PoppingWordCaptions
+ combineTokensWithinMilliseconds={null}
+ name="Captions"
+ 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,
+ },
+ ]}
+ />
+ </>
+ );
+};
+export const BestCommuteShot = Interactive.create({
+ Component: BestCommuteShotInner,
+ layout: 'absolute-fill',
+});
+
+const SceneryShotInner: React.FC = () => {
+ return (
+ <>
+ <Video
+ name="IMG_0463"
+ src={
+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0463.MOV'
+ }
+ volume={0.83}
+ objectFit="cover"
+ style={{width: '100%', height: '100%'}}
+ />
+ <Track name="Chickens, cows, mountains">
+ <Video
+ name="Chickens"
+ src={
+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0463.MOV'
+ }
+ from={347}
+ durationInFrames={37}
+ trimBefore={219}
+ muted
+ 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
+ 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
+ objectFit="cover"
+ style={{position: 'absolute', width: '100%', height: '100%'}}
+ />
+ </Track>
+ <PoppingWordCaptions
+ combineTokensWithinMilliseconds={null}
+ name="Captions"
+ 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,
+ },
+ ]}
+ />
+ </>
+ );
+};
+export const SceneryShot = Interactive.create({
+ Component: SceneryShotInner,
+ layout: 'absolute-fill',
+});
+
+const RollerSkisShotInner: React.FC = () => {
+ return (
+ <>
+ <Video
+ name="IMG_0463"
+ src={
+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0463.MOV'
+ }
+ volume={0.83}
+ 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
+ objectFit="cover"
+ style={{position: 'absolute', width: '100%', height: '100%'}}
+ />
+ <PoppingWordCaptions
+ combineTokensWithinMilliseconds={null}
+ name="Captions"
+ 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,
+ },
+ ]}
+ />
+ </>
+ );
+};
+export const RollerSkisShot = Interactive.create({
+ Component: RollerSkisShotInner,
+ layout: 'absolute-fill',
+});
+
+const CommuteWinnerShotInner: React.FC = () => {
+ const frame = useCurrentFrame() + 418 - 534;
+ return (
+ <>
+ <Video
+ name="IMG_0463"
+ src={
+ 'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0463-rotated-180-v1.mp4'
+ }
+ volume={0.83}
+ objectFit="cover"
+ style={{
+ width: '100%',
+ height: '100%',
+ 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"
+ 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,
+ },
+ ]}
+ />
+ </>
+ );
+};
+export const CommuteWinnerShot = Interactive.create({
+ Component: CommuteWinnerShotInner,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/roller-skis-new/scenes/EndCard.tsx b/packages/jonnys-videos/src/roller-skis-new/scenes/EndCard.tsx
index 0c4ac7ee1c..84b3de2b66 100644
--- a/packages/jonnys-videos/src/roller-skis-new/scenes/EndCard.tsx
+++ b/packages/jonnys-videos/src/roller-skis-new/scenes/EndCard.tsx
@@ -1,14 +1,7 @@
-import {Audio, Video} from '@remotion/media';
+import {Video} from '@remotion/media';
import React from 'react';
-import {
- AbsoluteFill,
- Easing,
- Interactive,
- interpolate,
- Sequence,
- useCurrentFrame,
-} from 'remotion';
-import {fontFamily} from '../elements/font';
+import {Interactive, interpolate, Sequence, useCurrentFrame} from 'remotion';
+import {EndCardTitle} from '../elements/EndCardTitle';
const EndCardInner: React.FC = () => {
const frame = useCurrentFrame();
@@ -34,93 +27,10 @@ const EndCardInner: React.FC = () => {
}}
/>
</Sequence>
- <AbsoluteFill
- showInTimeline={false}
- style={{
- fontFamily,
- 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}
+ <EndCardTitle
+ name="Next time: Brakes"
+ heading="Next time:"
+ title="Brakes."
/>
</>
);
diff --git a/packages/jonnys-videos/src/roller-skis-new/scenes/GearUp.tsx b/packages/jonnys-videos/src/roller-skis-new/scenes/GearUp.tsx
index 742de9090b..851792905c 100644
--- a/packages/jonnys-videos/src/roller-skis-new/scenes/GearUp.tsx
+++ b/packages/jonnys-videos/src/roller-skis-new/scenes/GearUp.tsx
@@ -1,6 +1,7 @@
import {Video} from '@remotion/media';
+import {TransitionSeries} from '@remotion/transitions';
import React from 'react';
-import {Track, AbsoluteFill, Interactive, Series} from 'remotion';
+import {Track, AbsoluteFill, Interactive} from 'remotion';
import {PoppingWordCaptions} from '../elements/popping-word-captions';
import {SpeedBadge} from '../elements/SpeedBadge';
import {TitleCard} from '../elements/TitleCard';
@@ -8,8 +9,8 @@ import {TitleCard} from '../elements/TitleCard';
const GearUpInner: React.FC = () => {
return (
<AbsoluteFill showInTimeline={false} style={{backgroundColor: 'black'}}>
- <Series>
- <Series.Sequence
+ <TransitionSeries name="Gear up shots">
+ <TransitionSeries.Sequence
name="Strapping in (6x)"
trimBefore={60}
durationInFrames={528}
@@ -24,8 +25,12 @@ const GearUpInner: React.FC = () => {
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
- </Series.Sequence>
- <Series.Sequence name="Damn it" trimBefore={591} durationInFrames={39}>
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Sequence
+ name="Damn it"
+ trimBefore={591}
+ durationInFrames={39}
+ >
<Video
name="IMG_0457"
src={
@@ -50,8 +55,8 @@ const GearUpInner: React.FC = () => {
},
]}
/>
- </Series.Sequence>
- <Series.Sequence
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Sequence
name="Strapping in (8x)"
trimBefore={630}
durationInFrames={576}
@@ -66,8 +71,8 @@ const GearUpInner: React.FC = () => {
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
- </Series.Sequence>
- <Series.Sequence
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Sequence
name="Lets get to work"
trimBefore={1202}
durationInFrames={58}
@@ -124,8 +129,8 @@ const GearUpInner: React.FC = () => {
},
]}
/>
- </Series.Sequence>
- <Series.Sequence
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Sequence
name="Skiing off (2x)"
trimBefore={1260}
durationInFrames={150}
@@ -140,8 +145,8 @@ const GearUpInner: React.FC = () => {
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
- </Series.Sequence>
- </Series>
+ </TransitionSeries.Sequence>
+ </TransitionSeries>
<TitleCard
name="Title"
durationInFrames={84}
diff --git a/packages/jonnys-videos/src/roller-skis-new/scenes/Intro.tsx b/packages/jonnys-videos/src/roller-skis-new/scenes/Intro.tsx
index 833907404a..5792d1f234 100644
--- a/packages/jonnys-videos/src/roller-skis-new/scenes/Intro.tsx
+++ b/packages/jonnys-videos/src/roller-skis-new/scenes/Intro.tsx
@@ -1,12 +1,7 @@
import {Audio, Video} from '@remotion/media';
+import {TransitionSeries} from '@remotion/transitions';
import React from 'react';
-import {
- Easing,
- Interactive,
- interpolate,
- Series,
- useCurrentFrame,
-} from 'remotion';
+import {Easing, Interactive, interpolate, useCurrentFrame} from 'remotion';
import {LocationLowerThird} from '../elements/LocationLowerThird';
import {PoppingWordCaptions} from '../elements/popping-word-captions';
@@ -15,8 +10,8 @@ const IntroInner: React.FC = () => {
return (
<>
- <Series>
- <Series.Sequence
+ <TransitionSeries name="Intro shots">
+ <TransitionSeries.Sequence
name="Good morning"
trimBefore={45}
durationInFrames={239}
@@ -157,8 +152,8 @@ const IntroInner: React.FC = () => {
},
]}
/>
- </Series.Sequence>
- <Series.Sequence
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Sequence
name="Roller skis"
trimBefore={312}
durationInFrames={290}
@@ -322,8 +317,8 @@ const IntroInner: React.FC = () => {
},
]}
/>
- </Series.Sequence>
- </Series>
+ </TransitionSeries.Sequence>
+ </TransitionSeries>
<LocationLowerThird
name="Location"
from={81}
diff --git a/packages/jonnys-videos/src/roller-skis-new/scenes/OffWeGo.tsx b/packages/jonnys-videos/src/roller-skis-new/scenes/OffWeGo.tsx
index 03627d23cd..39b730a855 100644
--- a/packages/jonnys-videos/src/roller-skis-new/scenes/OffWeGo.tsx
+++ b/packages/jonnys-videos/src/roller-skis-new/scenes/OffWeGo.tsx
@@ -1,12 +1,13 @@
import {Video} from '@remotion/media';
+import {TransitionSeries} from '@remotion/transitions';
import React from 'react';
-import {Interactive, Series} from 'remotion';
+import {Interactive} from 'remotion';
const OffWeGoInner: React.FC = () => {
return (
<>
- <Series>
- <Series.Sequence
+ <TransitionSeries name="Off we go shots">
+ <TransitionSeries.Sequence
name="Skiing away"
trimBefore={486}
durationInFrames={108}
@@ -20,8 +21,8 @@ const OffWeGoInner: React.FC = () => {
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
- </Series.Sequence>
- </Series>
+ </TransitionSeries.Sequence>
+ </TransitionSeries>
</>
);
};
diff --git a/packages/jonnys-videos/src/roller-skis-new/scenes/Office.tsx b/packages/jonnys-videos/src/roller-skis-new/scenes/Office.tsx
index 241d39be7d..38d08870f5 100644
--- a/packages/jonnys-videos/src/roller-skis-new/scenes/Office.tsx
+++ b/packages/jonnys-videos/src/roller-skis-new/scenes/Office.tsx
@@ -1,15 +1,20 @@
-import {Audio, Video} from '@remotion/media';
+import {Video} from '@remotion/media';
+import {TransitionSeries} from '@remotion/transitions';
import React from 'react';
-import {Interactive, Series} from 'remotion';
-import {Callout} from '../elements/Callout';
+import {Interactive} from 'remotion';
+import {CalloutWithSound} from '../elements/Callout';
import {NameLowerThird} from '../elements/NameLowerThird';
import {PoppingWordCaptions} from '../elements/popping-word-captions';
const OfficeInner: React.FC = () => {
return (
<>
- <Series>
- <Series.Sequence name="Mehmet" trimBefore={1324} durationInFrames={38}>
+ <TransitionSeries name="Office shots">
+ <TransitionSeries.Sequence
+ name="Mehmet"
+ trimBefore={1324}
+ durationInFrames={38}
+ >
<Video
name="IMG_0475"
src={
@@ -34,8 +39,8 @@ const OfficeInner: React.FC = () => {
},
]}
/>
- </Series.Sequence>
- <Series.Sequence
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Sequence
name="Would you try it"
trimBefore={1378}
durationInFrames={32}
@@ -85,8 +90,8 @@ const OfficeInner: React.FC = () => {
},
]}
/>
- </Series.Sequence>
- <Series.Sequence
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Sequence
name="Scared to be honest"
trimBefore={1502}
durationInFrames={244}
@@ -248,8 +253,8 @@ const OfficeInner: React.FC = () => {
},
]}
/>
- </Series.Sequence>
- <Series.Sequence
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Sequence
name="No brakes"
trimBefore={1844}
durationInFrames={51}
@@ -306,8 +311,8 @@ const OfficeInner: React.FC = () => {
},
]}
/>
- </Series.Sequence>
- <Series.Sequence
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Sequence
name="Brake tomorrow"
trimBefore={2346}
durationInFrames={209}
@@ -448,8 +453,8 @@ const OfficeInner: React.FC = () => {
},
]}
/>
- </Series.Sequence>
- <Series.Sequence
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Sequence
name="Rolls on one side"
trimBefore={2771}
durationInFrames={183}
@@ -590,8 +595,8 @@ const OfficeInner: React.FC = () => {
},
]}
/>
- </Series.Sequence>
- <Series.Sequence
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Sequence
name="Go up a hill"
trimBefore={2957}
durationInFrames={246}
@@ -760,8 +765,8 @@ const OfficeInner: React.FC = () => {
},
]}
/>
- </Series.Sequence>
- <Series.Sequence
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Sequence
name="Yeah I see"
trimBefore={3254}
durationInFrames={78}
@@ -846,8 +851,8 @@ const OfficeInner: React.FC = () => {
},
]}
/>
- </Series.Sequence>
- </Series>
+ </TransitionSeries.Sequence>
+ </TransitionSeries>
<NameLowerThird
name="Mehmet"
from={6}
@@ -857,7 +862,7 @@ const OfficeInner: React.FC = () => {
accentColor="#2563eb"
style={{position: 'absolute', left: 80, top: 70}}
/>
- <Callout
+ <CalloutWithSound
name="Confirmed callout"
from={314}
durationInFrames={101}
@@ -866,12 +871,9 @@ const OfficeInner: React.FC = () => {
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}
+ sound="https://remotion.media/windows-xp-error.wav"
+ soundVolume={0.35}
+ soundFrom={2}
/>
</>
);
diff --git a/packages/jonnys-videos/src/roller-skis-new/scenes/RideMontage.tsx b/packages/jonnys-videos/src/roller-skis-new/scenes/RideMontage.tsx
index cec83319a1..709b527767 100644
--- a/packages/jonnys-videos/src/roller-skis-new/scenes/RideMontage.tsx
+++ b/packages/jonnys-videos/src/roller-skis-new/scenes/RideMontage.tsx
@@ -1,12 +1,13 @@
import {Audio, Video} from '@remotion/media';
+import {TransitionSeries} from '@remotion/transitions';
import React from 'react';
-import {Interactive, Series} from 'remotion';
+import {Interactive} from 'remotion';
const RideMontageInner: React.FC = () => {
return (
<>
- <Series>
- <Series.Sequence
+ <TransitionSeries name="Ride montage shots">
+ <TransitionSeries.Sequence
name="Under the trees"
trimBefore={99}
durationInFrames={145}
@@ -21,8 +22,8 @@ const RideMontageInner: React.FC = () => {
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
- </Series.Sequence>
- <Series.Sequence
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Sequence
name="Pass-by"
trimBefore={1422}
durationInFrames={105}
@@ -36,8 +37,8 @@ const RideMontageInner: React.FC = () => {
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
- </Series.Sequence>
- </Series>
+ </TransitionSeries.Sequence>
+ </TransitionSeries>
<Audio
name="Whoosh"
src="https://remotion.media/whoosh.wav"
diff --git a/packages/jonnys-videos/src/roller-skis-new/scenes/TheDecline.tsx b/packages/jonnys-videos/src/roller-skis-new/scenes/TheDecline.tsx
index aaf9beb900..d3755ce17e 100644
--- a/packages/jonnys-videos/src/roller-skis-new/scenes/TheDecline.tsx
+++ b/packages/jonnys-videos/src/roller-skis-new/scenes/TheDecline.tsx
@@ -1,13 +1,8 @@
-import {Audio, Video} from '@remotion/media';
+import {Video} from '@remotion/media';
+import {TransitionSeries} from '@remotion/transitions';
import React from 'react';
-import {
- Easing,
- Interactive,
- interpolate,
- Series,
- useCurrentFrame,
-} from 'remotion';
-import {Callout} from '../elements/Callout';
+import {Easing, Interactive, interpolate, useCurrentFrame} from 'remotion';
+import {CalloutWithSound} from '../elements/Callout';
import {PoppingWordCaptions} from '../elements/popping-word-captions';
const TheDeclineInner: React.FC = () => {
@@ -15,8 +10,8 @@ const TheDeclineInner: React.FC = () => {
return (
<>
- <Series>
- <Series.Sequence
+ <TransitionSeries name="The decline shots">
+ <TransitionSeries.Sequence
name="Standing on top"
trimBefore={30}
durationInFrames={68}
@@ -80,8 +75,8 @@ const TheDeclineInner: React.FC = () => {
},
]}
/>
- </Series.Sequence>
- <Series.Sequence
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Sequence
name="Small decline"
trimBefore={113}
durationInFrames={83}
@@ -173,8 +168,8 @@ const TheDeclineInner: React.FC = () => {
},
]}
/>
- </Series.Sequence>
- <Series.Sequence
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Sequence
name="Problems with roller skis"
trimBefore={257}
durationInFrames={93}
@@ -259,8 +254,12 @@ const TheDeclineInner: React.FC = () => {
},
]}
/>
- </Series.Sequence>
- <Series.Sequence name="Freeze" durationInFrames={39} freeze={349}>
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Sequence
+ name="Freeze"
+ durationInFrames={39}
+ freeze={349}
+ >
<Video
name="IMG_0464"
src={
@@ -280,8 +279,8 @@ const TheDeclineInner: React.FC = () => {
}),
}}
/>
- </Series.Sequence>
- <Series.Sequence
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Sequence
name="Stopped filming"
trimBefore={22}
durationInFrames={113}
@@ -380,8 +379,8 @@ const TheDeclineInner: React.FC = () => {
},
]}
/>
- </Series.Sequence>
- <Series.Sequence
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Sequence
name="Kindergarten kids"
trimBefore={151}
durationInFrames={51}
@@ -438,8 +437,8 @@ const TheDeclineInner: React.FC = () => {
},
]}
/>
- </Series.Sequence>
- <Series.Sequence
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Sequence
name="Did not want to"
trimBefore={221}
durationInFrames={23}
@@ -489,8 +488,8 @@ const TheDeclineInner: React.FC = () => {
},
]}
/>
- </Series.Sequence>
- <Series.Sequence
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Sequence
name="Film with them around"
trimBefore={261}
durationInFrames={115}
@@ -617,8 +616,8 @@ const TheDeclineInner: React.FC = () => {
},
]}
/>
- </Series.Sequence>
- <Series.Sequence
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Sequence
name="And falling"
trimBefore={392}
durationInFrames={34}
@@ -654,8 +653,8 @@ const TheDeclineInner: React.FC = () => {
},
]}
/>
- </Series.Sequence>
- <Series.Sequence
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Sequence
name="Down this decline"
trimBefore={446}
durationInFrames={63}
@@ -698,8 +697,8 @@ const TheDeclineInner: React.FC = () => {
},
]}
/>
- </Series.Sequence>
- <Series.Sequence
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Sequence
name="How it went"
trimBefore={548}
durationInFrames={372}
@@ -980,9 +979,9 @@ const TheDeclineInner: React.FC = () => {
},
]}
/>
- </Series.Sequence>
- </Series>
- <Callout
+ </TransitionSeries.Sequence>
+ </TransitionSeries>
+ <CalloutWithSound
name="Problem callout"
from={244}
durationInFrames={152}
@@ -991,12 +990,9 @@ const TheDeclineInner: React.FC = () => {
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}
+ sound="https://remotion.media/record-scratch.wav"
+ soundVolume={0.6}
+ soundFrom={0}
/>
</>
);
diff --git a/packages/jonnys-videos/src/roller-skis-new/scenes/Uphill.tsx b/packages/jonnys-videos/src/roller-skis-new/scenes/Uphill.tsx
index a54c572a18..384139cc2b 100644
--- a/packages/jonnys-videos/src/roller-skis-new/scenes/Uphill.tsx
+++ b/packages/jonnys-videos/src/roller-skis-new/scenes/Uphill.tsx
@@ -1,13 +1,8 @@
import {Audio, Video} from '@remotion/media';
+import {TransitionSeries} from '@remotion/transitions';
import React from 'react';
-import {
- Easing,
- Interactive,
- interpolate,
- Series,
- useCurrentFrame,
-} from 'remotion';
-import {Callout} from '../elements/Callout';
+import {Easing, Interactive, interpolate, useCurrentFrame} from 'remotion';
+import {CalloutWithSound} from '../elements/Callout';
import {PoppingWordCaptions} from '../elements/popping-word-captions';
const UphillInner: React.FC = () => {
@@ -15,8 +10,12 @@ const UphillInner: React.FC = () => {
return (
<>
- <Series>
- <Series.Sequence name="Incline" trimBefore={28} durationInFrames={83}>
+ <TransitionSeries name="Uphill shots">
+ <TransitionSeries.Sequence
+ name="Incline"
+ trimBefore={28}
+ durationInFrames={83}
+ >
<Video
name="IMG_0459"
src={
@@ -118,8 +117,8 @@ const UphillInner: React.FC = () => {
},
]}
/>
- </Series.Sequence>
- <Series.Sequence
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Sequence
name="Awesome features"
trimBefore={131}
durationInFrames={145}
@@ -246,8 +245,12 @@ const UphillInner: React.FC = () => {
},
]}
/>
- </Series.Sequence>
- <Series.Sequence name="Which is" trimBefore={299} durationInFrames={24}>
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Sequence
+ name="Which is"
+ trimBefore={299}
+ durationInFrames={24}
+ >
<Video
name="IMG_0459"
src={
@@ -279,8 +282,8 @@ const UphillInner: React.FC = () => {
},
]}
/>
- </Series.Sequence>
- <Series.Sequence
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Sequence
name="Cannot roll backwards"
trimBefore={342}
durationInFrames={48}
@@ -337,8 +340,8 @@ const UphillInner: React.FC = () => {
},
]}
/>
- </Series.Sequence>
- <Series.Sequence
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Sequence
name="So I can just"
trimBefore={416}
durationInFrames={21}
@@ -388,8 +391,12 @@ const UphillInner: React.FC = () => {
},
]}
/>
- </Series.Sequence>
- <Series.Sequence name="Walk" trimBefore={465} durationInFrames={24}>
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Sequence
+ name="Walk"
+ trimBefore={465}
+ durationInFrames={24}
+ >
<Video
name="IMG_0459"
src={
@@ -414,8 +421,8 @@ const UphillInner: React.FC = () => {
},
]}
/>
- </Series.Sequence>
- <Series.Sequence
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Sequence
name="Super chill"
trimBefore={539}
durationInFrames={40}
@@ -451,8 +458,8 @@ const UphillInner: React.FC = () => {
},
]}
/>
- </Series.Sequence>
- <Series.Sequence
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Sequence
name="Super casual"
trimBefore={642}
durationInFrames={37}
@@ -488,8 +495,8 @@ const UphillInner: React.FC = () => {
},
]}
/>
- </Series.Sequence>
- <Series.Sequence
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Sequence
name="Really super cool"
trimBefore={1050}
durationInFrames={29}
@@ -532,8 +539,8 @@ const UphillInner: React.FC = () => {
},
]}
/>
- </Series.Sequence>
- <Series.Sequence
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Sequence
name="One thing"
trimBefore={1141}
durationInFrames={64}
@@ -618,8 +625,8 @@ const UphillInner: React.FC = () => {
},
]}
/>
- </Series.Sequence>
- <Series.Sequence
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Sequence
name="People look weird"
trimBefore={1224}
durationInFrames={95}
@@ -713,8 +720,8 @@ const UphillInner: React.FC = () => {
},
]}
/>
- </Series.Sequence>
- <Series.Sequence
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Sequence
name="What is cool"
trimBefore={1335}
durationInFrames={257}
@@ -862,8 +869,8 @@ const UphillInner: React.FC = () => {
},
]}
/>
- </Series.Sequence>
- <Series.Sequence
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Sequence
name="Even the cows"
trimBefore={1751}
durationInFrames={168}
@@ -987,8 +994,8 @@ const UphillInner: React.FC = () => {
},
]}
/>
- </Series.Sequence>
- <Series.Sequence
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Sequence
name="Cow stare"
trimBefore={122}
durationInFrames={51}
@@ -1011,8 +1018,8 @@ const UphillInner: React.FC = () => {
}),
}}
/>
- </Series.Sequence>
- <Series.Sequence
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Sequence
name="But you know"
trimBefore={1932}
durationInFrames={22}
@@ -1055,8 +1062,8 @@ const UphillInner: React.FC = () => {
},
]}
/>
- </Series.Sequence>
- <Series.Sequence
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Sequence
name="Stand for your values"
trimBefore={2018}
durationInFrames={255}
@@ -1155,8 +1162,8 @@ const UphillInner: React.FC = () => {
},
]}
/>
- </Series.Sequence>
- <Series.Sequence
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Sequence
name="Step by step"
trimBefore={2273}
durationInFrames={87}
@@ -1220,8 +1227,8 @@ const UphillInner: React.FC = () => {
},
]}
/>
- </Series.Sequence>
- <Series.Sequence
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Sequence
name="Reached the top"
trimBefore={2416}
durationInFrames={67}
@@ -1285,9 +1292,9 @@ const UphillInner: React.FC = () => {
},
]}
/>
- </Series.Sequence>
- </Series>
- <Callout
+ </TransitionSeries.Sequence>
+ </TransitionSeries>
+ <CalloutWithSound
name="Feature callout"
from={258}
durationInFrames={164}
@@ -1296,13 +1303,11 @@ const UphillInner: React.FC = () => {
icon="check"
accentColor="#16a34a"
style={{position: 'absolute', left: 80, top: 70}}
+ sound="https://remotion.media/ding.wav"
+ soundVolume={0.35}
+ soundFrom={0}
/>
- <Audio
- name="Ding"
- src="https://remotion.media/ding.wav"
- from={258}
- volume={0.35}
- />
+
<Audio
name="Vine boom"
src="https://remotion.media/vine-boom.wav"