jsxFardin / Remotion-video

https://www.remotion.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remotion video

Welcome to your TTS Remotion project!

Get Started

  • Create Azure Account
  • Create TTS service on Azure
  • Create AWS Account
  • Setup S3 Bucket with public access
    • Configure bucket policy
      {
      	"Version": "2008-10-17",
      	"Statement": [
      		{
      			"Sid": "AllowPublicRead",
      			"Effect": "Allow",
      			"Principal": {
      				"AWS": "*"
      			},
      			"Action": "s3:GetObject",
      			"Resource": "arn:aws:s3:::<YOUR-BUCKET-NAME>/*"
      		}
      	]
      }
    • Configure bucket CORS
      • Use it only as a template, we recommend you to edit "AllowedOrigins" entering your origin
      [
      	{
      		"AllowedHeaders": ["*"],
      		"AllowedMethods": ["HEAD", "GET", "PUT", "POST", "DELETE"],
      		"AllowedOrigins": ["*"],
      		"ExposeHeaders": ["ETag", "x-amz-meta-custom-header"]
      	}
      ]
  • Copy .env.example to .env entering your secrets
  • Use method textToSpeech from src/TextToSpeech/tts.ts to convert Text to Audio, this method will return file url, you can use it as source of <Audio /> component

Example

Remotion TTS example

Commands

Start Preview

npm start

Render video

npm run build

Server render demo

npm run server

See docs for server-side rendering here.

Upgrade Remotion

npm run upgrade

Docs

Get started with Remotion by reading the fundamentals page.

Issues

Found an issue with Remotion? File an issue here.

License

Notice that for some entities a company license is needed. Read the terms here.

About

https://www.remotion.dev/


Languages

Language:TypeScript 88.8%Language:Dockerfile 10.1%Language:Shell 1.1%