🎥 Make videos programmatically with React
temp
Jonny Burger7b3587973090
diff --git a/packages/cloudrun/src/gcpInstaller/gcpInstaller.tar b/packages/cloudrun/src/gcpInstaller/gcpInstaller.tarindex 3a25b51386..8d24fa64f8 100644Binary files a/packages/cloudrun/src/gcpInstaller/gcpInstaller.tar and b/packages/cloudrun/src/gcpInstaller/gcpInstaller.tar differdiff --git a/packages/compositor-darwin-arm64/remotion b/packages/compositor-darwin-arm64/remotionindex e6a3a56f4e..2c3990e775 100755Binary files a/packages/compositor-darwin-arm64/remotion and b/packages/compositor-darwin-arm64/remotion differdiff --git a/packages/example/runlambda.sh b/packages/example/runlambda.shindex e3579bcd93..f387a36893 100644--- a/packages/example/runlambda.sh+++ b/packages/example/runlambda.sh@@ -5,6 +5,6 @@ npm run buildlambdacd ..cd examplebunx remotion lambda functions rmall -f-bunx remotion lambda functions deploy --memory=3000 --disk=10000+bunx remotion lambda functions deploy --memory=3000 --disk=10000 --timeout=900bunx 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.tsxindex 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.tsxindex 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}/><Compositionid="video-testing-webm"