Where should I put FFMPEG?

1

1

I have installed ffmpeg and ffprobe, but they just appeared in my downloads folder. I should put them somewhere useful.

I am using macOS Sierra

What is the recommended place to put such downloads? I will then edit my bash $PATH to find them there.

tburrows13

Posted 2016-12-22T23:27:49.583

Reputation: 111

Question was closed 2017-01-14T22:00:12.543

Are you using them mostly with scripts or manually in the terminal? – llogan – 2016-12-23T00:21:40.750

I am only accessing it by a python subprocess command. For now, I have put it in usr/local/bin. – tburrows13 – 2016-12-23T10:22:03.803

Answers

1

/usr/local/bin is the standard location for your own binaries. It's in the default macOS PATH, however after /bin and /usr/bin. Binaries placed in /usr/local/bin won't override the standard macOS binaries. If you want to use binaries with the same names as default binaries, you should still use this location though and instead edit the PATH to place /usr/local/bin before the others.

grg

Posted 2016-12-22T23:27:49.583

Reputation: 1 499

There is no need to edit the PATH: doing so will not be beneficial because there should never be a ffmpeg binary in /bin or /usr/bin, and ffmpeg will never be a "standard macOS binary". Putting it in /usr/local/bin should be work just fine without messing around with the PATH. – llogan – 2016-12-23T18:59:53.277

@LordNeckbeard The question said "such downloads" which I inferred could mean any other binaries too. I've edited my answer to clarify though. – grg – 2016-12-23T19:01:15.523

I inferred the mentioned ffmpeg and ffprobe, but your edit clears up any potential confusion. – llogan – 2016-12-23T19:02:34.843

@LordNeckbeard That's fair, thanks for the help – grg – 2016-12-23T19:03:15.810