path to ffmpeg in linux hosting server

Try whereis ffmpeg on the command line.


If ffmpeg is in the path, use which ffmpeg to find its path.

If it's not in the path, use locate ffmpeg.

The fact that it's a server should not change the path where it is installed if you installed it with packages, so it should probably be in /usr/bin/ffmpeg.


It might be in the bin, etc... It kinda depends where it got installed.

Use the find function to get it for sure.


On a hosted Linux server, it may not even be installed. Probably depends on your hosting package.

But if it is installed, /usr/bin (for the executable) and /usr/lib (for the libraries) would be the first place I'd look.

Also, locate ffmpeg may be a helpful command to try.