jrottenberg / ffmpeg

Docker build for FFmpeg on Ubuntu / Alpine / Centos / Scratch / nvidia / vaapi
https://hub.docker.com/r/jrottenberg/ffmpeg/
Apache License 2.0
1.38k stars 452 forks source link

Question: How i can use ffmpeg from other container? #263

Open approached opened 3 years ago

approached commented 3 years ago

Hi @ all,

i have php-fpm (webserver) container. After uploading a video i will use ffmpeg. But what is the best way to do that? Is that possible to use docker in docker?

jrottenberg commented 3 years ago

Hello !

php fpm should not be too bad to include on a ffmpeg base image, you can start FROM the ubuntu variant image, install php-fpm, your code and you have a working webapp with a fresh ffmpeg installation.