🎥 Make videos programmatically with React
awesome
JonnyBurger4348ba10e3ee
diff --git a/packages/jonnys-videos/remotion.config.ts b/packages/jonnys-videos/remotion.config.tsindex d7b0d50fdf..265fe42380 100644--- a/packages/jonnys-videos/remotion.config.ts+++ b/packages/jonnys-videos/remotion.config.ts@@ -10,4 +10,6 @@ import {Config} from '@remotion/cli/config';Config.setVideoImageFormat('jpeg');Config.setOverwriteOutput(true);Config.setChromiumOpenGlRenderer('angle');+Config.setDefaultPremountInSeconds(2);Config.setExperimentalTracksEnabled(true);+Config.setShowPremounting(false);diff --git a/packages/jonnys-videos/src/roller-skis/Composition.tsx b/packages/jonnys-videos/src/roller-skis/Composition.tsxindex 737574e852..8f60a267fb 100644--- a/packages/jonnys-videos/src/roller-skis/Composition.tsx+++ b/packages/jonnys-videos/src/roller-skis/Composition.tsx@@ -266,7 +266,7 @@ export const PresenterIntroduction: React.FC = () => {objectFit="cover"effects={[lut({content: studioLut})]}from={25}- durationInFrames={188}+ durationInFrames={350}/><IntroLowerThirdname={'Lower Third'}@@ -654,14 +654,14 @@ const RollerSkiRoughCut: React.FC = () => {<Series><Series.Sequencename="Opening text"- durationInFrames={165}+ durationInFrames={185}premountFor={fps}><OpeningTitleCard /></Series.Sequence><Series.Sequencename="Presenter introduction (1)"- durationInFrames={192}+ durationInFrames={346}premountFor={fps}trimBefore={21}>diff --git a/packages/jonnys-videos/src/roller-skis/Root.tsx b/packages/jonnys-videos/src/roller-skis/Root.tsxindex b78ac514b7..2742679f18 100644--- a/packages/jonnys-videos/src/roller-skis/Root.tsx+++ b/packages/jonnys-videos/src/roller-skis/Root.tsx@@ -13,7 +13,7 @@ export const RemotionRoot: React.FC = () => {<Compositionid="PresenterIntroduction"component={PresenterIntroduction}- durationInFrames={213}+ durationInFrames={420}fps={30}width={1920}height={1080}diff --git a/packages/studio/src/components/StudioSettings.tsx b/packages/studio/src/components/StudioSettings.tsxindex 160fc3f56f..d016a71bb7 100644--- a/packages/studio/src/components/StudioSettings.tsx+++ b/packages/studio/src/components/StudioSettings.tsx@@ -463,65 +463,62 @@ export const StudioSettings: React.FC = () => {/></label></div>- <div style={optionRow}>- <div style={label}>- Hidden activity limit (experimental)- <InfoBubble- aria-label="About the hidden activity limit"- horizontalAlignment="right"- >- <div- style={{- padding: 12,- maxWidth: 280,- fontSize: 14,- lineHeight: 1.5,- }}+ {activitySettings.enabled ? (+ <div style={optionRow}>+ <div style={label}>+ Hidden activity limit (experimental)+ <InfoBubble+ aria-label="About the hidden activity limit"+ horizontalAlignment="right">- Limits nearby hidden scenes, including nested sequences and- their ancestors. Visible, premounted, and postmounted scenes- always render. Set to 0 to disable hidden discovery. Default:{' '}- {Internals.DEFAULT_SEQUENCE_ACTIVITY_LIMIT}.- </div>- </InfoBubble>- </div>- <div style={{...rightRow, gap: 6}}>- <InputDragger- aria-label="Hidden activity limit (experimental)"- buttonStyle={{textAlign: 'right', width: 140}}- formatter={String}- integerOnly- min={0}- onTextChange={() => undefined}- onValueChange={activitySettings.setLimit}- rightAlign- status="ok"- step={1}- value={activitySettings.limit}- />- <Button- disabled={- activitySettings.limit ===- Internals.DEFAULT_SEQUENCE_ACTIVITY_LIMIT- }- onClick={() =>- activitySettings.setLimit(- Internals.DEFAULT_SEQUENCE_ACTIVITY_LIMIT,- )- }- size="compact"- style={{color: LIGHT_TEXT}}- aria-label={`Reset hidden activity limit to ${Internals.DEFAULT_SEQUENCE_ACTIVITY_LIMIT}`}- >- <UndoIcon style={resetIcon} />- </Button>+ <div+ style={{+ padding: 12,+ maxWidth: 280,+ fontSize: 14,+ lineHeight: 1.5,+ }}+ >+ Limits nearby hidden scenes, including nested sequences and+ their ancestors. Visible, premounted, and postmounted scenes+ always render. Set to 0 to disable hidden discovery.+ Default: {Internals.DEFAULT_SEQUENCE_ACTIVITY_LIMIT}.+ </div>+ </InfoBubble>+ </div>+ <div style={{...rightRow, gap: 6}}>+ <InputDragger+ aria-label="Hidden activity limit (experimental)"+ buttonStyle={{textAlign: 'right', width: 140}}+ formatter={String}+ integerOnly+ min={0}+ onTextChange={() => undefined}+ onValueChange={activitySettings.setLimit}+ rightAlign+ status="ok"+ step={1}+ value={activitySettings.limit}+ />+ <Button+ disabled={+ activitySettings.limit ===+ Internals.DEFAULT_SEQUENCE_ACTIVITY_LIMIT+ }+ onClick={() =>+ activitySettings.setLimit(+ Internals.DEFAULT_SEQUENCE_ACTIVITY_LIMIT,+ )+ }+ size="compact"+ style={{color: LIGHT_TEXT}}+ aria-label={`Reset hidden activity limit to ${Internals.DEFAULT_SEQUENCE_ACTIVITY_LIMIT}`}+ >+ <UndoIcon style={resetIcon} />+ </Button>+ </div></div>- </div>- <div- style={{padding: '4px 16px 8px', color: LIGHT_TEXT, fontSize: 12}}- >- Activity settings save in this browser and apply immediately.- </div>+ ) : null}</>)}