All Projects → ubergarm → zappa-ffmpeg

ubergarm / zappa-ffmpeg

Licence: MIT license
Run ffmpeg inside a lambda for serverless transformations.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to zappa-ffmpeg

zappa-slack-inviter
A server-less Slack inviter
Stars: ✭ 32 (+128.57%)
Mutual labels:  lambda, zappa
zappa-blog
A blog about Zappa, powered by Zappa. Zappa zappa zappa. Zappa.
Stars: ✭ 17 (+21.43%)
Mutual labels:  lambda, zappa
Zappa
Serverless Python
Stars: ✭ 11,859 (+84607.14%)
Mutual labels:  lambda, zappa
Prerendercloud Lambda Edge
Prerender CloudFront with this [email protected] function.
Stars: ✭ 200 (+1328.57%)
Mutual labels:  lambda
Knative Lambda Runtime
Running AWS Lambda Functions on Knative/Kubernetes Clusters
Stars: ✭ 201 (+1335.71%)
Mutual labels:  lambda
Komiser
☁️ Cloud Environment Inspector 👮🔒 💰
Stars: ✭ 2,684 (+19071.43%)
Mutual labels:  lambda
Spacesiren
A honey token manager and alert system for AWS.
Stars: ✭ 247 (+1664.29%)
Mutual labels:  lambda
Lambdapp
Anonymous functions in C
Stars: ✭ 195 (+1292.86%)
Mutual labels:  lambda
Kotlin In Action
《kotlin实战》翻译
Stars: ✭ 241 (+1621.43%)
Mutual labels:  lambda
Dapper.lnskydb
基于Dapper的LINQ扩展,支持Lambda表达式,支持按时间分库分表,也可以自定义分库分表方法,且实体类有T4模版自动生成.省去手写实体类的麻烦。已在实际项目使用
Stars: ✭ 228 (+1528.57%)
Mutual labels:  lambda
Serverless Chrome
🌐 Run headless Chrome/Chromium on AWS Lambda
Stars: ✭ 2,625 (+18650%)
Mutual labels:  lambda
Serverless Slack App
A Serverless.js Slack App Boilerplate with OAuth and Bot actions
Stars: ✭ 217 (+1450%)
Mutual labels:  lambda
Bless
Repository for BLESS, an SSH Certificate Authority that runs as a AWS Lambda function
Stars: ✭ 2,627 (+18664.29%)
Mutual labels:  lambda
Obscurify
Find out more about your music taste and compare it to others' with Obscurify
Stars: ✭ 200 (+1328.57%)
Mutual labels:  lambda
Aws Etl Orchestrator
A serverless architecture for orchestrating ETL jobs in arbitrarily-complex workflows using AWS Step Functions and AWS Lambda.
Stars: ✭ 245 (+1650%)
Mutual labels:  lambda
Aws Mobile React Native Starter
AWS Mobile React Native Starter App https://aws.amazon.com/mobile
Stars: ✭ 2,247 (+15950%)
Mutual labels:  lambda
Mercury Parser Api
🚀 A drop-in replacement for the Mercury Parser API.
Stars: ✭ 239 (+1607.14%)
Mutual labels:  lambda
Streamalert
StreamAlert is a serverless, realtime data analysis framework which empowers you to ingest, analyze, and alert on data from any environment, using datasources and alerting logic you define.
Stars: ✭ 2,634 (+18714.29%)
Mutual labels:  lambda
Serverless Analytics
Track website visitors with Serverless Analytics using Kinesis, Lambda, and TypeScript.
Stars: ✭ 219 (+1464.29%)
Mutual labels:  lambda
Algnhsa
AWS Lambda Go net/http server adapter
Stars: ✭ 226 (+1514.29%)
Mutual labels:  lambda

ffmpeg-lambda

Run ffmpeg inside a lambda for serverless transformations.

Static Binaries

Grab the x86_64 build files from ffmpeg static builds.

Put ffmpeg static binary into into the bin subdirectory and delete everything else.

Dev

pip install zappa flask
# export AWS secret/key/region etc
zappa init
zappa deploy dev
# make changes as needed
zappa update dev
# watch logs
zappa tail dev

Production

Keep in mind limitations of lambda e.g. max runtime, CPU, and RAM etc. You may need/want to add the following to your zappa_settings.json

"binary_support": true,
"cors": true,

Todo

  • production deploy
  • ssl
  • streaming response
  • better logging based on debug level
  • standardize on JSON response for all errors/version endpoints etc

Implications

You can stick almost any smallish x86_64 statically compiled binary e.g. golang etc into bin and call it via http! Cheers!

Notes

I haven't implemented actual useful transformations in this version. Sorry. Just pass arguments and keep in mind that ffmpeg can read in http streams directly or use stdin and stdout.

References

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].