Where should I put FFMPEG?

6,068

/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.

Share:
6,068

Related videos on Youtube

Tom Burrows
Author by

Tom Burrows

Maintainer of moviepy tpmb.uk

Updated on September 18, 2022

Comments

  • Tom Burrows
    Tom Burrows over 1 year

    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.

    • Admin
      Admin over 7 years
      Are you using them mostly with scripts or manually in the terminal?
    • Admin
      Admin over 7 years
      I am only accessing it by a python subprocess command. For now, I have put it in usr/local/bin.
  • Elisa Cha Cha
    Elisa Cha Cha over 7 years
    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.
  • grg
    grg over 7 years
    @LordNeckbeard The question said "such downloads" which I inferred could mean any other binaries too. I've edited my answer to clarify though.
  • Elisa Cha Cha
    Elisa Cha Cha over 7 years
    I inferred the mentioned ffmpeg and ffprobe, but your edit clears up any potential confusion.