what will be the path to ffmpeg on linux server.......
whereis ffmpeg on the command line.
It might be in the bin, etc... It kinda depends where it got installed.
Use the find function to get it for sure.
If ffmpeg is in the path, use
which ffmpeg to find its path.
If it's not in the path, use
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
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.
locate ffmpeg may be a helpful command to try.
try 'locate', 'which', or 'whereis' ... If all fails, then 'find / | grep ffmpeg'