karelnagel / remotion-sst

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

Home Page:https://remotion-sst.asius.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

https://remotion-sst.asius.ai

License:MIT License


Languages

Language:TypeScript 94.1%Language:Astro 5.0%Language:CSS 0.9%