If you want to install FFmpeg on your server you can check the following links:
How to install ffmpeg on Centos 7:
How to install ffmpeg on Centos 8:
How to install ffmpeg on Ubuntu:
How to install ffmpeg on debian:
Also you can back to your server admin or hosting support to install it for you.
Note: Don’t forget to enable shell_exec PHP function.