🎥 Make videos programmatically with React
nice
Jonny Burger6d9d98d84aea
diff --git a/packages/docs/docs/lambda/python.mdx b/packages/docs/docs/lambda/python.mdxindex bd90cf06bb..1816dadb54 100644--- a/packages/docs/docs/lambda/python.mdx+++ b/packages/docs/docs/lambda/python.mdx@@ -14,7 +14,7 @@ You first need to [complete the Lambda setup](/docs/lambda/setup).## Limitations-~~Sending large input props (>200KB) is not supported with Python at the moment.~~ _available from v4.0.315_+Before v4.0.315: Sending large input props (>200KB) was not supported.Starting from v4.0.315, the Python SDK automatically handles large input props by uploading them to S3 when they exceed AWS Lambda payload limits. Props larger than 200KB for video renders and 5MB for still renders are automatically compressed using the same logic as the JavaScript SDK. The SDK will automatically find or create an appropriate S3 bucket following Remotion's naming conventions.diff --git a/packages/example/testlambdaintegrations.mjs b/packages/example/testlambdaintegrations.mjsindex b2a741ee95..930fceca84 100644--- a/packages/example/testlambdaintegrations.mjs+++ b/packages/example/testlambdaintegrations.mjs@@ -10,12 +10,25 @@ const functionName = execSync(.trim().split(' ')[0];+console.log('=== Python(render media) ===');+execSync(`python testclient_render_media.py`, {+ env: {+ // eslint-disable-next-line no-undef+ ...process.env,+ REMOTION_APP_REGION: 'us-east-1',+ REMOTION_APP_FUNCTION_NAME: functionName,+ REMOTION_APP_SERVE_URL: 'testbed-v6',+ },+ cwd: '../lambda-python',+ stdio: 'inherit',+});+console.log('=== Golang ===');execSync(`go run main.go`, {env: {// eslint-disable-next-line no-undef...process.env,- REMOTION_APP_REGION: 'eu-central-1',+ REMOTION_APP_REGION: 'us-east-1',REMOTION_APP_FUNCTION_NAME: functionName,REMOTION_APP_SERVE_URL: 'testbed-v6',},@@ -31,7 +44,7 @@ execSync(`bundle exec ruby test_render_spec_still.rb`, {env: {// eslint-disable-next-line no-undef...process.env,- REMOTION_APP_REGION: 'eu-central-1',+ REMOTION_APP_REGION: 'us-east-1',REMOTION_APP_FUNCTION_NAME: functionName,REMOTION_APP_SERVE_URL: 'testbed-v6',},@@ -44,7 +57,7 @@ execSync(`bundle exec ruby test_render_spec_media.rb`, {env: {// eslint-disable-next-line no-undef...process.env,- REMOTION_APP_REGION: 'eu-central-1',+ REMOTION_APP_REGION: 'us-east-1',REMOTION_APP_FUNCTION_NAME: functionName,REMOTION_APP_SERVE_URL: 'testbed-v6',},@@ -57,7 +70,7 @@ execSync(`php src/render.php`, {env: {// eslint-disable-next-line no-undef...process.env,- REMOTION_APP_REGION: 'eu-central-1',+ REMOTION_APP_REGION: 'us-east-1',REMOTION_APP_FUNCTION_NAME: functionName,REMOTION_APP_SERVE_URL: 'testbed-v6',},@@ -65,25 +78,12 @@ execSync(`php src/render.php`, {stdio: 'inherit',});-console.log('=== Python(render media) ===');-execSync(`python testclient_render_media.py`, {- env: {- // eslint-disable-next-line no-undef- ...process.env,- REMOTION_APP_REGION: 'eu-central-1',- REMOTION_APP_FUNCTION_NAME: functionName,- REMOTION_APP_SERVE_URL: 'testbed-v6',- },- cwd: '../lambda-python',- stdio: 'inherit',-});-console.log('=== Python(render still) ===');execSync(`python testclient_render_still.py`, {env: {// eslint-disable-next-line no-undef...process.env,- REMOTION_APP_REGION: 'eu-central-1',+ REMOTION_APP_REGION: 'us-east-1',REMOTION_APP_FUNCTION_NAME: functionName,REMOTION_APP_SERVE_URL: 'testbed-v6',},diff --git a/packages/lambda-python/dev-requirements.txt b/packages/lambda-python/dev-requirements.txtindex e079f8a603..08f7b02b1f 100644--- a/packages/lambda-python/dev-requirements.txt+++ b/packages/lambda-python/dev-requirements.txt@@ -1 +1,2 @@pytest+dotenv\ No newline at end of filediff --git a/packages/lambda-ruby-example/Gemfile.lock b/packages/lambda-ruby-example/Gemfile.lockindex a3978d8547..e75019611b 100644--- a/packages/lambda-ruby-example/Gemfile.lock+++ b/packages/lambda-ruby-example/Gemfile.lock@@ -1,7 +1,7 @@PATHremote: ../lambda-rubyspecs:- remotion_lambda (4.0.288)+ remotion_lambda (4.0.314)aws-sdk-lambda (> 1.0.0)json (> 2.0.0)logger (> 1.0.0)@@ -9,23 +9,23 @@ PATHGEMremote: https://rubygems.org/specs:- aws-eventstream (1.3.2)- aws-partitions (1.1089.0)- aws-sdk-core (3.222.2)+ aws-eventstream (1.4.0)+ aws-partitions (1.1116.0)+ aws-sdk-core (3.225.2)aws-eventstream (~> 1, >= 1.3.0)aws-partitions (~> 1, >= 1.992.0)aws-sigv4 (~> 1.9)base64jmespath (~> 1, >= 1.6.1)logger- aws-sdk-lambda (1.148.0)- aws-sdk-core (~> 3, >= 3.216.0)+ aws-sdk-lambda (1.152.0)+ aws-sdk-core (~> 3, >= 3.225.0)aws-sigv4 (~> 1.5)- aws-sigv4 (1.11.0)+ aws-sigv4 (1.12.1)aws-eventstream (~> 1, >= 1.0.2)- base64 (0.2.0)+ base64 (0.3.0)jmespath (1.6.2)- json (2.10.2)+ json (2.12.2)logger (1.7.0)PLATFORMS