Reputation: 1
"I'm using Remotion, but when I try to deploy a Remotion template, Remotion Studio gets deployed instead of the template. Is it necessary to deploy Remotion Studio to an S3 bucket, or can I just deploy Remotion Player and still perform the rendering?"
"I followed the Remotion documentation to deploy my project, expecting the specific Remotion template to be deployed. However, instead of deploying just the template, Remotion Studio was also deployed. I tried to configure the deployment process to exclude Remotion Studio, but I couldn't find a way to do so."
Upvotes: 0
Views: 49
Reputation: 1
The remotion studio is what should be deployed and that's what remotion uses to render a video when you're ready to export it. That becomes where the serverUrl
points to when rendering your video.
const { bucketName, renderId } = await renderMediaOnLambda({
composition,
serveUrl: <THIS IS WHERE YOUR DEPLOYED URL WOULD GO>,
codec: "h264",
inputProps: {
foo: "bar"
},
region: AWS_REGION,
functionName,
deleteAfter: "7-days",
privacy: "private",
maxRetries: 5,
logLevel: "verbose",
});
Upvotes: 0