Hi team! I'm desperately trying to render my video with lambda.
The context:
- It works locally. Renders kinda fast, under a couple of minutes.
- I'm on Remotion
4.0.177 - I'm using videoTexture (a video is placed inside a 3D model):
Gist: https://gist.github.com/alexanderisora/9db12f99072c4f29f0046ee584dbe697 - These are my rendering settings:
const result = await renderMediaOnLambda({
codec: "h264",
functionName: speculateFunctionName({
diskSizeInMb: DISK,
memorySizeInMb: RAM,
timeoutInSeconds: TIMEOUT,
}),
timeoutInMilliseconds: 1500 * 1000, // limited by the lambda's timeout too: https://eu-north-1.console.aws.amazon.com/lambda/home?region=eu-north-1#/functions/remotion-render-4-0-177-mem2048mb-disk2048mb-120sec?tab=configure
// timeoutInSeconds: 900,
concurrencyPerLambda: 2,
region: REGION as AwsRegion,
serveUrl: LAMBDA_URL,
composition: body.id,
inputProps: body.inputProps,
framesPerLambda: 20,
logLevel: "verbose",
chromiumOptions: {
// gl: "angle",
},
downloadBehavior: {
type: "download",
fileName: "video.mp4",
},
});