Skip to content

🎥 Make videos programmatically with React

temp

Jonny Burger7b3587973090
diff --git a/packages/cloudrun/src/gcpInstaller/gcpInstaller.tar b/packages/cloudrun/src/gcpInstaller/gcpInstaller.tar
index 3a25b51386..8d24fa64f8 100644
Binary files a/packages/cloudrun/src/gcpInstaller/gcpInstaller.tar and b/packages/cloudrun/src/gcpInstaller/gcpInstaller.tar differ
diff --git a/packages/compositor-darwin-arm64/remotion b/packages/compositor-darwin-arm64/remotion
index e6a3a56f4e..2c3990e775 100755
Binary files a/packages/compositor-darwin-arm64/remotion and b/packages/compositor-darwin-arm64/remotion differ
diff --git a/packages/example/runlambda.sh b/packages/example/runlambda.sh
index e3579bcd93..f387a36893 100644
--- a/packages/example/runlambda.sh
+++ b/packages/example/runlambda.sh
@@ -5,6 +5,6 @@ npm run buildlambda
cd ..
cd example
bunx remotion lambda functions rmall -f
-bunx remotion lambda functions deploy --memory=3000 --disk=10000
+bunx remotion lambda functions deploy --memory=3000 --disk=10000 --timeout=900
bunx remotion lambda sites create --site-name=testbed-v6 --log=verbose --enable-folder-expiry
-bunx remotion lambda render testbed-v6 framer --log=verbose --delete-after="1-day"
+bunx remotion lambda render testbed-v6 OffthreadRemoteVideo --log=verbose --delete-after="1-day"
diff --git a/packages/example/src/OffthreadRemoteVideo/OffthreadRemoteVideo.tsx b/packages/example/src/OffthreadRemoteVideo/OffthreadRemoteVideo.tsx
index e031141478..5712b63bd1 100644
--- a/packages/example/src/OffthreadRemoteVideo/OffthreadRemoteVideo.tsx
+++ b/packages/example/src/OffthreadRemoteVideo/OffthreadRemoteVideo.tsx
@@ -1,8 +1,10 @@
-import {OffthreadVideo, staticFile} from 'remotion';
+import {Loop, OffthreadVideo, staticFile} from 'remotion';
export const OffthreadRemoteVideo: React.FC = () => {
return (
- <OffthreadVideo src="http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" />
+ <Loop durationInFrames={9.5 * 60 * 30}>
+ <OffthreadVideo src="http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" />
+ </Loop>
);
};
diff --git a/packages/example/src/Root.tsx b/packages/example/src/Root.tsx
index 46ea413861..c327cf97ed 100644
--- a/packages/example/src/Root.tsx
+++ b/packages/example/src/Root.tsx
@@ -535,7 +535,7 @@ export const Index: React.FC = () => {
width={1920}
height={1080}
fps={30}
- durationInFrames={30 * 60 * 8}
+ durationInFrames={30 * 60 * 60}
/>
<Composition
id="video-testing-webm"