Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nicka/lambda-ffmpeg-docker
Image that (very closely) mimics the live AWS Lambda environment with FFmpeg support.
https://github.com/nicka/lambda-ffmpeg-docker
Last synced: 10 days ago
JSON representation
Image that (very closely) mimics the live AWS Lambda environment with FFmpeg support.
- Host: GitHub
- URL: https://github.com/nicka/lambda-ffmpeg-docker
- Owner: nicka
- Created: 2016-08-29T08:56:12.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-11-30T12:22:04.000Z (about 4 years ago)
- Last Synced: 2024-11-08T23:16:12.834Z (2 months ago)
- Language: Shell
- Size: 1.01 MB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker Lambda with FFmpeg
Image that (very closely) mimics the live AWS Lambda environment with FFmpeg support.
Based on the wonderful: https://hub.docker.com/r/lambci/lambda/
## Prerequisites
You'll need Docker installed
### Copy over compiled binaries to your Lambda package
```bash
id=$(docker create nicka/lambda-ffmpeg)
docker cp $id:/ffmpeg/binaries ../REPLACEME
docker cp $id:/usr/bin/ffmpeg ../REPLACEME/
docker cp $id:/usr/bin/ffprobe ../REPLACEME/
docker rm -v $id
```### Test object within Lambda like environment
Be sure to create a `.env.aws` file.
```
docker run --env-file .env.aws nickdenengelsman/lambda-ffmpeg (samples|tracks|revisions) 07cdf0c8-bed0-4531-bafb-703b74410ac5 (aac|wav|m4a|ogg|mp3)
```### TODO's
- [ ] Make `libx265` compiling work