I found only one other question on here related to installing ffmpeg on app platform and the answer which seemed to actually satisfy the question said to deploy using a Dockerfile / Container Image for the app and add the installation of ffmpeg using apt as a RUN command in the Dockerfile.
I am currently running a production PHP app in app platform using github push to deploy without a custom Dockerfile in the repo, and ideally, I would like to continue with this deployment process for the app.
Is there any means that I could have ffmpeg installed and made available to my production PHP github deployed app? Or is the only way to install ffmpeg via a custom Dockerfile / Container Image deploy process?
I realize that I can place a Dockerfile in the github repo itself and still use push to deploy to a branch that way, but if possible I would like to avoid using a custom Dockerfile for this production PHP app and continue with things as I am doing them now with the autodetection on deploy of it being a PHP app from the composer.json file.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hello! So this might not be the prettiest solution but I managed to do this with a
run_commandand downloading ffmpeg manually and adding it to the path in line.
You can probably do this in a script
setup.shor similar but for simplicties sake I did it with the sample-php app and inline with the command that starts it.
Here was my
The instructions on how to install I found here: https://gist.github.com/jmsaavedra/62bbcd20d40bcddf27ac
and I had to modify them because the link presented in the gist 404’ed. I found the links to download ffmpeg from: https://ffmpeg.org/download.html
Which when you click the static binaries it redirects you to https://johnvansickle.com/ffmpeg/.