This repo demonstrates how to run FFmpeg inside Docker. It replicates the blog How to run FFmpeg inside a docker container.
ffmpeg-docker-guide/
│
├── README.md # This file
├── Dockerfile # Example custom image
├── examples/
│ ├── run_prebuilt.sh # Script for prebuilt image workflow
│ ├── run_custom.sh # Script for custom Dockerfile workflow
└── media/
└── sample.mp4 # Optional sample input file
Making Scripts Executable
If you clone this repo, you may need to grant execute permissions to the helper scripts:
chmod +x examples/*.sh
Then run them directly:
./examples/run_prebuilt.sh
./examples/run_custom.sh