🎥 Make videos programmatically with React
Add Plane Sight hackathon promo to jonnys-videos
Jonny Burger2befc57ebb89
diff --git a/packages/jonnys-videos/README.md b/packages/jonnys-videos/README.mdindex 6586372b82..5e2cf90033 100644--- a/packages/jonnys-videos/README.md+++ b/packages/jonnys-videos/README.md@@ -38,6 +38,22 @@ Studio. Their source is in `src/roller-skis`, and the media is hosted under`https://remotion.media/jonnys-videos/roller-skis/`. The caption data needed bythe rough cut is kept with the composition source.+## Plane Sight hackathon video++The `PlaneSight` folder in Studio contains `PlaneSightPromo` (97.7 seconds,+1280 × 720 at 30 fps) and its scene compositions. The source was copied from+[`mcbuehler/PlaneSight`'s `promo/` project](https://github.com/mcbuehler/PlaneSight/tree/a793a54732c1c3d1b7f7385c1113d70f4d9987be/promo),+created at the October 10, 2026 hackathon. The original cuts, captions, and+normalized audio are preserved. Media is hosted under+`https://remotion.media/jonnys-videos/plane-sight/`.++Run these commands from `packages/jonnys-videos`:++```console+bun run dev+bunx remotion render PlaneSightPromo out/plane-sight-promo.mp4+```+## DocsGet started with Remotion by reading the [fundamentals page](https://www.remotion.dev/docs/the-fundamentals).diff --git a/packages/jonnys-videos/src/Root.tsx b/packages/jonnys-videos/src/Root.tsxindex 82a702ac7f..58c0644093 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 PlaneSightRoot} from './plane-sight/Root';import {RemotionRoot as RollerSkisNewRoot} from './roller-skis-new/Root';import {RemotionRoot as RollerSkisRoot} from './roller-skis/Root';@@ -327,6 +328,9 @@ export const RemotionRoot: React.FC = () => {/></Folder></Folder>+ <Folder name="PlaneSight">+ <PlaneSightRoot />+ </Folder><Folder name="RollerSkis-new"><RollerSkisNewRoot /></Folder>diff --git a/packages/jonnys-videos/src/plane-sight/AgentAirportSign.tsx b/packages/jonnys-videos/src/plane-sight/AgentAirportSign.tsxnew file mode 100644index 0000000000..19923f0791--- /dev/null+++ b/packages/jonnys-videos/src/plane-sight/AgentAirportSign.tsx@@ -0,0 +1,39 @@+import {+ AbsoluteFill,+ type InteractiveTransformProps,+ CanvasImage,+ Interactive,+ useVideoConfig,+} from 'remotion';++const AgentAirportSignContent = ({style}: InteractiveTransformProps) => {+ const {fps} = useVideoConfig();++ return (+ <AbsoluteFill style={style}>+ <CanvasImage+ name="Agent Airport International — AAI"+ src={+ 'https://remotion.media/jonnys-videos/plane-sight/branding/agent-airport-international.png'+ }+ premountFor={fps}+ style={{+ position: 'absolute',+ left: 40,+ top: 120,+ width: 1200,+ height: 480,+ objectFit: 'contain',+ imageRendering: 'pixelated',+ }}+ />+ </AbsoluteFill>+ );+};++export const AgentAirportSign = Interactive.withSchema({+ Component: AgentAirportSignContent,+ componentName: 'AgentAirportSign',+ schema: {},+ wrapInSequence: true,+});diff --git a/packages/jonnys-videos/src/plane-sight/AirportAircraft.tsx b/packages/jonnys-videos/src/plane-sight/AirportAircraft.tsxnew file mode 100644index 0000000000..97545903ce--- /dev/null+++ b/packages/jonnys-videos/src/plane-sight/AirportAircraft.tsx@@ -0,0 +1,213 @@+import {+ AbsoluteFill,+ Interactive,+ useVideoConfig,+ type InteractiveTransformProps,+} from 'remotion';+import {+ CloudCodePlane,+ OpenAirPlane,+ type AircraftAirframe,+} from './PixelAirlines';++type AirportAircraftProps = InteractiveTransformProps & {+ width: number | null;+ height: number | null;+ airline: 'Cloud Code' | 'OpenAir';+ airframe: AircraftAirframe;+ heading: number;+ labelPosition: 'above' | 'below' | 'left';+ status: string;+ priority: boolean;+ altitude: number;+};++const AirportAircraftContent = ({+ airline,+ airframe,+ heading,+ labelPosition,+ status,+ priority,+ altitude,+ width,+ height,+ style,+}: AirportAircraftProps) => {+ const {fps} = useVideoConfig();++ if (status === 'In flight') {+ return null;+ }++ return (+ <AbsoluteFill+ style={{width: width ?? '100%', height: height ?? '100%', ...style}}+ >+ <Interactive.Div+ name="Aircraft shadow"+ style={{+ position: 'absolute',+ left: airframe === 'widebody' ? 17 : 30,+ top: airframe === 'widebody' ? 85 : 98,+ width: airframe === 'widebody' ? 158 : 132,+ height: airframe === 'widebody' ? 158 : 132,+ rotate: `${heading}deg`,+ translate: `${altitude * 14}px ${altitude * 20}px`,+ opacity: altitude * 0.22,+ filter: 'brightness(0)',+ transformOrigin: '50% 50%',+ }}+ >+ {airline === 'Cloud Code' ? (+ <CloudCodePlane+ name="Cloud Code shadow"+ airframe={airframe}+ width={null}+ height={null}+ premountFor={fps}+ />+ ) : (+ <OpenAirPlane+ name="OpenAir shadow"+ airframe={airframe}+ width={null}+ height={null}+ premountFor={fps}+ />+ )}+ </Interactive.Div>+ <Interactive.Div+ name="Aircraft heading"+ style={{+ position: 'absolute',+ left: airframe === 'widebody' ? 17 : 30,+ top: airframe === 'widebody' ? 85 : 98,+ width: airframe === 'widebody' ? 158 : 132,+ height: airframe === 'widebody' ? 158 : 132,+ rotate: `${heading}deg`,+ scale: 1 + altitude * 0.12,+ translate: `0px ${altitude * -12}px`,+ transformOrigin: '50% 50%',+ }}+ >+ {airline === 'Cloud Code' ? (+ <CloudCodePlane+ name="Cloud Code aircraft"+ airframe={airframe}+ width={null}+ height={null}+ premountFor={fps}+ />+ ) : (+ <OpenAirPlane+ name="OpenAir aircraft"+ airframe={airframe}+ width={null}+ height={null}+ premountFor={fps}+ />+ )}+ </Interactive.Div>+ <Interactive.Div+ name="Flight tooltip"+ style={{+ position: 'absolute',+ left: labelPosition === 'left' ? -180 : 0,+ top:+ labelPosition === 'above'+ ? 0+ : labelPosition === 'left'+ ? 123+ : 246,+ width: 192,+ height: 82,+ display: 'flex',+ flexDirection: 'column',+ alignItems: 'flex-start',+ justifyContent: 'flex-start',+ padding: '8px 10px',+ gap: 5,+ textAlign: 'left',+ boxSizing: 'border-box',+ border: '2px solid',+ borderColor: priority ? '#9a692c' : '#324e41',+ borderLeftWidth: 5,+ backgroundColor: priority ? '#fff0c9' : '#f7f5e9',+ color: airline === 'Cloud Code' ? '#a3410e' : '#105734',+ fontFamily: "'Courier New', monospace",+ fontWeight: 700,+ fontSize: 18,+ lineHeight: 1,+ letterSpacing: -0.4,+ whiteSpace: 'nowrap',+ boxShadow: '3px 3px 0 #334d4133',+ }}+ >+ <div>{airline}</div>+ <div+ style={{+ fontSize: 16,+ fontWeight: 400,+ lineHeight: 1.15,+ whiteSpace: 'normal',+ color: priority ? '#86591c' : '#526557',+ letterSpacing: -0.2,+ }}+ >+ {status}+ </div>+ </Interactive.Div>+ </AbsoluteFill>+ );+};++export const AirportAircraft = Interactive.withSchema({+ Component: AirportAircraftContent,+ componentName: 'AirportAircraft',+ schema: {+ airline: {+ type: 'enum',+ default: 'Cloud Code',+ description: 'Airline',+ variants: {'Cloud Code': {}, OpenAir: {}},+ },+ airframe: {+ type: 'enum',+ default: 'narrowbody',+ description: 'Aircraft type',+ variants: {narrowbody: {}, widebody: {}},+ },+ heading: {+ type: 'number',+ default: 90,+ description: 'Aircraft heading in degrees',+ hiddenFromList: false,+ },+ labelPosition: {+ type: 'enum',+ default: 'above',+ description: 'Name tag position',+ variants: {above: {}, below: {}, left: {}},+ },+ status: {+ type: 'text-content',+ default: 'Build failed · urgent',+ description: 'Task status',+ },+ priority: {+ type: 'boolean',+ default: false,+ description: 'Highlight the next task',+ },+ altitude: {+ type: 'number',+ default: 0,+ min: 0,+ max: 1,+ description: 'Flight height',+ hiddenFromList: false,+ },+ },+ wrapInSequence: true,+});diff --git a/packages/jonnys-videos/src/plane-sight/AirportControlPanel.tsx b/packages/jonnys-videos/src/plane-sight/AirportControlPanel.tsxnew file mode 100644index 0000000000..21afc9d0fc--- /dev/null+++ b/packages/jonnys-videos/src/plane-sight/AirportControlPanel.tsx@@ -0,0 +1,16 @@+import {+ AbsoluteFill,+ type InteractiveTransformProps,+ Interactive,+} from 'remotion';++const AirportControlPanelContent = ({style}: InteractiveTransformProps) => {+ return <AbsoluteFill style={style} />;+};++export const AirportControlPanel = Interactive.withSchema({+ Component: AirportControlPanelContent,+ componentName: 'AirportControlPanel',+ schema: {},+ wrapInSequence: true,+});diff --git a/packages/jonnys-videos/src/plane-sight/AirportLayout.tsx b/packages/jonnys-videos/src/plane-sight/AirportLayout.tsxnew file mode 100644index 0000000000..9cc564f722--- /dev/null+++ b/packages/jonnys-videos/src/plane-sight/AirportLayout.tsx@@ -0,0 +1,176 @@+import {+ AbsoluteFill,+ type InteractiveTransformProps,+ CanvasImage,+ Interactive,+ interpolate,+ useCurrentFrame,+ useVideoConfig,+} from 'remotion';++const AirportLayoutContent = ({style}: InteractiveTransformProps) => {+ const frame = useCurrentFrame();+ const {fps} = useVideoConfig();++ return (+ <AbsoluteFill style={style}>+ <CanvasImage+ name="Grass, terminal and control tower"+ src={+ 'https://remotion.media/jonnys-videos/plane-sight/airport/airport-terrain-v2.png'+ }+ premountFor={fps}+ style={{+ position: 'absolute',+ width: '100%',+ height: '100%',+ objectFit: 'cover',+ imageRendering: 'pixelated',+ }}+ />+ <Interactive.Svg+ name="Runway and angled taxiways"+ viewBox="0 0 1280 720"+ style={{+ position: 'absolute',+ width: '100%',+ height: '100%',+ shapeRendering: 'crispEdges',+ }}+ >+ <path+ data-name="Taxiway shoulders"+ d="M 38 210 H 1220 M 38 550 H 1220 M 250 210 Q 262 210 271 219 L 414 362 Q 432 380 458 380 M 590 210 Q 602 210 611 219 L 754 362 Q 772 380 798 380 M 1060 210 Q 1072 210 1081 229 L 1160 360 Q 1167 380 1178 380 M 250 550 Q 262 550 271 541 L 414 398 Q 432 380 458 380 M 590 550 Q 602 550 611 541 L 754 398 Q 772 380 798 380 M 950 550 Q 962 550 971 541 L 1114 398 Q 1132 380 1158 380"+ fill="none"+ stroke="#3c5146"+ strokeWidth={58}+ strokeLinejoin="round"+ />+ <path+ data-name="Taxiway paving"+ d="M 38 210 H 1220 M 38 550 H 1220 M 250 210 Q 262 210 271 219 L 414 362 Q 432 380 458 380 M 590 210 Q 602 210 611 219 L 754 362 Q 772 380 798 380 M 1060 210 Q 1072 210 1081 229 L 1160 360 Q 1167 380 1178 380 M 250 550 Q 262 550 271 541 L 414 398 Q 432 380 458 380 M 590 550 Q 602 550 611 541 L 754 398 Q 772 380 798 380 M 950 550 Q 962 550 971 541 L 1114 398 Q 1132 380 1158 380"+ fill="none"+ stroke="#68766e"+ strokeWidth={48}+ strokeLinejoin="round"+ />+ <Interactive.Path+ name="Runway pavement"+ d="M 20 336 H 1260 V 424 H 20 Z"+ fill="#37434a"+ stroke="#263b35"+ strokeWidth={6}+ />+ <Interactive.Path+ name="Runway edge paint"+ d="M 24 342 H 1256 M 24 418 H 1256"+ fill="none"+ stroke="#8c9992"+ strokeWidth={2}+ />+ <Interactive.Path+ name="Runway centerline"+ d="M 105 380 H 1175"+ fill="none"+ stroke="#f2f0df"+ strokeWidth={5}+ strokeDasharray="29 27"+ />+ <Interactive.Path+ name="Runway thresholds"+ d="M 34 346 V 414 M 48 346 V 414 M 62 346 V 414 M 76 346 V 414 M 1204 346 V 414 M 1218 346 V 414 M 1232 346 V 414 M 1246 346 V 414"+ fill="none"+ stroke="#f2f0df"+ strokeWidth={7}+ />+ <Interactive.Path+ name="North taxiway centerline"+ d="M 38 210 H 1220"+ fill="none"+ stroke="#e8c466"+ strokeWidth={2}+ />+ <Interactive.Path+ name="South taxiway centerline"+ d="M 38 550 H 1220"+ fill="none"+ stroke="#e8c466"+ strokeWidth={2}+ />+ <Interactive.Path+ name="North west angled entry"+ d="M 250 210 Q 262 210 271 219 L 414 362 Q 432 380 458 380"+ fill="none"+ stroke="#e8c466"+ strokeWidth={2}+ />+ <Interactive.Path+ name="North central angled entry"+ d="M 590 210 Q 602 210 611 219 L 754 362 Q 772 380 798 380"+ fill="none"+ stroke="#e8c466"+ strokeWidth={2}+ />+ <Interactive.Path+ name="North east angled entry"+ d="M 1060 210 Q 1072 210 1081 229 L 1160 360 Q 1167 380 1178 380"+ fill="none"+ stroke="#e8c466"+ strokeWidth={2}+ />+ <Interactive.Path+ name="South west angled entry"+ d="M 250 550 Q 262 550 271 541 L 414 398 Q 432 380 458 380"+ fill="none"+ stroke="#e8c466"+ strokeWidth={2}+ />+ <Interactive.Path+ name="South central angled entry"+ d="M 590 550 Q 602 550 611 541 L 754 398 Q 772 380 798 380"+ fill="none"+ stroke="#e8c466"+ strokeWidth={2}+ />+ <Interactive.Path+ name="South east angled entry"+ d="M 950 550 Q 962 550 971 541 L 1114 398 Q 1132 380 1158 380"+ fill="none"+ stroke="#e8c466"+ strokeWidth={2}+ />+ <Interactive.Path+ name="Angled hold lines"+ d="M 350 324 L 376 298 M 690 324 L 716 298 M 1110 319 L 1144 299 M 350 436 L 376 462 M 690 436 L 716 462 M 1050 436 L 1076 462"+ fill="none"+ stroke="#f2cc69"+ strokeWidth={6}+ strokeDasharray="4 3"+ />+ <Interactive.Path+ name="Urgent aircraft priority route"+ d="M 250 550 Q 262 550 271 541 L 414 398 Q 432 380 458 380 H 1130"+ fill="none"+ stroke="#ffb73b"+ strokeWidth={5}+ strokeDasharray="10 8"+ style={{+ opacity: interpolate(+ frame,+ [4.8 * fps, 5.3 * fps, 11.8 * fps, 12.5 * fps],+ [0, 1, 1, 0],+ {extrapolateLeft: 'clamp', extrapolateRight: 'clamp'},+ ),+ }}+ />+ </Interactive.Svg>+ </AbsoluteFill>+ );+};++export const AirportLayout = Interactive.withSchema({+ Component: AirportLayoutContent,+ componentName: 'AirportLayout',+ schema: {},+ wrapInSequence: true,+});diff --git a/packages/jonnys-videos/src/plane-sight/AirportSignZoom.tsx b/packages/jonnys-videos/src/plane-sight/AirportSignZoom.tsxnew file mode 100644index 0000000000..e78c773f71--- /dev/null+++ b/packages/jonnys-videos/src/plane-sight/AirportSignZoom.tsx@@ -0,0 +1,52 @@+import {+ AbsoluteFill,+ CanvasImage,+ Easing,+ Interactive,+ type InteractiveTransformProps,+ interpolate,+ useCurrentFrame,+ useVideoConfig,+} from 'remotion';++const AirportSignZoomContent = ({style}: InteractiveTransformProps) => {+ const frame = useCurrentFrame();+ const {fps} = useVideoConfig();+ const zoom = interpolate(+ frame,+ [0, 1.5 * fps, (175 / 30) * fps, (219 / 30) * fps],+ [1, 2.6, 2.6, 1],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ easing: Easing.bezier(0.42, 0, 0.3, 1),+ },+ );++ return (+ <AbsoluteFill style={{overflow: 'hidden', ...style}}>+ <CanvasImage+ name="Zoom into the Agent Airport International sign"+ src={+ 'https://remotion.media/jonnys-videos/plane-sight/screenshots/herdr-terminal-airport.png'+ }+ premountFor={fps}+ style={{+ width: '100%',+ height: '100%',+ objectFit: 'cover',+ transformOrigin: '50% 18%',+ scale: zoom,+ translate: `${-60 * (zoom - 1)}px ${100 * (zoom - 1)}px`,+ }}+ />+ </AbsoluteFill>+ );+};++export const AirportSignZoom = Interactive.withSchema({+ Component: AirportSignZoomContent,+ componentName: 'AirportSignZoom',+ schema: {},+ wrapInSequence: true,+});diff --git a/packages/jonnys-videos/src/plane-sight/Composition.tsx b/packages/jonnys-videos/src/plane-sight/Composition.tsxnew file mode 100644index 0000000000..928d42f2d7--- /dev/null+++ b/packages/jonnys-videos/src/plane-sight/Composition.tsx@@ -0,0 +1,50 @@+import {AbsoluteFill, Series, useVideoConfig} from 'remotion';+import {AirportDemo, FiveAgentsIntro} from './FiveAgentDemo';+import {FlightCrewScene} from './FlightCrewScene';+import {PresenterNarration} from './PresenterNarration';++export const PlaneSightPromo = () => {+ const {fps} = useVideoConfig();++ return (+ <AbsoluteFill style={{backgroundColor: '#ffffff'}}>+ <FiveAgentsIntro+ name="Opening — five agents in Herdr"+ durationInFrames={8.1 * fps}+ premountFor={fps}+ />+ <AirportDemo+ name="Airport — depart, work, return"+ from={(344 / 30) * fps}+ durationInFrames={(496 / 30) * fps}+ premountFor={fps}+ />+ <Series name="Promo scenes" layout="absolute-fill" premountFor={fps}>+ <Series.Sequence+ name="Narration — through crucial"+ trimBefore={(100 / 30) * fps}+ durationInFrames={28 * fps}+ premountFor={fps}+ >+ <PresenterNarration premountFor={fps} />+ </Series.Sequence>+ <Series.Sequence+ name="Meet the flight crew"+ trimBefore={0.7 * fps}+ durationInFrames={9.2 * fps}+ premountFor={fps}+ >+ <FlightCrewScene premountFor={fps} />+ </Series.Sequence>+ <Series.Sequence+ name="Narration — after flight crew"+ trimBefore={(940 / 30) * fps}+ durationInFrames={60.5 * fps}+ premountFor={fps}+ >+ <PresenterNarration premountFor={fps} />+ </Series.Sequence>+ </Series>+ </AbsoluteFill>+ );+};diff --git a/packages/jonnys-videos/src/plane-sight/EightAgentsIntro.tsx b/packages/jonnys-videos/src/plane-sight/EightAgentsIntro.tsxnew file mode 100644index 0000000000..762d1c48d6--- /dev/null+++ b/packages/jonnys-videos/src/plane-sight/EightAgentsIntro.tsx@@ -0,0 +1,92 @@+import {+ AbsoluteFill,+ type InteractiveTransformProps,+ CanvasImage,+ Easing,+ Interactive,+ interpolate,+ useCurrentFrame,+ useVideoConfig,+} from 'remotion';++const EightAgentsIntroContent = ({style}: InteractiveTransformProps) => {+ const frame = useCurrentFrame();+ const {fps} = useVideoConfig();++ return (+ <AbsoluteFill style={style}>+ <Interactive.Div+ name="Screenshot focus window"+ premountFor={fps}+ style={{+ position: 'absolute',+ top: 32,+ left: interpolate(frame, [1.3 * fps, 3.5 * fps], [280, 440], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ easing: Easing.bezier(0.42, 0, 0.3, 1),+ }),+ width: interpolate(frame, [1.3 * fps, 3.5 * fps], [720, 400], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ easing: Easing.bezier(0.42, 0, 0.3, 1),+ }),+ height: interpolate(frame, [1.3 * fps, 3.5 * fps], [405, 520], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ easing: Easing.bezier(0.42, 0, 0.3, 1),+ }),+ borderRadius: 10,+ overflow: 'hidden',+ backgroundColor: '#11100e',+ boxShadow: '0 12px 36px rgba(21, 31, 44, 0.12)',+ opacity: interpolate(+ frame,+ [0, 0.25 * fps, 7.75 * fps, 8.1 * fps],+ [0, 1, 1, 0],+ {extrapolateLeft: 'clamp', extrapolateRight: 'clamp'},+ ),+ }}+ >+ <CanvasImage+ name="Eight agents — Herdr web UI zoom"+ src={+ 'https://remotion.media/jonnys-videos/plane-sight/screenshots/eight-agents-herdr-web.jpg'+ }+ premountFor={fps}+ style={{+ position: 'absolute',+ left: 0,+ top: 0,+ width: 720,+ height: 405,+ transformOrigin: '0 0',+ scale: interpolate(frame, [1.3 * fps, 3.5 * fps], [1, 20 / 9], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ easing: Easing.bezier(0.42, 0, 0.3, 1),+ output: 'perceptual-scale',+ }),+ translate: interpolate(+ frame,+ [1.3 * fps, 3.5 * fps],+ ['0px 0px', '0px -62.5px'],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ easing: Easing.bezier(0.42, 0, 0.3, 1),+ },+ ),+ }}+ />+ </Interactive.Div>+ </AbsoluteFill>+ );+};++export const EightAgentsIntro = Interactive.withSchema({+ Component: EightAgentsIntroContent,+ componentName: 'EightAgentsIntro',+ schema: {},+ wrapInSequence: true,+});diff --git a/packages/jonnys-videos/src/plane-sight/EntireCommitsBroll.tsx b/packages/jonnys-videos/src/plane-sight/EntireCommitsBroll.tsxnew file mode 100644index 0000000000..42c717b461--- /dev/null+++ b/packages/jonnys-videos/src/plane-sight/EntireCommitsBroll.tsx@@ -0,0 +1,48 @@+import {+ AbsoluteFill,+ CanvasImage,+ Easing,+ Interactive,+ type InteractiveTransformProps,+ interpolate,+ useCurrentFrame,+ useVideoConfig,+} from 'remotion';++const EntireCommitsBrollContent = ({style}: InteractiveTransformProps) => {+ const frame = useCurrentFrame();+ const {fps} = useVideoConfig();++ return (+ <AbsoluteFill+ style={{backgroundColor: '#f7f7f7', overflow: 'hidden', ...style}}+ >+ <CanvasImage+ name="PlaneSight commit history in Entire"+ src={+ 'https://remotion.media/jonnys-videos/plane-sight/screenshots/entire-planesight-commits.png'+ }+ premountFor={fps}+ style={{+ width: '100%',+ height: '100%',+ objectFit: 'cover',+ transformOrigin: '0% 0%',+ scale: interpolate(frame, [0, (168 / 30) * fps], [1, 1.12], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ easing: Easing.bezier(0.2, 0, 0.4, 1),+ output: 'perceptual-scale',+ }),+ }}+ />+ </AbsoluteFill>+ );+};++export const EntireCommitsBroll = Interactive.withSchema({+ Component: EntireCommitsBrollContent,+ componentName: 'EntireCommitsBroll',+ schema: {},+ wrapInSequence: true,+});diff --git a/packages/jonnys-videos/src/plane-sight/EntireTrailsOverlay.tsx b/packages/jonnys-videos/src/plane-sight/EntireTrailsOverlay.tsxnew file mode 100644index 0000000000..2fee5382d8--- /dev/null+++ b/packages/jonnys-videos/src/plane-sight/EntireTrailsOverlay.tsx@@ -0,0 +1,38 @@+import {+ AbsoluteFill,+ CanvasImage,+ Interactive,+ type InteractiveTransformProps,+ useVideoConfig,+} from 'remotion';++const EntireTrailsOverlayContent = ({style}: InteractiveTransformProps) => {+ const {fps} = useVideoConfig();++ return (+ <AbsoluteFill style={style}>+ <CanvasImage+ name="Entire Trails — pixel-font wink"+ src={+ 'https://remotion.media/jonnys-videos/plane-sight/overlays/entire-trails.svg'+ }+ premountFor={fps}+ style={{+ position: 'absolute',+ left: 190,+ top: 300,+ width: 900,+ height: 150,+ objectFit: 'contain',+ }}+ />+ </AbsoluteFill>+ );+};++export const EntireTrailsOverlay = Interactive.withSchema({+ Component: EntireTrailsOverlayContent,+ componentName: 'EntireTrailsOverlay',+ schema: {},+ wrapInSequence: true,+});diff --git a/packages/jonnys-videos/src/plane-sight/FiveAgentDemo.tsx b/packages/jonnys-videos/src/plane-sight/FiveAgentDemo.tsxnew file mode 100644index 0000000000..a1a8ae152b--- /dev/null+++ b/packages/jonnys-videos/src/plane-sight/FiveAgentDemo.tsx@@ -0,0 +1,269 @@+import {Video} from '@remotion/media';+import {+ AbsoluteFill,+ CanvasImage,+ Easing,+ Interactive,+ type InteractiveTransformProps,+ interpolate,+ Series,+ useCurrentFrame,+ useVideoConfig,+} from 'remotion';++const screenStyle: React.CSSProperties = {+ position: 'absolute',+ left: 32,+ top: 32,+ width: 944,+ height: (944 * 1484) / 2702,+ overflow: 'hidden',+ borderRadius: 10,+ backgroundColor: '#151410',+ boxShadow: '0 12px 36px rgba(21, 31, 44, 0.12)',+};++const fullscreenStyle: React.CSSProperties = {+ position: 'absolute',+ inset: 0,+ width: '100%',+ height: '100%',+ overflow: 'hidden',+ backgroundColor: '#151410',+};++const fullscreenMediaStyle: React.CSSProperties = {+ width: '100%',+ height: '100%',+ objectFit: 'cover',+};++// The five-agent sidebar is taken from source 00:24, before the airport switch.+const FiveAgentsIntroContent = ({style}: InteractiveTransformProps) => {+ const frame = useCurrentFrame();+ const {fps} = useVideoConfig();++ return (+ <AbsoluteFill style={{backgroundColor: '#000000', ...style}}>+ <Interactive.Div+ name="Focus on the five waiting sessions"+ premountFor={fps}+ style={{+ ...screenStyle,+ left: interpolate(frame, [0.9 * fps, 2.5 * fps], [32, 204], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ easing: Easing.bezier(0.42, 0, 0.3, 1),+ }),+ width: interpolate(frame, [0.9 * fps, 2.5 * fps], [944, 600], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ easing: Easing.bezier(0.42, 0, 0.3, 1),+ }),+ opacity: interpolate(+ frame,+ [0, 0.2 * fps, 7.8 * fps, 8.1 * fps],+ [0, 1, 1, 0],+ {extrapolateLeft: 'clamp', extrapolateRight: 'clamp'},+ ),+ }}+ >+ <CanvasImage+ name="Herdr at source 00:24 — five agents"+ src={+ 'https://remotion.media/jonnys-videos/plane-sight/screenshots/five-agents-herdr.png'+ }+ premountFor={fps}+ style={{+ position: 'absolute',+ width: 944,+ height: (944 * 1484) / 2702,+ transformOrigin: '0 0',+ scale: interpolate(frame, [0.9 * fps, 2.5 * fps], [1, 2.6], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ easing: Easing.bezier(0.42, 0, 0.3, 1),+ output: 'perceptual-scale',+ }),+ translate: interpolate(+ frame,+ [0.9 * fps, 2.5 * fps],+ ['0px 0px', '-12px -726px'],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ easing: Easing.bezier(0.42, 0, 0.3, 1),+ },+ ),+ }}+ />+ </Interactive.Div>+ </AbsoluteFill>+ );+};++export const FiveAgentsIntro = Interactive.withSchema({+ Component: FiveAgentsIntroContent,+ componentName: 'FiveAgentsIntro',+ schema: {},+ wrapInSequence: true,+});++const AirportOverviewContent = ({style}: InteractiveTransformProps) => {+ const {fps} = useVideoConfig();+ return (+ <AbsoluteFill style={style}>+ <Interactive.Div+ name="Five-agent airport overview"+ premountFor={fps}+ style={fullscreenStyle}+ >+ <CanvasImage+ name="Authentication first, API next — source 00:00.3"+ src={+ 'https://remotion.media/jonnys-videos/plane-sight/screenshots/five-agent-airport.png'+ }+ premountFor={fps}+ style={fullscreenMediaStyle}+ />+ </Interactive.Div>+ </AbsoluteFill>+ );+};++export const AirportOverview = Interactive.withSchema({+ Component: AirportOverviewContent,+ componentName: 'AirportOverview',+ schema: {},+ wrapInSequence: true,+});++const AirportDemoContent = ({style}: InteractiveTransformProps) => {+ const {fps} = useVideoConfig();+ const frame = useCurrentFrame();+ return (+ <AbsoluteFill style={style}>+ <Interactive.Div+ name="Recorded airport demo"+ premountFor={fps}+ style={fullscreenStyle}+ >+ <Interactive.Div+ name="Agents taking off — zoom into the runway"+ premountFor={fps}+ style={{+ position: 'absolute',+ inset: 0,+ transformOrigin: '75% 67%',+ scale: interpolate(+ frame,+ [(86 / 30) * fps, (110 / 30) * fps, 5.6 * fps, (181 / 30) * fps],+ [1, 2.2, 2.2, 1],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ easing: Easing.bezier(0.42, 0, 0.3, 1),+ output: 'perceptual-scale',+ },+ ),+ translate: interpolate(+ frame,+ [(86 / 30) * fps, (110 / 30) * fps, 5.6 * fps, (181 / 30) * fps],+ ['0px 0px', '-160px -85px', '-160px -85px', '0px 0px'],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ easing: Easing.bezier(0.42, 0, 0.3, 1),+ },+ ),+ }}+ >+ <Series+ name="Airport action"+ layout="absolute-fill"+ premountFor={fps}+ >+ <Series.Sequence+ name="Five agents in priority order"+ durationInFrames={3.4 * fps}+ premountFor={fps}+ >+ <CanvasImage+ src={+ 'https://remotion.media/jonnys-videos/plane-sight/screenshots/five-agent-airport.png'+ }+ premountFor={fps}+ style={fullscreenMediaStyle}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Send an agent off — source 00:26.5"+ durationInFrames={2.3 * fps}+ premountFor={fps}+ >+ <Video+ src={+ 'https://remotion.media/jonnys-videos/plane-sight/scenes/five-agent-demo.mp4'+ }+ trimBefore={26.5 * fps}+ muted+ objectFit="cover"+ premountFor={fps}+ style={fullscreenMediaStyle}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Working agent is hidden"+ durationInFrames={(10 / 30) * fps}+ premountFor={fps}+ >+ <CanvasImage+ src={+ 'https://remotion.media/jonnys-videos/plane-sight/screenshots/four-agents-airport.png'+ }+ premountFor={fps}+ style={fullscreenMediaStyle}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Agent returns to the queue — source 00:38.5"+ durationInFrames={4.1 * fps}+ premountFor={fps}+ >+ <Video+ src={+ 'https://remotion.media/jonnys-videos/plane-sight/scenes/five-agent-demo.mp4'+ }+ trimBefore={38.5 * fps}+ muted+ objectFit="cover"+ premountFor={fps}+ style={fullscreenMediaStyle}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Hold the airport for the turnaround line"+ durationInFrames={6.4 * fps}+ premountFor={fps}+ >+ <CanvasImage+ src={+ 'https://remotion.media/jonnys-videos/plane-sight/screenshots/five-agent-airport-returned.png'+ }+ premountFor={fps}+ style={fullscreenMediaStyle}+ />+ </Series.Sequence>+ </Series>+ </Interactive.Div>+ </Interactive.Div>+ </AbsoluteFill>+ );+};++export const AirportDemo = Interactive.withSchema({+ Component: AirportDemoContent,+ componentName: 'AirportDemo',+ schema: {},+ wrapInSequence: true,+});diff --git a/packages/jonnys-videos/src/plane-sight/FlightCrewScene.tsx b/packages/jonnys-videos/src/plane-sight/FlightCrewScene.tsxnew file mode 100644index 0000000000..12cb31b1d5--- /dev/null+++ b/packages/jonnys-videos/src/plane-sight/FlightCrewScene.tsx@@ -0,0 +1,223 @@+import {Audio, Video} from '@remotion/media';+import {+ AbsoluteFill,+ type InteractiveTransformProps,+ CanvasImage,+ Interactive,+ interpolate,+ useCurrentFrame,+ useVideoConfig,+} from 'remotion';+import {BasicCaptions} from './basic-captions';++const FlightCrewSceneContent = ({style}: InteractiveTransformProps) => {+ const frame = useCurrentFrame();+ const {fps} = useVideoConfig();++ return (+ <AbsoluteFill style={style}>+ <Audio+ name="Normalized flight crew"+ src={+ 'https://remotion.media/jonnys-videos/plane-sight/audio/flight-crew-normalized.wav'+ }+ premountFor={fps}+ />+ <Video+ name="Flight crew footage"+ src={+ 'https://remotion.media/jonnys-videos/plane-sight/scenes/team-scene.mp4'+ }+ muted+ premountFor={fps}+ objectFit="cover"+ style={{position: 'absolute', width: '100%', height: '100%'}}+ />+ <CanvasImage+ name="Pixel Copilot — on the word copilot"+ src={+ 'https://remotion.media/jonnys-videos/plane-sight/overlays/pixel-copilot.png'+ }+ from={(266 / 30) * fps}+ durationInFrames={(31 / 30) * fps}+ premountFor={fps}+ style={{+ position: 'absolute',+ left: 264,+ top: 54,+ width: 248,+ height: 248,+ objectFit: 'contain',+ imageRendering: 'pixelated',+ transformOrigin: '50% 50%',+ scale: interpolate(+ frame,+ [(266 / 30) * fps, (272 / 30) * fps, (277 / 30) * fps],+ [0.6, 1.12, 1],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ output: 'perceptual-scale',+ },+ ),+ opacity: interpolate(+ frame,+ [(266 / 30) * fps, (269 / 30) * fps, (294 / 30) * fps, 9.9 * fps],+ [0, 1, 1, 0],+ {extrapolateLeft: 'clamp', extrapolateRight: 'clamp'},+ ),+ }}+ />+ <BasicCaptions+ name="Flight crew captions"+ premountFor={fps}+ width={1280}+ combineTokensWithinMilliseconds={2200}+ style={{+ position: 'absolute',+ bottom: 48,+ scale: '0.6666667',+ transformOrigin: '50% 100%',+ }}+ captions={[+ {+ text: 'This',+ startMs: 1020,+ endMs: 1120,+ timestampMs: 1070,+ confidence: null,+ },+ {+ text: ' is',+ startMs: 1120,+ endMs: 1360,+ timestampMs: 1240,+ confidence: null,+ },+ {+ text: ' our',+ startMs: 1360,+ endMs: 1600,+ timestampMs: 1480,+ confidence: null,+ },+ {+ text: ' flight',+ startMs: 1600,+ endMs: 1820,+ timestampMs: 1710,+ confidence: null,+ },+ {+ text: ' crew',+ startMs: 1820,+ endMs: 2000,+ timestampMs: 1910,+ confidence: null,+ },+ {+ text: ' for',+ startMs: 2000,+ endMs: 2380,+ timestampMs: 2190,+ confidence: null,+ },+ {+ text: ' today.',+ startMs: 2380,+ endMs: 2900,+ timestampMs: 2640,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' I',+ startMs: 2900,+ endMs: 3120,+ timestampMs: 3010,+ confidence: null,+ },+ {+ text: ' am',+ startMs: 3120,+ endMs: 3560,+ timestampMs: 3340,+ confidence: null,+ },+ {+ text: ' maître',+ startMs: 3560,+ endMs: 3820,+ timestampMs: 3690,+ confidence: null,+ },+ {+ text: ' de cabine',+ startMs: 3820,+ endMs: 4840,+ timestampMs: 4290,+ confidence: null,+ },+ {+ text: ' Jonny.',+ startMs: 4840,+ endMs: 5000,+ timestampMs: 4920,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: " I'm",+ startMs: 6140,+ endMs: 6320,+ timestampMs: 6230,+ confidence: null,+ },+ {+ text: ' the',+ startMs: 6320,+ endMs: 6580,+ timestampMs: 6450,+ confidence: null,+ },+ {+ text: ' captain,',+ startMs: 6580,+ endMs: 7020,+ timestampMs: 6800,+ confidence: null,+ },+ {+ text: ' Max.',+ startMs: 7120,+ endMs: 7980,+ timestampMs: 7550,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' Marcel,',+ startMs: 8300,+ endMs: 8760,+ timestampMs: 8530,+ confidence: null,+ },+ {+ text: ' copilot.',+ startMs: 8860,+ endMs: 9900,+ timestampMs: 9380,+ confidence: null,+ },+ ]}+ />+ </AbsoluteFill>+ );+};++export const FlightCrewScene = Interactive.withSchema({+ Component: FlightCrewSceneContent,+ componentName: 'FlightCrewScene',+ schema: {},+ wrapInSequence: true,+});diff --git a/packages/jonnys-videos/src/plane-sight/FrontOfLineZoom.tsx b/packages/jonnys-videos/src/plane-sight/FrontOfLineZoom.tsxnew file mode 100644index 0000000000..6202380e24--- /dev/null+++ b/packages/jonnys-videos/src/plane-sight/FrontOfLineZoom.tsx@@ -0,0 +1,62 @@+import {+ AbsoluteFill,+ CanvasImage,+ Easing,+ Interactive,+ type InteractiveTransformProps,+ interpolate,+ useCurrentFrame,+ useVideoConfig,+} from 'remotion';++const FrontOfLineZoomContent = ({style}: InteractiveTransformProps) => {+ const frame = useCurrentFrame();+ const {fps} = useVideoConfig();++ return (+ <AbsoluteFill style={{overflow: 'hidden', ...style}}>+ <CanvasImage+ name="Priority one — the plane at the front of the line"+ src={+ 'https://remotion.media/jonnys-videos/plane-sight/screenshots/five-agent-airport.png'+ }+ premountFor={fps}+ style={{+ width: '100%',+ height: '100%',+ objectFit: 'cover',+ imageRendering: 'pixelated',+ transformOrigin: '64% 62%',+ scale: interpolate(+ frame,+ [0, 0.8 * fps, 2.35 * fps, 3 * fps],+ [1, 2.4, 2.4, 1],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ easing: Easing.bezier(0.42, 0, 0.3, 1),+ output: 'perceptual-scale',+ },+ ),+ translate: interpolate(+ frame,+ [0, 0.8 * fps, 2.35 * fps, 3 * fps],+ ['0px 0px', '-150px -80px', '-150px -80px', '0px 0px'],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ easing: Easing.bezier(0.42, 0, 0.3, 1),+ },+ ),+ }}+ />+ </AbsoluteFill>+ );+};++export const FrontOfLineZoom = Interactive.withSchema({+ Component: FrontOfLineZoomContent,+ componentName: 'FrontOfLineZoom',+ schema: {},+ wrapInSequence: true,+});diff --git a/packages/jonnys-videos/src/plane-sight/GeminiTowerScene.tsx b/packages/jonnys-videos/src/plane-sight/GeminiTowerScene.tsxnew file mode 100644index 0000000000..139f2a9e9a--- /dev/null+++ b/packages/jonnys-videos/src/plane-sight/GeminiTowerScene.tsx@@ -0,0 +1,91 @@+import {Video} from '@remotion/media';+import {+ AbsoluteFill,+ CanvasImage,+ Interactive,+ type InteractiveTransformProps,+ Series,+ useVideoConfig,+} from 'remotion';++// Fill the canvas while retaining the recorded hover card in the center crop.+const mediaStyle: React.CSSProperties = {+ position: 'absolute',+ inset: 0,+ width: '100%',+ height: '100%',+ objectFit: 'cover',+};++const GeminiTowerSceneContent = ({style}: InteractiveTransformProps) => {+ const {fps} = useVideoConfig();++ return (+ <AbsoluteFill style={{backgroundColor: '#ffffff', ...style}}>+ <Interactive.Div+ name="Close-up of Gemini in the control tower"+ premountFor={fps}+ style={{+ position: 'absolute',+ inset: 0,+ width: '100%',+ height: '100%',+ overflow: 'hidden',+ backgroundColor: '#6d9b57',+ }}+ >+ <Series name="Tower hover" layout="absolute-fill" premountFor={fps}>+ <Series.Sequence+ name="Establish the control tower"+ durationInFrames={2 * fps}+ premountFor={fps}+ >+ <CanvasImage+ src={+ 'https://remotion.media/jonnys-videos/plane-sight/screenshots/gemini-tower-before-hover.png'+ }+ premountFor={fps}+ style={mediaStyle}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Reveal Gemini on the spoken name"+ durationInFrames={3 * fps}+ premountFor={fps}+ >+ <Video+ src={+ 'https://remotion.media/jonnys-videos/plane-sight/scenes/gemini-tower-hover.mp4'+ }+ trimBefore={0}+ muted+ objectFit="cover"+ premountFor={fps}+ style={mediaStyle}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Hold Gemini's card through the priority explanation"+ durationInFrames={(224 / 30) * fps}+ premountFor={fps}+ >+ <CanvasImage+ src={+ 'https://remotion.media/jonnys-videos/plane-sight/screenshots/gemini-tower-hover.png'+ }+ premountFor={fps}+ style={mediaStyle}+ />+ </Series.Sequence>+ </Series>+ </Interactive.Div>+ </AbsoluteFill>+ );+};++export const GeminiTowerScene = Interactive.withSchema({+ Component: GeminiTowerSceneContent,+ componentName: 'GeminiTowerScene',+ schema: {},+ wrapInSequence: true,+});diff --git a/packages/jonnys-videos/src/plane-sight/HerdrGroundControl.tsx b/packages/jonnys-videos/src/plane-sight/HerdrGroundControl.tsxnew file mode 100644index 0000000000..7b971c1534--- /dev/null+++ b/packages/jonnys-videos/src/plane-sight/HerdrGroundControl.tsx@@ -0,0 +1,36 @@+import {Video} from '@remotion/media';+import {+ AbsoluteFill,+ Interactive,+ type InteractiveTransformProps,+ useVideoConfig,+} from 'remotion';++const HerdrGroundControlContent = ({style}: InteractiveTransformProps) => {+ const {fps} = useVideoConfig();++ return (+ <AbsoluteFill style={{backgroundColor: '#000000', ...style}}>+ <Video+ name="Send the agent off — automatic return to the airport"+ src={+ 'https://remotion.media/jonnys-videos/plane-sight/scenes/herdr-terminal-send.mp4'+ }+ trimBefore={0.6 * fps}+ durationInFrames={10.5 * fps}+ playbackRate={1.25}+ muted+ objectFit="cover"+ premountFor={fps}+ style={{width: '100%', height: '100%'}}+ />+ </AbsoluteFill>+ );+};++export const HerdrGroundControl = Interactive.withSchema({+ Component: HerdrGroundControlContent,+ componentName: 'HerdrGroundControl',+ schema: {},+ wrapInSequence: true,+});diff --git a/packages/jonnys-videos/src/plane-sight/PixelAirlines.tsx b/packages/jonnys-videos/src/plane-sight/PixelAirlines.tsxnew file mode 100644index 0000000000..4f1fc3ce51--- /dev/null+++ b/packages/jonnys-videos/src/plane-sight/PixelAirlines.tsx@@ -0,0 +1,207 @@+import {+ AbsoluteFill,+ type InteractiveTransformProps,+ CanvasImage,+ Interactive,+ useVideoConfig,+} from 'remotion';++export type AircraftAirframe = 'narrowbody' | 'widebody';++type PlaneProps = InteractiveTransformProps & {+ width: number | null;+ height: number | null;+ airframe: AircraftAirframe | null;+};++const CloudCodePlaneContent = ({+ airframe,+ width,+ height,+ style,+}: PlaneProps) => {+ const {fps} = useVideoConfig();++ return (+ <AbsoluteFill+ style={{width: width ?? '100%', height: height ?? '100%', ...style}}+ >+ <CanvasImage+ name="Cloud Code plane"+ src={+ airframe === 'widebody'+ ? 'https://remotion.media/jonnys-videos/plane-sight/airlines/cloud-code-widebody-orange.png'+ : 'https://remotion.media/jonnys-videos/plane-sight/airlines/cloud-code-narrowbody-orange.png'+ }+ premountFor={fps}+ style={{+ position: 'absolute',+ width: '100%',+ height: '100%',+ objectFit: 'contain',+ imageRendering: 'pixelated',+ }}+ />+ </AbsoluteFill>+ );+};++export const CloudCodePlane = Interactive.withSchema({+ Component: CloudCodePlaneContent,+ componentName: 'CloudCodePlane',+ schema: {+ airframe: {+ type: 'enum',+ default: 'narrowbody',+ description: 'Aircraft type',+ variants: {narrowbody: {}, widebody: {}},+ },+ },+ wrapInSequence: true,+});++const OpenAirPlaneContent = ({airframe, width, height, style}: PlaneProps) => {+ const {fps} = useVideoConfig();++ return (+ <AbsoluteFill+ style={{width: width ?? '100%', height: height ?? '100%', ...style}}+ >+ <CanvasImage+ name="OpenAir plane"+ src={+ airframe === 'widebody'+ ? 'https://remotion.media/jonnys-videos/plane-sight/airlines/openair-widebody.png'+ : 'https://remotion.media/jonnys-videos/plane-sight/airlines/openair-plane-top-down.png'+ }+ premountFor={fps}+ style={{+ position: 'absolute',+ width: '100%',+ height: '100%',+ objectFit: 'contain',+ imageRendering: 'pixelated',+ }}+ />+ </AbsoluteFill>+ );+};++export const OpenAirPlane = Interactive.withSchema({+ Component: OpenAirPlaneContent,+ componentName: 'OpenAirPlane',+ schema: {+ airframe: {+ type: 'enum',+ default: 'narrowbody',+ description: 'Aircraft type',+ variants: {narrowbody: {}, widebody: {}},+ },+ },+ wrapInSequence: true,+});++export const PixelAirlines = () => {+ const {fps} = useVideoConfig();++ return (+ <>+ <CloudCodePlane+ name="Cloud Code narrowbody"+ airframe="narrowbody"+ premountFor={fps}+ width={250}+ height={250}+ style={{position: 'absolute', left: 195, top: 40}}+ />+ <OpenAirPlane+ name="OpenAir narrowbody"+ airframe="narrowbody"+ premountFor={fps}+ width={250}+ height={250}+ style={{position: 'absolute', left: 835, top: 40}}+ />+ <Interactive.Div+ name="Cloud Code narrowbody label"+ style={{+ position: 'absolute',+ left: 80,+ top: 300,+ width: 480,+ textAlign: 'center',+ fontFamily: "'Courier New', monospace",+ fontSize: 24,+ fontWeight: 700,+ color: '#a3410e',+ }}+ >+ Cloud Code · Narrowbody+ </Interactive.Div>+ <Interactive.Div+ name="OpenAir narrowbody label"+ style={{+ position: 'absolute',+ left: 720,+ top: 300,+ width: 480,+ textAlign: 'center',+ fontFamily: "'Courier New', monospace",+ fontSize: 24,+ fontWeight: 700,+ color: '#105734',+ }}+ >+ OpenAir · Narrowbody+ </Interactive.Div>+ <CloudCodePlane+ name="Cloud Code widebody"+ airframe="widebody"+ premountFor={fps}+ width={300}+ height={300}+ style={{position: 'absolute', left: 170, top: 365}}+ />+ <OpenAirPlane+ name="OpenAir widebody"+ airframe="widebody"+ premountFor={fps}+ width={300}+ height={300}+ style={{position: 'absolute', left: 810, top: 365}}+ />+ <Interactive.Div+ name="Cloud Code widebody label"+ style={{+ position: 'absolute',+ left: 80,+ top: 680,+ width: 480,+ textAlign: 'center',+ fontFamily: "'Courier New', monospace",+ fontSize: 24,+ fontWeight: 700,+ color: '#a3410e',+ }}+ >+ Cloud Code · Widebody+ </Interactive.Div>+ <Interactive.Div+ name="OpenAir widebody label"+ style={{+ position: 'absolute',+ left: 720,+ top: 680,+ width: 480,+ textAlign: 'center',+ fontFamily: "'Courier New', monospace",+ fontSize: 24,+ fontWeight: 700,+ color: '#105734',+ }}+ >+ OpenAir · Widebody+ </Interactive.Div>+ </>+ );+};diff --git a/packages/jonnys-videos/src/plane-sight/PixelAirport.tsx b/packages/jonnys-videos/src/plane-sight/PixelAirport.tsxnew file mode 100644index 0000000000..c95e5a93de--- /dev/null+++ b/packages/jonnys-videos/src/plane-sight/PixelAirport.tsx@@ -0,0 +1,751 @@+import {+ AbsoluteFill,+ type InteractiveTransformProps,+ CanvasImage,+ Easing,+ Interactive,+ interpolate,+ useCurrentFrame,+ useVideoConfig,+} from 'remotion';+import {AirportAircraft} from './AirportAircraft';+import {AirportLayout} from './AirportLayout';++const AirportTraffic = () => {+ const frame = useCurrentFrame();+ const {fps} = useVideoConfig();+ return (+ <>+ <AirportLayout+ name="Airport with north and south angled taxiways"+ premountFor={fps}+ />+ <AirportAircraft+ name="Cloud Code — urgent priority"+ airline="Cloud Code"+ airframe="narrowbody"+ status={+ frame < 5 * fps+ ? 'Needs your input'+ : frame < 11.5 * fps+ ? 'Build failed · urgent'+ : frame < 20 * fps+ ? 'Moved to front'+ : frame < 21.8 * fps+ ? 'Taking off'+ : frame < 40 * fps+ ? 'In flight'+ : frame < 40.8 * fps+ ? 'On approach'+ : frame < 43.4 * fps+ ? 'Landed · slowing'+ : frame < 45.4 * fps+ ? 'Taxiing in'+ : 'Ready for review'+ }+ priority={frame >= 5 * fps && frame < 21.8 * fps}+ labelPosition={+ frame >= 8.7 * fps && frame < 11.5 * fps+ ? 'left'+ : frame < 40 * fps+ ? 'below'+ : 'above'+ }+ altitude={interpolate(+ frame,+ [20.8 * fps, 21.8 * fps, 40 * fps, 40.8 * fps, 41.1 * fps],+ [0, 1, 1, 0.2, 0],+ {extrapolateLeft: 'clamp', extrapolateRight: 'clamp'},+ )}+ premountFor={fps}+ width={192}+ height={332}+ heading={interpolate(+ frame,+ [+ 0 * fps,+ 5 * fps,+ 5.8 * fps,+ 8 * fps,+ 8.7 * fps,+ 21.8 * fps,+ 40 * fps,+ 43.4 * fps,+ 43.9 * fps,+ 45 * fps,+ 45.2 * fps,+ ],+ [90, 90, 45, 45, 90, 90, 270, 270, 315, 315, 270],+ {extrapolateLeft: 'clamp', extrapolateRight: 'clamp'},+ )}+ style={{+ position: 'absolute',+ overflow: 'visible',+ left: -96,+ top: -164,+ translate: interpolate(+ frame,+ [+ 0 * fps,+ 5 * fps,+ 5.4 * fps,+ 5.8 * fps,+ 8 * fps,+ 8.3 * fps,+ 8.5 * fps,+ 8.7 * fps,+ 11.5 * fps,+ 20 * fps,+ 20.8 * fps,+ 21.3 * fps,+ 21.8 * fps,+ 40 * fps,+ 40.8 * fps,+ 43.4 * fps,+ 43.5 * fps,+ 43.7 * fps,+ 43.9 * fps,+ 45 * fps,+ 45.2 * fps,+ 45.4 * fps,+ ],+ [+ '250px 550px',+ '250px 550px',+ '258px 548px',+ '271px 541px',+ '414px 398px',+ '431px 386px',+ '446px 381px',+ '458px 380px',+ '1130px 380px',+ '1130px 380px',+ '1210px 380px',+ '1330px 380px',+ '1450px 380px',+ '1480px 380px',+ '1210px 380px',+ '458px 380px',+ '446px 379px',+ '431px 374px',+ '414px 362px',+ '271px 219px',+ '250px 210px',+ '250px 210px',+ ],+ {+ easing: Easing.linear,+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ },+ ),+ }}+ />+ <AirportAircraft+ name="OpenAir — yields and rejoins"+ airline="OpenAir"+ airframe="widebody"+ status={+ frame < 5 * fps+ ? 'Next for review'+ : frame < 11.5 * fps+ ? 'Yielding · urgent first'+ : frame < 15.3 * fps+ ? 'Rejoining queue'+ : frame < 22.5 * fps+ ? 'Next after urgent'+ : frame < 25 * fps+ ? 'Taking off'+ : frame < 44 * fps+ ? 'In flight'+ : frame < 44.8 * fps+ ? 'On approach'+ : frame < 47.4 * fps+ ? 'Landed · slowing'+ : frame < 49.4 * fps+ ? 'Taxiing in'+ : 'Ready for review'+ }+ priority={false}+ labelPosition={frame < 44 * fps ? 'above' : 'below'}+ altitude={interpolate(+ frame,+ [24 * fps, 25 * fps, 44 * fps, 44.8 * fps, 45.1 * fps],+ [0, 1, 1, 0.2, 0],+ {extrapolateLeft: 'clamp', extrapolateRight: 'clamp'},+ )}+ premountFor={fps}+ width={192}+ height={332}+ heading={interpolate(+ frame,+ [+ 0 * fps,+ 2.5 * fps,+ 3.1 * fps,+ 14 * fps,+ 14.7 * fps,+ 25 * fps,+ 44 * fps,+ 47.4 * fps,+ 47.9 * fps,+ 49 * fps,+ 49.2 * fps,+ ],+ [90, 90, 135, 135, 90, 90, 270, 270, 225, 225, 270],+ {extrapolateLeft: 'clamp', extrapolateRight: 'clamp'},+ )}+ style={{+ position: 'absolute',+ left: -96,+ top: -164,+ translate: interpolate(+ frame,+ [+ 0 * fps,+ 2.5 * fps,+ 3.1 * fps,+ 11.5 * fps,+ 12 * fps,+ 14 * fps,+ 14.3 * fps,+ 14.5 * fps,+ 14.7 * fps,+ 15.3 * fps,+ 22.5 * fps,+ 24 * fps,+ 24.5 * fps,+ 25 * fps,+ 44 * fps,+ 44.8 * fps,+ 47.4 * fps,+ 47.5 * fps,+ 47.7 * fps,+ 47.9 * fps,+ 49 * fps,+ 49.2 * fps,+ 49.4 * fps,+ ],+ [+ '540px 210px',+ '590px 210px',+ '611px 219px',+ '611px 219px',+ '650px 258px',+ '754px 362px',+ '771px 374px',+ '786px 379px',+ '798px 380px',+ '880px 380px',+ '880px 380px',+ '1210px 380px',+ '1330px 380px',+ '1450px 380px',+ '1480px 380px',+ '1210px 380px',+ '458px 380px',+ '446px 381px',+ '431px 386px',+ '414px 398px',+ '271px 541px',+ '250px 550px',+ '250px 550px',+ ],+ {+ easing: Easing.linear,+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ },+ ),+ }}+ />+ <AirportAircraft+ name="Cloud Code — moves into the reordered queue"+ airline="Cloud Code"+ airframe="widebody"+ status={+ frame < 13.5 * fps+ ? 'Tests passed · queued'+ : frame < 18.5 * fps+ ? 'Queue reshuffled'+ : frame < 25.5 * fps+ ? 'Ready for takeoff'+ : frame < 28.3 * fps+ ? 'Taking off'+ : frame < 48 * fps+ ? 'In flight'+ : frame < 48.8 * fps+ ? 'On approach'+ : frame < 50.5 * fps+ ? 'Landed · slowing'+ : frame < 52.5 * fps+ ? 'Taxiing in'+ : 'Ready for review'+ }+ priority={false}+ labelPosition="above"+ altitude={interpolate(+ frame,+ [27.3 * fps, 28.3 * fps, 48 * fps, 48.8 * fps, 49.1 * fps],+ [0, 1, 1, 0.2, 0],+ {extrapolateLeft: 'clamp', extrapolateRight: 'clamp'},+ )}+ premountFor={fps}+ width={192}+ height={332}+ heading={interpolate(+ frame,+ [+ 0 * fps,+ 13.5 * fps,+ 14.1 * fps,+ 16.5 * fps,+ 17.2 * fps,+ 28.3 * fps,+ 48 * fps,+ 50.5 * fps,+ 51 * fps,+ 52.1 * fps,+ 52.3 * fps,+ ],+ [90, 90, 135, 135, 90, 90, 270, 270, 315, 315, 270],+ {extrapolateLeft: 'clamp', extrapolateRight: 'clamp'},+ )}+ style={{+ position: 'absolute',+ left: -96,+ top: -164,+ translate: interpolate(+ frame,+ [+ 0 * fps,+ 13.5 * fps,+ 14.1 * fps,+ 16.5 * fps,+ 16.8 * fps,+ 17 * fps,+ 17.2 * fps,+ 18.5 * fps,+ 25.5 * fps,+ 27.3 * fps,+ 27.8 * fps,+ 28.3 * fps,+ 48 * fps,+ 48.8 * fps,+ 50.5 * fps,+ 50.6 * fps,+ 50.8 * fps,+ 51 * fps,+ 52.1 * fps,+ 52.3 * fps,+ 52.5 * fps,+ ],+ [+ '250px 210px',+ '250px 210px',+ '271px 219px',+ '414px 362px',+ '431px 374px',+ '446px 379px',+ '458px 380px',+ '640px 380px',+ '640px 380px',+ '1210px 380px',+ '1330px 380px',+ '1450px 380px',+ '1480px 380px',+ '1210px 380px',+ '798px 380px',+ '786px 379px',+ '771px 374px',+ '754px 362px',+ '611px 219px',+ '590px 210px',+ '590px 210px',+ ],+ {+ easing: Easing.linear,+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ },+ ),+ }}+ />+ <AirportAircraft+ name="OpenAir — build completes"+ airline="OpenAir"+ airframe="narrowbody"+ status={+ frame < 24 * fps+ ? 'Waiting on build'+ : frame < 27 * fps+ ? 'Build passed · ready'+ : frame < 30.2 * fps+ ? 'Joining the runway'+ : frame < 32.3 * fps+ ? 'Taking off'+ : frame < 52 * fps+ ? 'In flight'+ : frame < 52.8 * fps+ ? 'On approach'+ : frame < 54.5 * fps+ ? 'Landed · slowing'+ : frame < 56.5 * fps+ ? 'Taxiing in'+ : 'Ready for review'+ }+ priority={false}+ labelPosition="below"+ altitude={interpolate(+ frame,+ [31.3 * fps, 32.3 * fps, 52 * fps, 52.8 * fps, 53.1 * fps],+ [0, 1, 1, 0.2, 0],+ {extrapolateLeft: 'clamp', extrapolateRight: 'clamp'},+ )}+ premountFor={fps}+ width={192}+ height={332}+ heading={interpolate(+ frame,+ [+ 0 * fps,+ 27 * fps,+ 27.5 * fps,+ 29.2 * fps,+ 29.8 * fps,+ 32.3 * fps,+ 52 * fps,+ 54.5 * fps,+ 55 * fps,+ 56.1 * fps,+ 56.3 * fps,+ ],+ [90, 90, 45, 45, 90, 90, 270, 270, 225, 225, 270],+ {extrapolateLeft: 'clamp', extrapolateRight: 'clamp'},+ )}+ style={{+ position: 'absolute',+ left: -96,+ top: -164,+ translate: interpolate(+ frame,+ [+ 0 * fps,+ 27 * fps,+ 27.5 * fps,+ 29.2 * fps,+ 29.4 * fps,+ 29.6 * fps,+ 29.8 * fps,+ 30.5 * fps,+ 31.3 * fps,+ 31.8 * fps,+ 32.3 * fps,+ 52 * fps,+ 52.8 * fps,+ 54.5 * fps,+ 54.6 * fps,+ 54.8 * fps,+ 55 * fps,+ 56.1 * fps,+ 56.3 * fps,+ 56.5 * fps,+ ],+ [+ '590px 550px',+ '590px 550px',+ '611px 541px',+ '754px 398px',+ '771px 386px',+ '786px 381px',+ '798px 380px',+ '1050px 380px',+ '1210px 380px',+ '1330px 380px',+ '1450px 380px',+ '1480px 380px',+ '1210px 380px',+ '798px 380px',+ '786px 381px',+ '771px 386px',+ '754px 398px',+ '611px 541px',+ '590px 550px',+ '590px 550px',+ ],+ {+ easing: Easing.linear,+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ },+ ),+ }}+ />+ <AirportAircraft+ name="Cloud Code — approval clears"+ airline="Cloud Code"+ airframe="widebody"+ status={+ frame < 30 * fps+ ? 'Waiting on approval'+ : frame < 32 * fps+ ? 'Approved · ready'+ : frame < 34.3 * fps+ ? 'Joining the runway'+ : frame < 35.5 * fps+ ? 'Taking off'+ : frame < 56 * fps+ ? 'In flight'+ : frame < 56.8 * fps+ ? 'On approach'+ : frame < 57.8 * fps+ ? 'Landed · slowing'+ : frame < 59.8 * fps+ ? 'Taxiing in'+ : 'Ready for review'+ }+ priority={false}+ labelPosition="above"+ altitude={interpolate(+ frame,+ [34.6 * fps, 35.5 * fps, 56 * fps, 56.8 * fps, 57.1 * fps],+ [0, 1, 1, 0.2, 0],+ {extrapolateLeft: 'clamp', extrapolateRight: 'clamp'},+ )}+ premountFor={fps}+ width={192}+ height={332}+ heading={interpolate(+ frame,+ [+ 0 * fps,+ 32 * fps,+ 32.5 * fps,+ 33.9 * fps,+ 34.3 * fps,+ 35.5 * fps,+ 56 * fps,+ 57.8 * fps,+ 58.3 * fps,+ 59.4 * fps,+ 59.6 * fps,+ ],+ [90, 90, 149, 149, 90, 90, 270, 270, 329, 329, 270],+ {extrapolateLeft: 'clamp', extrapolateRight: 'clamp'},+ )}+ style={{+ position: 'absolute',+ left: -96,+ top: -164,+ translate: interpolate(+ frame,+ [+ 0 * fps,+ 32 * fps,+ 32.5 * fps,+ 33.9 * fps,+ 34.1 * fps,+ 34.3 * fps,+ 34.6 * fps,+ 35 * fps,+ 35.5 * fps,+ 56 * fps,+ 56.8 * fps,+ 57.8 * fps,+ 57.9 * fps,+ 58.1 * fps,+ 58.3 * fps,+ 59.4 * fps,+ 59.6 * fps,+ 59.8 * fps,+ ],+ [+ '1060px 210px',+ '1060px 210px',+ '1081px 229px',+ '1160px 360px',+ '1167px 374px',+ '1178px 380px',+ '1220px 380px',+ '1330px 380px',+ '1450px 380px',+ '1480px 380px',+ '1210px 380px',+ '1178px 380px',+ '1172px 378px',+ '1165px 371px',+ '1160px 360px',+ '1081px 229px',+ '1060px 210px',+ '1060px 210px',+ ],+ {+ easing: Easing.linear,+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ },+ ),+ }}+ />+ <AirportAircraft+ name="OpenAir — dependency clears"+ airline="OpenAir"+ airframe="widebody"+ status={+ frame < 33.5 * fps+ ? 'Waiting on dependency'+ : frame < 35 * fps+ ? 'Dependency cleared'+ : frame < 37.5 * fps+ ? 'Joining the runway'+ : frame < 38.9 * fps+ ? 'Taking off'+ : frame < 60 * fps+ ? 'In flight'+ : frame < 60.8 * fps+ ? 'On approach'+ : frame < 61.8 * fps+ ? 'Landed · slowing'+ : frame < 63.8 * fps+ ? 'Taxiing in'+ : 'Ready for review'+ }+ priority={false}+ labelPosition="below"+ altitude={interpolate(+ frame,+ [38 * fps, 38.9 * fps, 60 * fps, 60.8 * fps, 61.1 * fps],+ [0, 1, 1, 0.2, 0],+ {extrapolateLeft: 'clamp', extrapolateRight: 'clamp'},+ )}+ premountFor={fps}+ width={192}+ height={332}+ heading={interpolate(+ frame,+ [+ 0 * fps,+ 35 * fps,+ 35.5 * fps,+ 37 * fps,+ 37.6 * fps,+ 38.9 * fps,+ 60 * fps,+ 61.8 * fps,+ 62.3 * fps,+ 63.4 * fps,+ 63.6 * fps,+ ],+ [90, 90, 45, 45, 90, 90, 270, 270, 225, 225, 270],+ {extrapolateLeft: 'clamp', extrapolateRight: 'clamp'},+ )}+ style={{+ position: 'absolute',+ left: -96,+ top: -164,+ translate: interpolate(+ frame,+ [+ 0 * fps,+ 35 * fps,+ 35.5 * fps,+ 37 * fps,+ 37.2 * fps,+ 37.4 * fps,+ 37.6 * fps,+ 38 * fps,+ 38.4 * fps,+ 38.9 * fps,+ 60 * fps,+ 60.8 * fps,+ 61.8 * fps,+ 61.9 * fps,+ 62.1 * fps,+ 62.3 * fps,+ 63.4 * fps,+ 63.6 * fps,+ 63.8 * fps,+ ],+ [+ '950px 550px',+ '950px 550px',+ '971px 541px',+ '1114px 398px',+ '1131px 386px',+ '1146px 381px',+ '1158px 380px',+ '1220px 380px',+ '1330px 380px',+ '1450px 380px',+ '1480px 380px',+ '1210px 380px',+ '1158px 380px',+ '1146px 381px',+ '1131px 386px',+ '1114px 398px',+ '971px 541px',+ '950px 550px',+ '950px 550px',+ ],+ {+ easing: Easing.linear,+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ },+ ),+ }}+ />+ </>+ );+};++const PixelAirportContent = ({style}: InteractiveTransformProps) => {+ const {fps} = useVideoConfig();++ return (+ <AbsoluteFill style={style}>+ <Interactive.Div+ name="Airport backdrop"+ style={{position: 'absolute', inset: 0, backgroundColor: '#527347'}}+ />+ <Interactive.Div+ name="Airfield below entrance sign"+ premountFor={fps}+ style={{+ position: 'absolute',+ left: 128,+ top: 144,+ width: 1280,+ height: 720,+ scale: 0.8,+ transformOrigin: '0 0',+ }}+ >+ <AirportTraffic />+ </Interactive.Div>+ <CanvasImage+ name="Agent Airport International — entrance sign"+ src={+ 'https://remotion.media/jonnys-videos/plane-sight/branding/agent-airport-international.png'+ }+ premountFor={fps}+ style={{+ position: 'absolute',+ left: 360,+ top: -19,+ width: 560,+ height: 227,+ objectFit: 'contain',+ imageRendering: 'pixelated',+ }}+ />+ </AbsoluteFill>+ );+};++export const PixelAirport = Interactive.withSchema({+ Component: PixelAirportContent,+ componentName: 'PixelAirport',+ schema: {},+ wrapInSequence: true,+});diff --git a/packages/jonnys-videos/src/plane-sight/PlaneSightLogo.tsx b/packages/jonnys-videos/src/plane-sight/PlaneSightLogo.tsxnew file mode 100644index 0000000000..e9cf36e9b6--- /dev/null+++ b/packages/jonnys-videos/src/plane-sight/PlaneSightLogo.tsx@@ -0,0 +1,48 @@+import {+ AbsoluteFill,+ type InteractiveTransformProps,+ CanvasImage,+ Interactive,+ interpolate,+ useCurrentFrame,+ useVideoConfig,+} from 'remotion';++const PlaneSightLogoContent = ({style}: InteractiveTransformProps) => {+ const frame = useCurrentFrame();+ const {fps} = useVideoConfig();++ return (+ <AbsoluteFill style={style}>+ <CanvasImage+ name="Plane Sight logo"+ src={+ 'https://remotion.media/jonnys-videos/plane-sight/branding/plane-sight-logo.png'+ }+ premountFor={fps}+ style={{+ position: 'absolute',+ left: 220,+ top: 220,+ width: 840,+ height: 280,+ objectFit: 'contain',+ imageRendering: 'pixelated',+ transformOrigin: '50% 50%',+ scale: interpolate(frame, [0, 4 * fps], [0.94, 1.06], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ output: 'perceptual-scale',+ }),+ }}+ />+ </AbsoluteFill>+ );+};++export const PlaneSightLogo = Interactive.withSchema({+ Component: PlaneSightLogoContent,+ componentName: 'PlaneSightLogo',+ schema: {},+ wrapInSequence: true,+});diff --git a/packages/jonnys-videos/src/plane-sight/PresenterNarration.tsx b/packages/jonnys-videos/src/plane-sight/PresenterNarration.tsxnew file mode 100644index 0000000000..e8f0d02a82--- /dev/null+++ b/packages/jonnys-videos/src/plane-sight/PresenterNarration.tsx@@ -0,0 +1,1683 @@+import {Audio, Video} from '@remotion/media';+import {+ AbsoluteFill,+ CanvasImage,+ type InteractiveTransformProps,+ Interactive,+ useCurrentFrame,+ useVideoConfig,+} from 'remotion';+import {AirportSignZoom} from './AirportSignZoom';+import {BasicCaptions} from './basic-captions';+import {EntireCommitsBroll} from './EntireCommitsBroll';+import {EntireTrailsOverlay} from './EntireTrailsOverlay';+import {AirportOverview, FiveAgentsIntro} from './FiveAgentDemo';+import {FrontOfLineZoom} from './FrontOfLineZoom';+import {GeminiTowerScene} from './GeminiTowerScene';+import {HerdrGroundControl} from './HerdrGroundControl';+import {PlaneSightLogo} from './PlaneSightLogo';+import {TaxiwayDependencies} from './TaxiwayDependencies';+import {TowerZoom} from './TowerZoom';++const PresenterNarrationContent = ({style}: InteractiveTransformProps) => {+ const {fps} = useVideoConfig();+ const frame = useCurrentFrame();+ const showingTower =+ (frame >= (994 / 30) * fps && frame < (1056 / 30) * fps) ||+ (frame >= (1588 / 30) * fps && frame < (1745 / 30) * fps) ||+ (frame >= (2529 / 30) * fps && frame < (2591 / 30) * fps);+ const showingHerdr = frame >= (1745 / 30) * fps && frame < (1997 / 30) * fps;++ return (+ <AbsoluteFill style={style}>+ <Audio+ name="Normalized narration"+ src={+ 'https://remotion.media/jonnys-videos/plane-sight/audio/presenter-normalized.wav'+ }+ premountFor={fps}+ />+ <AirportOverview+ name="Airport — control tower and priority queue"+ from={35.2 * fps}+ durationInFrames={40 * fps}+ premountFor={fps}+ />+ <CanvasImage+ name="Airport after the Herdr handoff"+ src={+ 'https://remotion.media/jonnys-videos/plane-sight/screenshots/herdr-terminal-airport.png'+ }+ from={Math.round((1997 / 30) * fps)}+ durationInFrames={(758 / 30) * fps}+ premountFor={fps}+ style={{+ position: 'absolute',+ inset: 0,+ width: '100%',+ height: '100%',+ objectFit: 'cover',+ }}+ />+ <GeminiTowerScene+ name="Gemini — control tower hover"+ from={(1588 / 30) * fps}+ durationInFrames={(157 / 30) * fps}+ premountFor={fps}+ />+ <HerdrGroundControl+ name="Herdr — send and return to the airport automatically"+ from={(1745 / 30) * fps}+ durationInFrames={(252 / 30) * fps}+ premountFor={fps}+ />+ <TaxiwayDependencies+ name="Identifies dependencies — zoom into taxiway"+ from={(1412 / 30) * fps}+ durationInFrames={(176 / 30) * fps}+ premountFor={fps}+ />+ <FrontOfLineZoom+ name="In front of the line — priority-one plane"+ from={Math.round((1321 / 30) * fps)}+ durationInFrames={Math.round((91 / 30) * fps)}+ premountFor={fps}+ />+ <AirportSignZoom+ name="Agent Airport International — zoom into sign"+ from={(2018 / 30) * fps}+ durationInFrames={Math.round((69 / 30) * fps)}+ premountFor={fps}+ />+ <EntireCommitsBroll+ name="Operated by Entire — PlaneSight commit history"+ from={Math.round((2087 / 30) * fps)}+ durationInFrames={Math.round((169 / 30) * fps)}+ premountFor={fps}+ />+ <TowerZoom+ name="Air traffic controller — tower introduction"+ from={Math.round((994 / 30) * fps)}+ durationInFrames={Math.round((62 / 30) * fps)}+ afterHerdr={false}+ premountFor={fps}+ />+ <TowerZoom+ name="Air traffic controller — tower callback"+ from={Math.round((2529 / 30) * fps)}+ durationInFrames={Math.round((62 / 30) * fps)}+ afterHerdr+ premountFor={fps}+ />+ <FiveAgentsIntro+ name="Closing — five agents in Herdr"+ from={75.2 * fps}+ durationInFrames={8.1 * fps}+ premountFor={fps}+ />+ <Interactive.Div+ name="Presenter circle"+ premountFor={fps}+ style={{+ position: 'absolute',+ top: 32,+ right: showingTower ? undefined : 32,+ left: showingTower ? 32 : undefined,+ width: 240,+ height: 240,+ borderRadius: '50%',+ overflow: 'hidden',+ }}+ >+ <Video+ name="Webcam footage"+ src={+ 'https://remotion.media/jonnys-videos/plane-sight/webcam1791640657618.mp4'+ }+ muted+ premountFor={fps}+ objectFit="cover"+ style={{+ width: '100%',+ height: '100%',+ scale: 1.6,+ transformOrigin: '50% 40%',+ }}+ />+ </Interactive.Div>+ <PlaneSightLogo+ name="Plane Sight introduction"+ from={(362 / 30) * fps}+ durationInFrames={(82 / 30) * fps}+ premountFor={fps}+ />+ <PlaneSightLogo+ name="Plane Sight air traffic controller"+ from={(946 / 30) * fps}+ durationInFrames={(48 / 30) * fps}+ premountFor={fps}+ />+ <PlaneSightLogo+ name="Plane Sight closing — logo only"+ from={(2728 / 30) * fps}+ durationInFrames={(27 / 30) * fps}+ premountFor={fps}+ style={{backgroundColor: '#ffffff', zIndex: 10}}+ />+ <EntireTrailsOverlay+ name="Entire Trails wink — 1.5 seconds on trails"+ from={Math.round((679 / 30) * fps)}+ durationInFrames={1.5 * fps}+ premountFor={fps}+ />+ <BasicCaptions+ name="Speech captions"+ premountFor={fps}+ width={showingHerdr ? 1120 : 1280}+ combineTokensWithinMilliseconds={5000}+ style={{+ position: 'absolute',+ top: showingHerdr ? 72 : undefined,+ bottom: showingHerdr ? undefined : 48,+ scale: '0.6666667',+ transformOrigin: showingHerdr ? '50% 0%' : '50% 100%',+ }}+ captions={[+ {+ text: 'Imagine',+ startMs: 3560,+ endMs: 3900,+ timestampMs: 3730,+ confidence: null,+ },+ {+ text: ' you',+ startMs: 3900,+ endMs: 3960,+ timestampMs: 3930,+ confidence: null,+ },+ {+ text: ' are',+ startMs: 3960,+ endMs: 4200,+ timestampMs: 4080,+ confidence: null,+ },+ {+ text: ' coming',+ startMs: 4200,+ endMs: 4460,+ timestampMs: 4330,+ confidence: null,+ },+ {+ text: ' back',+ startMs: 4460,+ endMs: 4740,+ timestampMs: 4600,+ confidence: null,+ },+ {+ text: ' from',+ startMs: 4740,+ endMs: 5000,+ timestampMs: 4870,+ confidence: null,+ },+ {+ text: ' lunch',+ startMs: 5000,+ endMs: 5280,+ timestampMs: 5140,+ confidence: null,+ },+ {+ text: ' and',+ startMs: 5280,+ endMs: 5420,+ timestampMs: 5350,+ confidence: null,+ },+ {+ text: ' you',+ startMs: 5420,+ endMs: 5600,+ timestampMs: 5510,+ confidence: null,+ },+ {+ text: ' see',+ startMs: 5600,+ endMs: 5880,+ timestampMs: 5740,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' 8',+ startMs: 5880,+ endMs: 6340,+ timestampMs: 6110,+ confidence: null,+ },+ {+ text: ' agents',+ startMs: 6340,+ endMs: 7020,+ timestampMs: 6680,+ confidence: null,+ },+ {+ text: ' requiring',+ startMs: 7020,+ endMs: 7540,+ timestampMs: 7280,+ confidence: null,+ },+ {+ text: ' your',+ startMs: 7540,+ endMs: 7920,+ timestampMs: 7730,+ confidence: null,+ },+ {+ text: ' attention.',+ startMs: 7920,+ endMs: 8920,+ timestampMs: 8420,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' Which',+ startMs: 9080,+ endMs: 9280,+ timestampMs: 9180,+ confidence: null,+ },+ {+ text: ' one',+ startMs: 9280,+ endMs: 9480,+ timestampMs: 9380,+ confidence: null,+ },+ {+ text: ' should',+ startMs: 9480,+ endMs: 9600,+ timestampMs: 9540,+ confidence: null,+ },+ {+ text: ' you',+ startMs: 9600,+ endMs: 9740,+ timestampMs: 9670,+ confidence: null,+ },+ {+ text: ' look',+ startMs: 9740,+ endMs: 10000,+ timestampMs: 9870,+ confidence: null,+ },+ {+ text: ' into',+ startMs: 10000,+ endMs: 10340,+ timestampMs: 10170,+ confidence: null,+ },+ {+ text: ' first?',+ startMs: 10340,+ endMs: 11180,+ timestampMs: 10760,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' This',+ startMs: 11380,+ endMs: 11680,+ timestampMs: 11530,+ confidence: null,+ },+ {+ text: ' is',+ startMs: 11680,+ endMs: 11840,+ timestampMs: 11760,+ confidence: null,+ },+ {+ text: ' what',+ startMs: 11840,+ endMs: 12080,+ timestampMs: 11960,+ confidence: null,+ },+ {+ text: ' Plane',+ startMs: 12080,+ endMs: 12380,+ timestampMs: 12230,+ confidence: null,+ },+ {+ text: ' Sight',+ startMs: 12380,+ endMs: 12580,+ timestampMs: 12480,+ confidence: null,+ },+ {+ text: ' is',+ startMs: 12580,+ endMs: 12800,+ timestampMs: 12690,+ confidence: null,+ },+ {+ text: ' trying',+ startMs: 12800,+ endMs: 12940,+ timestampMs: 12870,+ confidence: null,+ },+ {+ text: ' to',+ startMs: 12940,+ endMs: 13080,+ timestampMs: 13010,+ confidence: null,+ },+ {+ text: ' help',+ startMs: 13080,+ endMs: 13220,+ timestampMs: 13150,+ confidence: null,+ },+ {+ text: ' you',+ startMs: 13220,+ endMs: 13560,+ timestampMs: 13390,+ confidence: null,+ },+ {+ text: ' decide.',+ startMs: 13560,+ endMs: 14600,+ timestampMs: 14080,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' Your',+ startMs: 14800,+ endMs: 15120,+ timestampMs: 14960,+ confidence: null,+ },+ {+ text: ' product',+ startMs: 15120,+ endMs: 15480,+ timestampMs: 15300,+ confidence: null,+ },+ {+ text: ' development',+ startMs: 15480,+ endMs: 16040,+ timestampMs: 15760,+ confidence: null,+ },+ {+ text: ' is',+ startMs: 16040,+ endMs: 16220,+ timestampMs: 16130,+ confidence: null,+ },+ {+ text: ' like',+ startMs: 16220,+ endMs: 16380,+ timestampMs: 16300,+ confidence: null,+ },+ {+ text: ' an',+ startMs: 16380,+ endMs: 16680,+ timestampMs: 16530,+ confidence: null,+ },+ {+ text: ' airport.',+ startMs: 16680,+ endMs: 17680,+ timestampMs: 17180,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' Agents',+ startMs: 17680,+ endMs: 17940,+ timestampMs: 17810,+ confidence: null,+ },+ {+ text: ' are',+ startMs: 17940,+ endMs: 18200,+ timestampMs: 18070,+ confidence: null,+ },+ {+ text: ' taking',+ startMs: 18200,+ endMs: 18540,+ timestampMs: 18370,+ confidence: null,+ },+ {+ text: ' off',+ startMs: 18540,+ endMs: 18840,+ timestampMs: 18690,+ confidence: null,+ },+ {+ text: ' from',+ startMs: 18840,+ endMs: 19000,+ timestampMs: 18920,+ confidence: null,+ },+ {+ text: ' the',+ startMs: 19000,+ endMs: 19440,+ timestampMs: 19220,+ confidence: null,+ },+ {+ text: ' terminal,',+ startMs: 19440,+ endMs: 20080,+ timestampMs: 19760,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' spin',+ startMs: 20320,+ endMs: 20500,+ timestampMs: 20410,+ confidence: null,+ },+ {+ text: ' their',+ startMs: 20500,+ endMs: 20940,+ timestampMs: 20720,+ confidence: null,+ },+ {+ text: ' engines',+ startMs: 20940,+ endMs: 21600,+ timestampMs: 21270,+ confidence: null,+ },+ {+ text: ' and',+ startMs: 21600,+ endMs: 22100,+ timestampMs: 21850,+ confidence: null,+ },+ {+ text: ' generate',+ startMs: 22100,+ endMs: 22620,+ timestampMs: 22360,+ confidence: null,+ },+ {+ text: ' trails',+ startMs: 22620,+ endMs: 23260,+ timestampMs: 22940,+ confidence: null,+ },+ {+ text: ' before',+ startMs: 23300,+ endMs: 23440,+ timestampMs: 23370,+ confidence: null,+ },+ {+ text: ' they',+ startMs: 23500,+ endMs: 23720,+ timestampMs: 23610,+ confidence: null,+ },+ {+ text: ' land',+ startMs: 23720,+ endMs: 24100,+ timestampMs: 23910,+ confidence: null,+ },+ {+ text: ' again.',+ startMs: 24080,+ endMs: 24920,+ timestampMs: 24500,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' To',+ startMs: 25140,+ endMs: 25460,+ timestampMs: 25300,+ confidence: null,+ },+ {+ text: ' prevent',+ startMs: 25460,+ endMs: 25840,+ timestampMs: 25650,+ confidence: null,+ },+ {+ text: ' any',+ startMs: 25840,+ endMs: 26340,+ timestampMs: 26090,+ confidence: null,+ },+ {+ text: ' unnecessary',+ startMs: 26340,+ endMs: 26880,+ timestampMs: 26610,+ confidence: null,+ },+ {+ text: ' delays,',+ startMs: 26880,+ endMs: 27440,+ timestampMs: 27160,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' a',+ startMs: 27600,+ endMs: 27900,+ timestampMs: 27750,+ confidence: null,+ },+ {+ text: ' short',+ startMs: 27900,+ endMs: 28340,+ timestampMs: 28120,+ confidence: null,+ },+ {+ text: ' turnaround',+ startMs: 28340,+ endMs: 28840,+ timestampMs: 28590,+ confidence: null,+ },+ {+ text: ' time',+ startMs: 28840,+ endMs: 29520,+ timestampMs: 29180,+ confidence: null,+ },+ {+ text: ' is',+ startMs: 29520,+ endMs: 29920,+ timestampMs: 29720,+ confidence: null,+ },+ {+ text: ' crucial.',+ startMs: 29920,+ endMs: 31280,+ timestampMs: 30600,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' Plane',+ startMs: 31520,+ endMs: 31860,+ timestampMs: 31690,+ confidence: null,+ },+ {+ text: ' Sight',+ startMs: 31860,+ endMs: 32420,+ timestampMs: 32140,+ confidence: null,+ },+ {+ text: ' acts',+ startMs: 32420,+ endMs: 32680,+ timestampMs: 32550,+ confidence: null,+ },+ {+ text: ' as',+ startMs: 32680,+ endMs: 32880,+ timestampMs: 32780,+ confidence: null,+ },+ {+ text: ' your',+ startMs: 32880,+ endMs: 33140,+ timestampMs: 33010,+ confidence: null,+ },+ {+ text: ' air',+ startMs: 33140,+ endMs: 33560,+ timestampMs: 33350,+ confidence: null,+ },+ {+ text: ' traffic',+ startMs: 33560,+ endMs: 34120,+ timestampMs: 33840,+ confidence: null,+ },+ {+ text: ' controller.',+ startMs: 34120,+ endMs: 35020,+ timestampMs: 34570,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' It',+ startMs: 35200,+ endMs: 35520,+ timestampMs: 35360,+ confidence: null,+ },+ {+ text: ' hides',+ startMs: 35520,+ endMs: 35720,+ timestampMs: 35620,+ confidence: null,+ },+ {+ text: ' the',+ startMs: 35720,+ endMs: 36000,+ timestampMs: 35860,+ confidence: null,+ },+ {+ text: ' agents',+ startMs: 36000,+ endMs: 36340,+ timestampMs: 36170,+ confidence: null,+ },+ {+ text: ' which',+ startMs: 36340,+ endMs: 36560,+ timestampMs: 36450,+ confidence: null,+ },+ {+ text: ' are',+ startMs: 36560,+ endMs: 36740,+ timestampMs: 36650,+ confidence: null,+ },+ {+ text: ' in',+ startMs: 36740,+ endMs: 37060,+ timestampMs: 36900,+ confidence: null,+ },+ {+ text: ' flight',+ startMs: 37060,+ endMs: 37540,+ timestampMs: 37300,+ confidence: null,+ },+ {+ text: ' because',+ startMs: 37960,+ endMs: 38220,+ timestampMs: 38090,+ confidence: null,+ },+ {+ text: ' they',+ startMs: 38220,+ endMs: 38360,+ timestampMs: 38290,+ confidence: null,+ },+ {+ text: ' are',+ startMs: 38360,+ endMs: 38560,+ timestampMs: 38460,+ confidence: null,+ },+ {+ text: ' not',+ startMs: 38560,+ endMs: 38940,+ timestampMs: 38750,+ confidence: null,+ },+ {+ text: ' actionable.',+ startMs: 38940,+ endMs: 40200,+ timestampMs: 39570,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' It',+ startMs: 40340,+ endMs: 40980,+ timestampMs: 40660,+ confidence: null,+ },+ {+ text: ' recognizes',+ startMs: 40980,+ endMs: 41380,+ timestampMs: 41180,+ confidence: null,+ },+ {+ text: ' the',+ startMs: 41380,+ endMs: 41640,+ timestampMs: 41510,+ confidence: null,+ },+ {+ text: ' most',+ startMs: 41640,+ endMs: 42040,+ timestampMs: 41840,+ confidence: null,+ },+ {+ text: ' urgent',+ startMs: 42040,+ endMs: 42540,+ timestampMs: 42290,+ confidence: null,+ },+ {+ text: ' tasks',+ startMs: 42540,+ endMs: 43120,+ timestampMs: 42830,+ confidence: null,+ },+ {+ text: ' and',+ startMs: 43320,+ endMs: 43560,+ timestampMs: 43440,+ confidence: null,+ },+ {+ text: ' puts',+ startMs: 43560,+ endMs: 43780,+ timestampMs: 43670,+ confidence: null,+ },+ {+ text: ' them',+ startMs: 43780,+ endMs: 44040,+ timestampMs: 43910,+ confidence: null,+ },+ {+ text: ' in',+ startMs: 44040,+ endMs: 44220,+ timestampMs: 44130,+ confidence: null,+ },+ {+ text: ' front',+ startMs: 44220,+ endMs: 44420,+ timestampMs: 44320,+ confidence: null,+ },+ {+ text: ' of',+ startMs: 44420,+ endMs: 44540,+ timestampMs: 44480,+ confidence: null,+ },+ {+ text: ' the',+ startMs: 44540,+ endMs: 44760,+ timestampMs: 44650,+ confidence: null,+ },+ {+ text: ' line.',+ startMs: 44760,+ endMs: 45000,+ timestampMs: 44880,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' And',+ startMs: 45840,+ endMs: 45940,+ timestampMs: 45890,+ confidence: null,+ },+ {+ text: ' it',+ startMs: 45940,+ endMs: 46180,+ timestampMs: 46060,+ confidence: null,+ },+ {+ text: ' also',+ startMs: 46180,+ endMs: 47060,+ timestampMs: 46620,+ confidence: null,+ },+ {+ text: ' identifies',+ startMs: 47060,+ endMs: 47720,+ timestampMs: 47390,+ confidence: null,+ },+ {+ text: ' dependencies',+ startMs: 47720,+ endMs: 48560,+ timestampMs: 48140,+ confidence: null,+ },+ {+ text: ' between',+ startMs: 48560,+ endMs: 49000,+ timestampMs: 48780,+ confidence: null,+ },+ {+ text: ' agents',+ startMs: 49000,+ endMs: 49880,+ timestampMs: 49440,+ confidence: null,+ },+ {+ text: ' so',+ startMs: 49880,+ endMs: 50060,+ timestampMs: 49970,+ confidence: null,+ },+ {+ text: ' they',+ startMs: 50060,+ endMs: 50260,+ timestampMs: 50160,+ confidence: null,+ },+ {+ text: " don't",+ startMs: 50260,+ endMs: 50660,+ timestampMs: 50460,+ confidence: null,+ },+ {+ text: ' collide',+ startMs: 50660,+ endMs: 50920,+ timestampMs: 50790,+ confidence: null,+ },+ {+ text: ' in',+ startMs: 50920,+ endMs: 51180,+ timestampMs: 51050,+ confidence: null,+ },+ {+ text: ' flight.',+ startMs: 51180,+ endMs: 52000,+ timestampMs: 51590,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' In',+ startMs: 52920,+ endMs: 53200,+ timestampMs: 53060,+ confidence: null,+ },+ {+ text: ' our',+ startMs: 53200,+ endMs: 53560,+ timestampMs: 53380,+ confidence: null,+ },+ {+ text: ' control',+ startMs: 53560,+ endMs: 53980,+ timestampMs: 53770,+ confidence: null,+ },+ {+ text: ' tower',+ startMs: 53980,+ endMs: 54420,+ timestampMs: 54200,+ confidence: null,+ },+ {+ text: ' sits',+ startMs: 54420,+ endMs: 54760,+ timestampMs: 54590,+ confidence: null,+ },+ {+ text: ' our',+ startMs: 54760,+ endMs: 55440,+ timestampMs: 55100,+ confidence: null,+ },+ {+ text: ' operator,',+ startMs: 55440,+ endMs: 55940,+ timestampMs: 55690,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' Gemini',+ startMs: 56140,+ endMs: 56620,+ timestampMs: 56380,+ confidence: null,+ },+ {+ text: ' 3',+ startMs: 56620,+ endMs: 56780,+ timestampMs: 56700,+ confidence: null,+ },+ {+ text: '.8',+ startMs: 56780,+ endMs: 57400,+ timestampMs: 57090,+ confidence: null,+ },+ {+ text: ' Flash,',+ startMs: 57400,+ endMs: 57880,+ timestampMs: 57640,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' which',+ startMs: 58160,+ endMs: 58460,+ timestampMs: 58310,+ confidence: null,+ },+ {+ text: ' sees',+ startMs: 58460,+ endMs: 58800,+ timestampMs: 58630,+ confidence: null,+ },+ {+ text: ' all',+ startMs: 58800,+ endMs: 58940,+ timestampMs: 58870,+ confidence: null,+ },+ {+ text: ' of',+ startMs: 58940,+ endMs: 59140,+ timestampMs: 59040,+ confidence: null,+ },+ {+ text: ' your',+ startMs: 59140,+ endMs: 59440,+ timestampMs: 59290,+ confidence: null,+ },+ {+ text: ' agent',+ startMs: 59440,+ endMs: 59760,+ timestampMs: 59600,+ confidence: null,+ },+ {+ text: ' sessions',+ startMs: 59760,+ endMs: 60060,+ timestampMs: 59910,+ confidence: null,+ },+ {+ text: ' from',+ startMs: 60060,+ endMs: 60400,+ timestampMs: 60230,+ confidence: null,+ },+ {+ text: ' above',+ startMs: 60400,+ endMs: 61160,+ timestampMs: 60780,+ confidence: null,+ },+ {+ text: ' and',+ startMs: 61160,+ endMs: 61440,+ timestampMs: 61300,+ confidence: null,+ },+ {+ text: ' lines',+ startMs: 61440,+ endMs: 61620,+ timestampMs: 61530,+ confidence: null,+ },+ {+ text: ' them',+ startMs: 61620,+ endMs: 61900,+ timestampMs: 61760,+ confidence: null,+ },+ {+ text: ' up',+ startMs: 61900,+ endMs: 62420,+ timestampMs: 62160,+ confidence: null,+ },+ {+ text: ' in',+ startMs: 62420,+ endMs: 62520,+ timestampMs: 62470,+ confidence: null,+ },+ {+ text: ' the',+ startMs: 62520,+ endMs: 62780,+ timestampMs: 62650,+ confidence: null,+ },+ {+ text: ' right',+ startMs: 62780,+ endMs: 63100,+ timestampMs: 62940,+ confidence: null,+ },+ {+ text: ' order',+ startMs: 63100,+ endMs: 63360,+ timestampMs: 63230,+ confidence: null,+ },+ {+ text: ' of',+ startMs: 63360,+ endMs: 63880,+ timestampMs: 63620,+ confidence: null,+ },+ {+ text: ' priority.',+ startMs: 63880,+ endMs: 65060,+ timestampMs: 64470,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' The',+ startMs: 65460,+ endMs: 65660,+ timestampMs: 65560,+ confidence: null,+ },+ {+ text: ' check',+ startMs: 65660,+ endMs: 65800,+ timestampMs: 65730,+ confidence: null,+ },+ {+ text: '-in',+ startMs: 65800,+ endMs: 66280,+ timestampMs: 66040,+ confidence: null,+ },+ {+ text: ' process',+ startMs: 66280,+ endMs: 66980,+ timestampMs: 66630,+ confidence: null,+ },+ {+ text: ' in',+ startMs: 66980,+ endMs: 67280,+ timestampMs: 67130,+ confidence: null,+ },+ {+ text: ' Agent',+ startMs: 67280,+ endMs: 67760,+ timestampMs: 67520,+ confidence: null,+ },+ {+ text: ' Airport',+ startMs: 67760,+ endMs: 67840,+ timestampMs: 67800,+ confidence: null,+ },+ {+ text: ' International',+ startMs: 68320,+ endMs: 69140,+ timestampMs: 68730,+ confidence: null,+ },+ {+ text: ' is',+ startMs: 69140,+ endMs: 69560,+ timestampMs: 69350,+ confidence: null,+ },+ {+ text: ' operated',+ startMs: 69560,+ endMs: 69860,+ timestampMs: 69710,+ confidence: null,+ },+ {+ text: ' by',+ startMs: 69860,+ endMs: 70040,+ timestampMs: 69950,+ confidence: null,+ },+ {+ text: ' Entire',+ startMs: 70040,+ endMs: 71040,+ timestampMs: 70540,+ confidence: null,+ },+ {+ text: ' so',+ startMs: 71040,+ endMs: 71160,+ timestampMs: 71100,+ confidence: null,+ },+ {+ text: ' it',+ startMs: 71160,+ endMs: 71440,+ timestampMs: 71300,+ confidence: null,+ },+ {+ text: " doesn't",+ startMs: 71440,+ endMs: 71820,+ timestampMs: 71630,+ confidence: null,+ },+ {+ text: ' crack',+ startMs: 71820,+ endMs: 72500,+ timestampMs: 72160,+ confidence: null,+ },+ {+ text: ' under',+ startMs: 72500,+ endMs: 72720,+ timestampMs: 72610,+ confidence: null,+ },+ {+ text: ' high',+ startMs: 72720,+ endMs: 73100,+ timestampMs: 72910,+ confidence: null,+ },+ {+ text: ' throughput.',+ startMs: 73100,+ endMs: 74520,+ timestampMs: 73810,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' So',+ startMs: 74780,+ endMs: 75680,+ timestampMs: 75230,+ confidence: null,+ },+ {+ text: " you're",+ startMs: 75680,+ endMs: 75920,+ timestampMs: 75800,+ confidence: null,+ },+ {+ text: ' coming',+ startMs: 75960,+ endMs: 75960,+ timestampMs: 75960,+ confidence: null,+ },+ {+ text: ' back',+ startMs: 76200,+ endMs: 76400,+ timestampMs: 76300,+ confidence: null,+ },+ {+ text: ' from',+ startMs: 76400,+ endMs: 76620,+ timestampMs: 76510,+ confidence: null,+ },+ {+ text: ' lunch.',+ startMs: 76620,+ endMs: 76940,+ timestampMs: 76780,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' 8',+ startMs: 77640,+ endMs: 78040,+ timestampMs: 77840,+ confidence: null,+ },+ {+ text: ' agents',+ startMs: 78040,+ endMs: 78660,+ timestampMs: 78350,+ confidence: null,+ },+ {+ text: ' are',+ startMs: 78660,+ endMs: 78920,+ timestampMs: 78790,+ confidence: null,+ },+ {+ text: ' ready',+ startMs: 78920,+ endMs: 79280,+ timestampMs: 79100,+ confidence: null,+ },+ {+ text: ' for',+ startMs: 79280,+ endMs: 79480,+ timestampMs: 79380,+ confidence: null,+ },+ {+ text: ' their',+ startMs: 79480,+ endMs: 79780,+ timestampMs: 79630,+ confidence: null,+ },+ {+ text: ' next',+ startMs: 79780,+ endMs: 80180,+ timestampMs: 79980,+ confidence: null,+ },+ {+ text: ' flight.',+ startMs: 80180,+ endMs: 81080,+ timestampMs: 80630,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' Which',+ startMs: 81200,+ endMs: 81400,+ timestampMs: 81300,+ confidence: null,+ },+ {+ text: ' one',+ startMs: 81400,+ endMs: 81700,+ timestampMs: 81550,+ confidence: null,+ },+ {+ text: ' should',+ startMs: 81700,+ endMs: 81840,+ timestampMs: 81770,+ confidence: null,+ },+ {+ text: ' you',+ startMs: 81840,+ endMs: 82040,+ timestampMs: 81940,+ confidence: null,+ },+ {+ text: ' send',+ startMs: 82040,+ endMs: 82240,+ timestampMs: 82140,+ confidence: null,+ },+ {+ text: ' off',+ startMs: 82240,+ endMs: 82560,+ timestampMs: 82400,+ confidence: null,+ },+ {+ text: ' next?',+ startMs: 82600,+ endMs: 83300,+ timestampMs: 82950,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' You',+ startMs: 83580,+ endMs: 83740,+ timestampMs: 83660,+ confidence: null,+ },+ {+ text: ' need',+ startMs: 83740,+ endMs: 83980,+ timestampMs: 83860,+ confidence: null,+ },+ {+ text: ' an',+ startMs: 83980,+ endMs: 84300,+ timestampMs: 84140,+ confidence: null,+ },+ {+ text: ' air',+ startMs: 84300,+ endMs: 84760,+ timestampMs: 84530,+ confidence: null,+ },+ {+ text: ' traffic',+ startMs: 84760,+ endMs: 85300,+ timestampMs: 85030,+ confidence: null,+ },+ {+ text: ' controller',+ startMs: 85300,+ endMs: 85920,+ timestampMs: 85610,+ confidence: null,+ },+ {+ text: ' to',+ startMs: 85920,+ endMs: 86140,+ timestampMs: 86030,+ confidence: null,+ },+ {+ text: ' help',+ startMs: 86140,+ endMs: 86300,+ timestampMs: 86220,+ confidence: null,+ },+ {+ text: ' you',+ startMs: 86300,+ endMs: 86480,+ timestampMs: 86390,+ confidence: null,+ },+ {+ text: ' make',+ startMs: 86480,+ endMs: 86700,+ timestampMs: 86590,+ confidence: null,+ },+ {+ text: ' a',+ startMs: 86700,+ endMs: 87000,+ timestampMs: 86850,+ confidence: null,+ },+ {+ text: ' decision.',+ startMs: 87060,+ endMs: 87880,+ timestampMs: 87470,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' And',+ startMs: 87980,+ endMs: 88200,+ timestampMs: 88090,+ confidence: null,+ },+ {+ text: ' thanks',+ startMs: 88200,+ endMs: 88420,+ timestampMs: 88310,+ confidence: null,+ },+ {+ text: ' to',+ startMs: 88420,+ endMs: 88720,+ timestampMs: 88570,+ confidence: null,+ },+ {+ text: ' our',+ startMs: 88720,+ endMs: 89100,+ timestampMs: 88910,+ confidence: null,+ },+ {+ text: ' tool,',+ startMs: 89100,+ endMs: 89840,+ timestampMs: 89470,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: '',+ startMs: 90020,+ endMs: 90300,+ timestampMs: 90160,+ confidence: null,+ },+ {+ text: '',+ startMs: 90300,+ endMs: 90600,+ timestampMs: 90450,+ confidence: null,+ },+ {+ text: '',+ startMs: 90600,+ endMs: 90760,+ timestampMs: 90680,+ confidence: null,+ },+ {+ text: '',+ startMs: 90760,+ endMs: 90920,+ timestampMs: 90840,+ confidence: null,+ },+ {+ text: '',+ startMs: 90920,+ endMs: 91220,+ timestampMs: 91070,+ confidence: null,+ },+ {+ text: '',+ startMs: 91220,+ endMs: 91400,+ timestampMs: 91310,+ confidence: null,+ pageBreakAfter: true,+ },+ ]}+ />+ </AbsoluteFill>+ );+};++export const PresenterNarration = Interactive.withSchema({+ Component: PresenterNarrationContent,+ componentName: 'PresenterNarration',+ schema: {},+ wrapInSequence: true,+});diff --git a/packages/jonnys-videos/src/plane-sight/Root.tsx b/packages/jonnys-videos/src/plane-sight/Root.tsxnew file mode 100644index 0000000000..67074ca21f--- /dev/null+++ b/packages/jonnys-videos/src/plane-sight/Root.tsx@@ -0,0 +1,254 @@+import {Composition, Folder} from 'remotion';+import {AgentAirportSign} from './AgentAirportSign';+import {AirportAircraft} from './AirportAircraft';+import {AirportControlPanel} from './AirportControlPanel';+import {AirportLayout} from './AirportLayout';+import {AirportSignZoom} from './AirportSignZoom';+import {PlaneSightPromo} from './Composition';+import {EightAgentsIntro} from './EightAgentsIntro';+import {EntireCommitsBroll} from './EntireCommitsBroll';+import {EntireTrailsOverlay} from './EntireTrailsOverlay';+import {AirportDemo, AirportOverview, FiveAgentsIntro} from './FiveAgentDemo';+import {FlightCrewScene} from './FlightCrewScene';+import {FrontOfLineZoom} from './FrontOfLineZoom';+import {GeminiTowerScene} from './GeminiTowerScene';+import {HerdrGroundControl} from './HerdrGroundControl';+import {CloudCodePlane, OpenAirPlane, PixelAirlines} from './PixelAirlines';+import {PixelAirport} from './PixelAirport';+import {PlaneSightLogo} from './PlaneSightLogo';+import {PresenterNarration} from './PresenterNarration';+import {TaxiwayDependencies} from './TaxiwayDependencies';+import {TowerZoom} from './TowerZoom';++export const RemotionRoot: React.FC = () => {+ return (+ <>+ <Composition+ id="PlaneSightPromo"+ component={PlaneSightPromo}+ durationInFrames={2931}+ fps={30}+ width={1280}+ height={720}+ />+ <Composition+ id="PlaneSightLogo"+ component={PlaneSightLogo}+ durationInFrames={120}+ fps={30}+ width={1280}+ height={720}+ />+ <Composition+ id="FiveAgentsIntro"+ component={FiveAgentsIntro}+ durationInFrames={243}+ fps={30}+ width={1280}+ height={720}+ />+ <Composition+ id="AirportDemo"+ component={AirportDemo}+ durationInFrames={496}+ fps={30}+ width={1280}+ height={720}+ />+ <Composition+ id="AirportOverview"+ component={AirportOverview}+ durationInFrames={1200}+ fps={30}+ width={1280}+ height={720}+ />+ <Composition+ id="TaxiwayDependencies"+ component={TaxiwayDependencies}+ durationInFrames={176}+ fps={30}+ width={1280}+ height={720}+ />+ <Composition+ id="AirportSignZoom"+ component={AirportSignZoom}+ durationInFrames={220}+ fps={30}+ width={1280}+ height={720}+ />+ <Composition+ id="GeminiTowerScene"+ component={GeminiTowerScene}+ durationInFrames={374}+ fps={30}+ width={1280}+ height={720}+ />+ <Composition+ id="HerdrGroundControl"+ component={HerdrGroundControl}+ durationInFrames={252}+ fps={30}+ width={1280}+ height={720}+ />+ <Composition+ id="TowerZoom"+ component={TowerZoom}+ durationInFrames={62}+ fps={30}+ width={1280}+ height={720}+ defaultProps={{afterHerdr: false}}+ />+ <Composition+ id="EntireTrailsOverlay"+ component={EntireTrailsOverlay}+ durationInFrames={45}+ fps={30}+ width={1280}+ height={720}+ />+ <Composition+ id="FrontOfLineZoom"+ component={FrontOfLineZoom}+ durationInFrames={91}+ fps={30}+ width={1280}+ height={720}+ />+ <Composition+ id="EntireCommitsBroll"+ component={EntireCommitsBroll}+ durationInFrames={169}+ fps={30}+ width={1280}+ height={720}+ />+ <Composition+ id="EightAgentsIntro"+ component={EightAgentsIntro}+ durationInFrames={243}+ fps={30}+ width={1280}+ height={720}+ />+ <Composition+ id="AgentAirportSign"+ component={AgentAirportSign}+ durationInFrames={120}+ fps={30}+ width={1280}+ height={720}+ />+ <Composition+ id="PresenterNarration"+ component={PresenterNarration}+ durationInFrames={2755}+ fps={30}+ width={1280}+ height={720}+ />+ <Composition+ id="FlightCrewScene"+ component={FlightCrewScene}+ durationInFrames={297}+ fps={30}+ width={1280}+ height={720}+ />+ <Folder name="Pixel-Airlines">+ <Composition+ id="AirportControlPanel"+ component={AirportControlPanel}+ durationInFrames={420}+ fps={30}+ width={1280}+ height={720}+ />+ <Composition+ id="AirportAircraft"+ component={AirportAircraft}+ durationInFrames={120}+ fps={30}+ width={192}+ height={332}+ defaultProps={{+ width: null,+ height: null,+ airline: 'Cloud Code',+ airframe: 'narrowbody',+ heading: 90,+ labelPosition: 'above',+ status: 'Build failed · urgent',+ priority: true,+ altitude: 0,+ }}+ />+ <Composition+ id="PixelAirport"+ component={PixelAirport}+ durationInFrames={1980}+ fps={30}+ width={1280}+ height={720}+ />+ <Composition+ id="AirportLayout"+ component={AirportLayout}+ durationInFrames={1980}+ fps={30}+ width={1280}+ height={720}+ />+ <Composition+ id="PixelAirlines"+ component={PixelAirlines}+ durationInFrames={180}+ fps={30}+ width={1280}+ height={720}+ />+ <Composition+ id="CloudCodePlane"+ component={CloudCodePlane}+ durationInFrames={180}+ fps={30}+ width={1280}+ height={720}+ defaultProps={{airframe: 'narrowbody', width: null, height: null}}+ />+ <Composition+ id="OpenAirPlane"+ component={OpenAirPlane}+ durationInFrames={180}+ fps={30}+ width={1280}+ height={720}+ defaultProps={{airframe: 'narrowbody', width: null, height: null}}+ />+ <Composition+ id="CloudCodeWidebody"+ component={CloudCodePlane}+ durationInFrames={180}+ fps={30}+ width={1280}+ height={720}+ defaultProps={{airframe: 'widebody', width: null, height: null}}+ />+ <Composition+ id="OpenAirWidebody"+ component={OpenAirPlane}+ durationInFrames={180}+ fps={30}+ width={1280}+ height={720}+ defaultProps={{airframe: 'widebody', width: null, height: null}}+ />+ </Folder>+ </>+ );+};diff --git a/packages/jonnys-videos/src/plane-sight/TaxiwayDependencies.tsx b/packages/jonnys-videos/src/plane-sight/TaxiwayDependencies.tsxnew file mode 100644index 0000000000..b05a9de899--- /dev/null+++ b/packages/jonnys-videos/src/plane-sight/TaxiwayDependencies.tsx@@ -0,0 +1,46 @@+import {+ AbsoluteFill,+ CanvasImage,+ Easing,+ Interactive,+ type InteractiveTransformProps,+ interpolate,+ useCurrentFrame,+ useVideoConfig,+} from 'remotion';++const TaxiwayDependenciesContent = ({style}: InteractiveTransformProps) => {+ const frame = useCurrentFrame();+ const {fps} = useVideoConfig();++ return (+ <AbsoluteFill style={{overflow: 'hidden', ...style}}>+ <CanvasImage+ name="Zoom into the taxiway dependency queue"+ src={+ 'https://remotion.media/jonnys-videos/plane-sight/screenshots/five-agent-airport.png'+ }+ premountFor={fps}+ style={{+ width: '100%',+ height: '100%',+ objectFit: 'cover',+ transformOrigin: '52% 52%',+ scale: interpolate(frame, [0, 1.5 * fps], [1, 1.85], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ easing: Easing.bezier(0.42, 0, 0.3, 1),+ output: 'perceptual-scale',+ }),+ }}+ />+ </AbsoluteFill>+ );+};++export const TaxiwayDependencies = Interactive.withSchema({+ Component: TaxiwayDependenciesContent,+ componentName: 'TaxiwayDependencies',+ schema: {},+ wrapInSequence: true,+});diff --git a/packages/jonnys-videos/src/plane-sight/TowerZoom.tsx b/packages/jonnys-videos/src/plane-sight/TowerZoom.tsxnew file mode 100644index 0000000000..20ff80f5c6--- /dev/null+++ b/packages/jonnys-videos/src/plane-sight/TowerZoom.tsx@@ -0,0 +1,75 @@+import {+ AbsoluteFill,+ CanvasImage,+ Easing,+ Interactive,+ type InteractiveTransformProps,+ type InteractivitySchema,+ interpolate,+ useCurrentFrame,+ useVideoConfig,+} from 'remotion';++type TowerZoomProps = InteractiveTransformProps & {+ readonly afterHerdr: boolean;+};++const TowerZoomContent = ({style, afterHerdr}: TowerZoomProps) => {+ const frame = useCurrentFrame();+ const {fps} = useVideoConfig();++ return (+ <AbsoluteFill style={{overflow: 'hidden', ...style}}>+ <CanvasImage+ name="Air traffic controller — focus on the tower"+ src={+ afterHerdr+ ? 'https://remotion.media/jonnys-videos/plane-sight/screenshots/herdr-terminal-airport.png'+ : 'https://remotion.media/jonnys-videos/plane-sight/screenshots/five-agent-airport.png'+ }+ premountFor={fps}+ style={{+ width: '100%',+ height: '100%',+ objectFit: 'cover',+ imageRendering: 'pixelated',+ transformOrigin: '82% 34%',+ scale: interpolate(+ frame,+ [0, 0.9 * fps, 1.5 * fps, (61 / 30) * fps],+ [1, 3.2, 3.2, 1],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ easing: Easing.bezier(0.42, 0, 0.3, 1),+ output: 'perceptual-scale',+ },+ ),+ translate: interpolate(+ frame,+ [0, 0.9 * fps, 1.5 * fps, (61 / 30) * fps],+ ['0px 0px', '-341px 79px', '-341px 79px', '0px 0px'],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ easing: Easing.bezier(0.42, 0, 0.3, 1),+ },+ ),+ }}+ />+ </AbsoluteFill>+ );+};++export const TowerZoom = Interactive.withSchema({+ Component: TowerZoomContent,+ componentName: 'TowerZoom',+ schema: {+ afterHerdr: {+ type: 'boolean',+ default: false,+ description: 'Use the airport after the Herdr handoff',+ },+ } satisfies InteractivitySchema,+ wrapInSequence: true,+});diff --git a/packages/jonnys-videos/src/plane-sight/basic-captions.tsx b/packages/jonnys-videos/src/plane-sight/basic-captions.tsxnew file mode 100644index 0000000000..3c80630719--- /dev/null+++ b/packages/jonnys-videos/src/plane-sight/basic-captions.tsx@@ -0,0 +1,104 @@+import type {Caption} from '@remotion/captions';+import {createTikTokStyleCaptions} from '@remotion/captions';+import React, {useMemo} from 'react';+import {+ Interactive,+ useCurrentFrame,+ useVideoConfig,+ type InteractiveTransformProps,+ type InteractivitySchema,+ type SequenceProps,+} from 'remotion';++type BasicCaptionsProps = InteractiveTransformProps &+ Pick<SequenceProps, 'width'> & {+ readonly captions: Caption[];+ readonly combineTokensWithinMilliseconds: number | null;+ };++const defaultCombineTokensWithinMilliseconds = 3000;+const defaultWidth = 900;++const basicCaptionsSchema = {+ ...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 BasicCaptionsContent: React.FC<BasicCaptionsProps> = ({+ captions,+ combineTokensWithinMilliseconds,+ style,+ width = defaultWidth,+}) => {+ const frame = useCurrentFrame();+ const {fps} = useVideoConfig();+ const pages = useMemo(+ () =>+ createTikTokStyleCaptions({+ captions,+ combineTokensWithinMilliseconds:+ combineTokensWithinMilliseconds ??+ defaultCombineTokensWithinMilliseconds,+ }).pages,+ [captions, combineTokensWithinMilliseconds],+ );+ const currentTimeMs = (frame / fps) * 1000;+ const page = pages.find(+ (candidate) =>+ currentTimeMs >= candidate.startMs &&+ currentTimeMs < candidate.startMs + candidate.durationMs,+ );++ return (+ <div+ style={{+ alignItems: 'center',+ display: 'flex',+ justifyContent: 'center',+ width,+ ...style,+ }}+ >+ {page ? (+ <div+ style={{+ backgroundColor: 'rgba(64, 64, 64, 0.75)',+ color: '#ffffff',+ fontFamily: 'Arial, Helvetica, sans-serif',+ fontSize: 64,+ fontWeight: 400,+ lineHeight: 1.2,+ padding: '14px 22px',+ textAlign: 'center',+ textWrap: 'balance',+ whiteSpace: 'pre-wrap',+ }}+ >+ {page.text.trim()}+ </div>+ ) : null}+ </div>+ );+};++export const BasicCaptions = Interactive.withSchema({+ Component: BasicCaptionsContent,+ componentName: '<BasicCaptions>',+ schema: basicCaptionsSchema,+ wrapInSequence: true,+});