{"id":21982374,"url":"https://github.com/ubergarm/zappa-ffmpeg","last_synced_at":"2025-04-30T05:22:26.660Z","repository":{"id":70939158,"uuid":"100757585","full_name":"ubergarm/zappa-ffmpeg","owner":"ubergarm","description":"Run ffmpeg inside a lambda for serverless transformations.","archived":false,"fork":false,"pushed_at":"2017-08-18T23:41:14.000Z","size":2,"stargazers_count":15,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T13:04:08.447Z","etag":null,"topics":["demoware","lambda","serverless","zappa"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ubergarm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-18T23:39:34.000Z","updated_at":"2023-02-15T07:45:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"ee871ae3-05ef-44b4-befa-8bb0154f2240","html_url":"https://github.com/ubergarm/zappa-ffmpeg","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ubergarm%2Fzappa-ffmpeg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ubergarm%2Fzappa-ffmpeg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ubergarm%2Fzappa-ffmpeg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ubergarm%2Fzappa-ffmpeg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ubergarm","download_url":"https://codeload.github.com/ubergarm/zappa-ffmpeg/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251645988,"owners_count":21620848,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["demoware","lambda","serverless","zappa"],"created_at":"2024-11-29T17:27:31.708Z","updated_at":"2025-04-30T05:22:26.654Z","avatar_url":"https://github.com/ubergarm.png","language":"Python","readme":"ffmpeg-lambda\n===\nRun ffmpeg inside a lambda for serverless transformations.\n\n## Static Binaries\nGrab the `x86_64 build` files from [ffmpeg static builds](https://www.johnvansickle.com/ffmpeg/).\n\nPut `ffmpeg` static binary into into the `bin` subdirectory and delete everything else.\n\n## Dev\n```bash\npip install zappa flask\n# export AWS secret/key/region etc\nzappa init\nzappa deploy dev\n# make changes as needed\nzappa update dev\n# watch logs\nzappa tail dev\n```\n\n## Production\nKeep in mind limitations of lambda e.g. max runtime, CPU, and RAM etc.\nYou may need/want to add the following to your `zappa_settings.json`\n```\n\"binary_support\": true,\n\"cors\": true,\n```\n\n## Todo\n- [ ] production deploy\n- [ ] ssl\n- [x] streaming response\n- [ ] better logging based on debug level\n- [ ] standardize on JSON response for all errors/version endpoints etc\n\n## Implications\nYou can stick almost any smallish `x86_64` statically compiled binary\ne.g. `golang` etc into `bin` and call it via http! Cheers!\n\n## Notes\nI haven't implemented actual useful transformations in this\nversion. Sorry. Just pass arguments and keep in mind that ffmpeg\ncan read in http streams directly or use `stdin` and `stdout`.\n\n## References\n* [Miserlou/Zappa](https://github.com/Miserlou/Zappa)\n* [ubergarm/pythumbio](https://github.com/ubergarm/pythumbio)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fubergarm%2Fzappa-ffmpeg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fubergarm%2Fzappa-ffmpeg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fubergarm%2Fzappa-ffmpeg/lists"}