Containerized fully static compiled FFmpeg binary with AOM AV1 Codec and provided with a sample containerized Node.js application leveraging FFmpeg to process videos.
docker build -t ffmpeg-exec -f ffmpeg.Dockerfile .
docker build -t node-media-transcoder .
docker run --rm -v "${PWD}/data:/data" node-media-transcoder -i /data/sample_0.mp4 -c av1
- Force build in order
DOCKER_BUILDKIT=0 docker-compose build
- Alternatively build
ffmpeg
beforehand
docker compose build ffmpeg
docker compose build
docker compose run media-transcoder -i /data/sample_0.mp4 -c av1