🎥 Make videos programmatically with React
add more debugging info
Jonny Burger5e3217098ffb
diff --git a/packages/lambda/remotionlambda.zip b/packages/lambda/remotionlambda.zipindex 80f4ecdc76..9dd7b2af6a 100644Binary files a/packages/lambda/remotionlambda.zip and b/packages/lambda/remotionlambda.zip differdiff --git a/packages/lambda/src/api/deploy-function.ts b/packages/lambda/src/api/deploy-function.tsindex 0454536db4..11835aab0d 100644--- a/packages/lambda/src/api/deploy-function.ts+++ b/packages/lambda/src/api/deploy-function.ts@@ -30,7 +30,7 @@ export const deployFunction = async (options: {validateTimeout(options.timeoutInSeconds);validateAwsRegion(options.region);- const fnNameRender = `${RENDER_FN_PREFIX}-${CURRENT_VERSION}-${options.memorySizeInMb}mb-${options.timeoutInSeconds}sec`;+ const fnNameRender = `${RENDER_FN_PREFIX}${CURRENT_VERSION}-${options.memorySizeInMb}mb-${options.timeoutInSeconds}sec`;const accountId = await getAccountId({region: options.region});const fns = await getFunctions({diff --git a/packages/lambda/src/functions/helpers/concat-videos.ts b/packages/lambda/src/functions/helpers/concat-videos.tsindex bac29942cb..c83dd6ac78 100644--- a/packages/lambda/src/functions/helpers/concat-videos.ts+++ b/packages/lambda/src/functions/helpers/concat-videos.ts@@ -99,7 +99,13 @@ const getAllFilesS3 = async ({const checkFinish = () => {const areAllFilesDownloaded =Object.keys(downloaded).length === expectedFiles;+ console.log(+ 'Checking for finish... ',+ Object.keys(downloaded),+ expectedFiles + ' files expected'+ );if (areAllFilesDownloaded) {+ console.log('All files are downloaded!');resolve(filesInBucket.map((file) =>getChunkDownloadOutputLocation({outdir, file})@@ -108,6 +114,8 @@ const getAllFilesS3 = async ({}};+ console.log('Found ', filesInBucket);+filesInBucket.forEach(async (key) => {if (alreadyDownloading[key]) {return;@@ -123,6 +131,7 @@ const getAllFilesS3 = async ({region,expectedBucketOwner,});+ console.log('Successfully downloaded', key);downloadTimer.end();downloaded[key] = true;checkFinish();diff --git a/packages/lambda/src/shared/constants.ts b/packages/lambda/src/shared/constants.tsindex c1ff0eab11..f3284de3f7 100644--- a/packages/lambda/src/shared/constants.ts+++ b/packages/lambda/src/shared/constants.ts@@ -266,6 +266,7 @@ export type RenderMetadata = {};export type LambdaVersions =+ | '2021-12-16'| '2021-12-15'| '2021-12-14'| '2021-12-13'@@ -298,7 +299,7 @@ export type LambdaVersions =| '2021-06-23'| 'n/a';-export const CURRENT_VERSION: LambdaVersions = '2021-12-15';+export const CURRENT_VERSION: LambdaVersions = '2021-12-16';export type PostRenderData = {cost: {