4

what will be the path to ffmpeg on linux server.......

user31055
  • 151
  • 1
  • 1
  • 3

5 Answers5

9

Try whereis ffmpeg on the command line.

Pekka
  • 2,178
  • 3
  • 20
  • 32
  • +1 because whereis is cool ( http://linux.about.com/library/cmd/blcmdl1_whereis.htm ). Thought ffmpeg needs to be listed as a command in order for it to work isn't it? – marcgg Dec 29 '09 at 11:15
  • 3
    Yes, but `which ffmpeg` is faster to just find the path of a binary :-) – raphink Dec 29 '09 at 17:51
5

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.

raphink
  • 11,987
  • 6
  • 37
  • 48
3

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

Use the find function to get it for sure.

marcgg
  • 161
  • 1
  • 3
  • 11
1

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.

Adam Luchjenbroers
  • 228
  • 1
  • 2
  • 11
1

try 'locate', 'which', or 'whereis' ... If all fails, then 'find / | grep ffmpeg'

joet3ch
  • 262
  • 1
  • 7