AWS Lambda for performing video conversions
Перейти к файлу
Geng Tan 479af8c1eb
Merge pull request #10 from mozilla/feature/turkey-docker
Feature/turkey docker
2022-02-26 16:12:13 -05:00
.github/workflows adding docker option for turkey 2022-02-21 21:39:35 -05:00
.eslintrc.js Add ffmpeg 2019-07-13 00:33:43 +00:00
.gitignore Deploy cycle working 2019-07-12 18:15:20 +00:00
.prettierrc.json Add ffmpeg 2019-07-13 00:33:43 +00:00
Dockerfile fix -- install ffmpeg 2022-02-22 09:00:34 -05:00
LICENSE WIP SAM transition 2019-12-23 19:42:27 +00:00
README.md Update README.md 2019-07-12 18:57:07 -07:00
app.js adding docker option for turkey 2022-02-21 21:39:35 -05:00
index.js Fix us-east-1 case when generating bucket URL 2019-12-30 06:39:48 +00:00
package-lock.json 0.1.2 2019-08-08 05:30:05 +00:00
package.json 0.1.2 2019-08-08 05:30:05 +00:00
polycosm-publish.sh Sam public 2019-12-28 00:23:37 +00:00
run-serverless.sh Add polycosm publisher script 2019-08-07 22:26:29 +00:00
serverless.prod.yml Add missing layer 2019-07-20 04:28:54 +00:00
serverless.public.yml ffprobe working 2019-07-12 23:56:10 +00:00
serverless.yml Working 2019-07-13 01:26:57 +00:00
template.yaml Add SAM template 2019-12-29 17:46:20 +00:00

README.md

speelycaptor

AWS Lambda for performing video conversions via ffmpeg

API:

  • GET /init to get a signed S3 URL to post a video to. Response is JSON with two keys, uploadUrl and key.
  • POST your video to uploadUrl.
  • GET /convert?key=<key from /init>&args=<ffmpeg args> will return JSON with url key with output

Relies upon https://github.com/serverlesspub/ffmpeg-aws-lambda-layer being deployed under the layer name ffmpeg (see https://github.com/mozilla/hubs-ops/blob/master/terraform/modules/speelycaptor/main.tf for relevant terraform)