0.0.11 • Published 4 days ago

remotion-sst v0.0.11

Weekly downloads
-
License
-
Repository
github
Last release
4 days ago

Remotion SST

The easiest way to deploy Remotion Lambda to AWS with SST/Pulumi and use in your applications.

Installation

npm install remotion-sst

Usage

See the example (deployed here), or the standalone example (another repo without all the library code)

// sst.config.ts
const remotion = new RemotionLambda("Remotion", {
  path: "packages/remotion",
});
new sst.aws.Astro("Client", {
  path: "packages/client",
  link: [remotion],
});
// render.ts
import { Resource } from "sst";

const res = await renderMediaOnLambda({
  functionName: Resource.Remotion.functionName,
  serveUrl: Resource.Remotion.siteUrl,
  forceBucketName: Resource.Remotion.bucketName,
  region: Resource.Remotion.region,
  composition: "HelloWorld",
  codec: "h264",
});

Contact

If you need assistance with creating Remotion videos or web development, I also offer contract work. Feel free to reach out to me at karel@asius.ai for any inquiries or help you might need.